import type {FieldsSelection,Observable} from '@genql/runtime'

export type Scalars = {
    Boolean: boolean,
    Float: number,
    Int: number,
    String: string,
    _uuid: string,
    bigint: number,
    bpchar: string,
    date: string,
    jsonb: unknown,
    smallint: number,
    timestamptz: string,
    uuid: string,
}


/** columns and relationships of "DocKladd_properties" */
export interface DocKladd_properties {
    active: Scalars['Boolean']
    customer_id: Scalars['uuid']
    id: Scalars['Int']
    __typename: 'DocKladd_properties'
}


/** aggregated selection of "DocKladd_properties" */
export interface DocKladd_properties_aggregate {
    aggregate?: DocKladd_properties_aggregate_fields
    nodes: DocKladd_properties[]
    __typename: 'DocKladd_properties_aggregate'
}


/** aggregate fields of "DocKladd_properties" */
export interface DocKladd_properties_aggregate_fields {
    avg?: DocKladd_properties_avg_fields
    count: Scalars['Int']
    max?: DocKladd_properties_max_fields
    min?: DocKladd_properties_min_fields
    stddev?: DocKladd_properties_stddev_fields
    stddev_pop?: DocKladd_properties_stddev_pop_fields
    stddev_samp?: DocKladd_properties_stddev_samp_fields
    sum?: DocKladd_properties_sum_fields
    var_pop?: DocKladd_properties_var_pop_fields
    var_samp?: DocKladd_properties_var_samp_fields
    variance?: DocKladd_properties_variance_fields
    __typename: 'DocKladd_properties_aggregate_fields'
}


/** aggregate avg on columns */
export interface DocKladd_properties_avg_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_avg_fields'
}


/** unique or primary key constraints on table "DocKladd_properties" */
export type DocKladd_properties_constraint = 'DocKladd_properties_pkey'


/** aggregate max on columns */
export interface DocKladd_properties_max_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['Int']
    __typename: 'DocKladd_properties_max_fields'
}


/** aggregate min on columns */
export interface DocKladd_properties_min_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['Int']
    __typename: 'DocKladd_properties_min_fields'
}


/** response of any mutation on the table "DocKladd_properties" */
export interface DocKladd_properties_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: DocKladd_properties[]
    __typename: 'DocKladd_properties_mutation_response'
}


/** select columns of table "DocKladd_properties" */
export type DocKladd_properties_select_column = 'active' | 'customer_id' | 'id'


/** aggregate stddev on columns */
export interface DocKladd_properties_stddev_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface DocKladd_properties_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface DocKladd_properties_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface DocKladd_properties_sum_fields {
    id?: Scalars['Int']
    __typename: 'DocKladd_properties_sum_fields'
}


/** update columns of table "DocKladd_properties" */
export type DocKladd_properties_update_column = 'active' | 'customer_id' | 'id'


/** aggregate var_pop on columns */
export interface DocKladd_properties_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface DocKladd_properties_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_var_samp_fields'
}


/** aggregate variance on columns */
export interface DocKladd_properties_variance_fields {
    id?: Scalars['Float']
    __typename: 'DocKladd_properties_variance_fields'
}


/** columns and relationships of "DocKladd_questions" */
export interface DocKladd_questions {
    customer_id: Scalars['uuid']
    id: Scalars['String']
    /** An object relationship */
    query: queries
    query_id: Scalars['uuid']
    question_id: Scalars['uuid']
    __typename: 'DocKladd_questions'
}


/** aggregated selection of "DocKladd_questions" */
export interface DocKladd_questions_aggregate {
    aggregate?: DocKladd_questions_aggregate_fields
    nodes: DocKladd_questions[]
    __typename: 'DocKladd_questions_aggregate'
}


/** aggregate fields of "DocKladd_questions" */
export interface DocKladd_questions_aggregate_fields {
    count: Scalars['Int']
    max?: DocKladd_questions_max_fields
    min?: DocKladd_questions_min_fields
    __typename: 'DocKladd_questions_aggregate_fields'
}


/** unique or primary key constraints on table "DocKladd_questions" */
export type DocKladd_questions_constraint = 'DocKladd_questions_pkey'


/** aggregate max on columns */
export interface DocKladd_questions_max_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['String']
    query_id?: Scalars['uuid']
    question_id?: Scalars['uuid']
    __typename: 'DocKladd_questions_max_fields'
}


/** aggregate min on columns */
export interface DocKladd_questions_min_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['String']
    query_id?: Scalars['uuid']
    question_id?: Scalars['uuid']
    __typename: 'DocKladd_questions_min_fields'
}


/** response of any mutation on the table "DocKladd_questions" */
export interface DocKladd_questions_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: DocKladd_questions[]
    __typename: 'DocKladd_questions_mutation_response'
}


/** select columns of table "DocKladd_questions" */
export type DocKladd_questions_select_column = 'customer_id' | 'id' | 'query_id' | 'question_id'


/** update columns of table "DocKladd_questions" */
export type DocKladd_questions_update_column = 'customer_id' | 'id' | 'query_id' | 'question_id'

export type NotificationInputServiceEnum = 'ANONYMOUS_QNR' | 'ASYNC_CHAT' | 'CALENDAR' | 'NOTIFICATION' | 'PACKAGE' | 'QUERY_SCHEDULE'

export type NotificationInputTriggerEnum = 'chat_ticket_reminder' | 'insert_calendar_event_attendee' | 'insert_calendar_event_organizer' | 'insert_query_schedule' | 'insert_ticket_message' | 'insert_ticket_user' | 'no_trigger'

export interface NotificationOutput {
    ids: Scalars['String'][]
    message?: (Scalars['String'] | undefined)[]
    __typename: 'NotificationOutput'
}

export interface SmsOutput {
    success: Scalars['String']
    __typename: 'SmsOutput'
}


/** columns and relationships of "accessible" */
export interface accessible {
    comment?: Scalars['String']
    name: Scalars['String']
    /** An array relationship */
    templates: templates[]
    /** An aggregate relationship */
    templates_aggregate: templates_aggregate
    __typename: 'accessible'
}


/** aggregated selection of "accessible" */
export interface accessible_aggregate {
    aggregate?: accessible_aggregate_fields
    nodes: accessible[]
    __typename: 'accessible_aggregate'
}


/** aggregate fields of "accessible" */
export interface accessible_aggregate_fields {
    count: Scalars['Int']
    max?: accessible_max_fields
    min?: accessible_min_fields
    __typename: 'accessible_aggregate_fields'
}


/** unique or primary key constraints on table "accessible" */
export type accessible_constraint = 'accessible_pkey'

export type accessible_enum = 'CUSTOMER' | 'PATIENT'


/** aggregate max on columns */
export interface accessible_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'accessible_max_fields'
}


/** aggregate min on columns */
export interface accessible_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'accessible_min_fields'
}


/** response of any mutation on the table "accessible" */
export interface accessible_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: accessible[]
    __typename: 'accessible_mutation_response'
}


/** select columns of table "accessible" */
export type accessible_select_column = 'comment' | 'name'


/** update columns of table "accessible" */
export type accessible_update_column = 'comment' | 'name'


/** permissions for therapist to access recipient */
export interface adopus_AdgangLinjer {
    Adgangkode: Scalars['smallint']
    BrukerNavn: Scalars['String']
    Fradato?: Scalars['timestamptz']
    SoknadId: Scalars['String']
    Tildato?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    __typename: 'adopus_AdgangLinjer'
}


/** aggregated selection of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate {
    aggregate?: adopus_AdgangLinjer_aggregate_fields
    nodes: adopus_AdgangLinjer[]
    __typename: 'adopus_AdgangLinjer_aggregate'
}


/** aggregate fields of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate_fields {
    avg?: adopus_AdgangLinjer_avg_fields
    count: Scalars['Int']
    max?: adopus_AdgangLinjer_max_fields
    min?: adopus_AdgangLinjer_min_fields
    stddev?: adopus_AdgangLinjer_stddev_fields
    stddev_pop?: adopus_AdgangLinjer_stddev_pop_fields
    stddev_samp?: adopus_AdgangLinjer_stddev_samp_fields
    sum?: adopus_AdgangLinjer_sum_fields
    var_pop?: adopus_AdgangLinjer_var_pop_fields
    var_samp?: adopus_AdgangLinjer_var_samp_fields
    variance?: adopus_AdgangLinjer_variance_fields
    __typename: 'adopus_AdgangLinjer_aggregate_fields'
}


/** aggregate avg on columns */
export interface adopus_AdgangLinjer_avg_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_avg_fields'
}


/** unique or primary key constraints on table "adopus_AdgangLinjer" */
export type adopus_AdgangLinjer_constraint = 'adopus_AdgangLinjer_pkey'


/** aggregate max on columns */
export interface adopus_AdgangLinjer_max_fields {
    Adgangkode?: Scalars['smallint']
    BrukerNavn?: Scalars['String']
    Fradato?: Scalars['timestamptz']
    SoknadId?: Scalars['String']
    Tildato?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    __typename: 'adopus_AdgangLinjer_max_fields'
}


/** aggregate min on columns */
export interface adopus_AdgangLinjer_min_fields {
    Adgangkode?: Scalars['smallint']
    BrukerNavn?: Scalars['String']
    Fradato?: Scalars['timestamptz']
    SoknadId?: Scalars['String']
    Tildato?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    __typename: 'adopus_AdgangLinjer_min_fields'
}


/** response of any mutation on the table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: adopus_AdgangLinjer[]
    __typename: 'adopus_AdgangLinjer_mutation_response'
}


/** select columns of table "adopus_AdgangLinjer" */
export type adopus_AdgangLinjer_select_column = 'Adgangkode' | 'BrukerNavn' | 'Fradato' | 'SoknadId' | 'Tildato' | 'customer_id'


/** aggregate stddev on columns */
export interface adopus_AdgangLinjer_stddev_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface adopus_AdgangLinjer_stddev_pop_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface adopus_AdgangLinjer_stddev_samp_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface adopus_AdgangLinjer_sum_fields {
    Adgangkode?: Scalars['smallint']
    __typename: 'adopus_AdgangLinjer_sum_fields'
}


/** update columns of table "adopus_AdgangLinjer" */
export type adopus_AdgangLinjer_update_column = 'Adgangkode' | 'BrukerNavn' | 'Fradato' | 'SoknadId' | 'Tildato' | 'customer_id'


/** aggregate var_pop on columns */
export interface adopus_AdgangLinjer_var_pop_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface adopus_AdgangLinjer_var_samp_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_var_samp_fields'
}


/** aggregate variance on columns */
export interface adopus_AdgangLinjer_variance_fields {
    Adgangkode?: Scalars['Float']
    __typename: 'adopus_AdgangLinjer_variance_fields'
}


/** columns and relationships of "anonymous_answers" */
export interface anonymous_answers {
    /** An object relationship */
    anonymous_invitation?: anonymous_invitations
    anonymous_invitation_code?: Scalars['String']
    /** An object relationship */
    anonymous_query: anonymous_queries
    anonymous_query_id: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id: Scalars['bigint']
    properties?: Scalars['jsonb']
    region: Scalars['String']
    title: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_answers'
}


/** aggregated selection of "anonymous_answers" */
export interface anonymous_answers_aggregate {
    aggregate?: anonymous_answers_aggregate_fields
    nodes: anonymous_answers[]
    __typename: 'anonymous_answers_aggregate'
}


/** aggregate fields of "anonymous_answers" */
export interface anonymous_answers_aggregate_fields {
    avg?: anonymous_answers_avg_fields
    count: Scalars['Int']
    max?: anonymous_answers_max_fields
    min?: anonymous_answers_min_fields
    stddev?: anonymous_answers_stddev_fields
    stddev_pop?: anonymous_answers_stddev_pop_fields
    stddev_samp?: anonymous_answers_stddev_samp_fields
    sum?: anonymous_answers_sum_fields
    var_pop?: anonymous_answers_var_pop_fields
    var_samp?: anonymous_answers_var_samp_fields
    variance?: anonymous_answers_variance_fields
    __typename: 'anonymous_answers_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_answers_avg_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_avg_fields'
}


/** unique or primary key constraints on table "anonymous_answers" */
export type anonymous_answers_constraint = 'idx_38520_primary'


/** aggregate max on columns */
export interface anonymous_answers_max_fields {
    anonymous_invitation_code?: Scalars['String']
    anonymous_query_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_answers_max_fields'
}


/** aggregate min on columns */
export interface anonymous_answers_min_fields {
    anonymous_invitation_code?: Scalars['String']
    anonymous_query_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_answers_min_fields'
}


/** response of any mutation on the table "anonymous_answers" */
export interface anonymous_answers_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_answers[]
    __typename: 'anonymous_answers_mutation_response'
}


/** select columns of table "anonymous_answers" */
export type anonymous_answers_select_column = 'anonymous_invitation_code' | 'anonymous_query_id' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'properties' | 'region' | 'title' | 'updated_at'


/** aggregate stddev on columns */
export interface anonymous_answers_stddev_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_answers_stddev_pop_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_answers_stddev_samp_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_answers_sum_fields {
    anonymous_query_id?: Scalars['bigint']
    id?: Scalars['bigint']
    __typename: 'anonymous_answers_sum_fields'
}


/** update columns of table "anonymous_answers" */
export type anonymous_answers_update_column = 'anonymous_invitation_code' | 'anonymous_query_id' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'properties' | 'region' | 'title' | 'updated_at'


/** aggregate var_pop on columns */
export interface anonymous_answers_var_pop_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_answers_var_samp_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_answers_variance_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_answers_variance_fields'
}


/** columns and relationships of "anonymous_invitations" */
export interface anonymous_invitations {
    /** An array relationship */
    anonymous_answers: anonymous_answers[]
    /** An aggregate relationship */
    anonymous_answers_aggregate: anonymous_answers_aggregate
    /** An object relationship */
    anonymous_template: anonymous_templates
    anonymous_template_id: Scalars['bigint']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    id: Scalars['bigint']
    invitation_code: Scalars['String']
    label: Scalars['String']
    updated_at: Scalars['timestamptz']
    valid_from: Scalars['timestamptz']
    valid_to: Scalars['timestamptz']
    __typename: 'anonymous_invitations'
}


/** aggregated selection of "anonymous_invitations" */
export interface anonymous_invitations_aggregate {
    aggregate?: anonymous_invitations_aggregate_fields
    nodes: anonymous_invitations[]
    __typename: 'anonymous_invitations_aggregate'
}


/** aggregate fields of "anonymous_invitations" */
export interface anonymous_invitations_aggregate_fields {
    avg?: anonymous_invitations_avg_fields
    count: Scalars['Int']
    max?: anonymous_invitations_max_fields
    min?: anonymous_invitations_min_fields
    stddev?: anonymous_invitations_stddev_fields
    stddev_pop?: anonymous_invitations_stddev_pop_fields
    stddev_samp?: anonymous_invitations_stddev_samp_fields
    sum?: anonymous_invitations_sum_fields
    var_pop?: anonymous_invitations_var_pop_fields
    var_samp?: anonymous_invitations_var_samp_fields
    variance?: anonymous_invitations_variance_fields
    __typename: 'anonymous_invitations_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_invitations_avg_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_avg_fields'
}


/** unique or primary key constraints on table "anonymous_invitations" */
export type anonymous_invitations_constraint = 'anonymous_invitations_label_customer_id_key' | 'idx_38530_anonymous_invitations_invitation_code_anonymous_query' | 'idx_38530_primary'


/** aggregate max on columns */
export interface anonymous_invitations_max_fields {
    anonymous_template_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    invitation_code?: Scalars['String']
    label?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_from?: Scalars['timestamptz']
    valid_to?: Scalars['timestamptz']
    __typename: 'anonymous_invitations_max_fields'
}


/** aggregate min on columns */
export interface anonymous_invitations_min_fields {
    anonymous_template_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    invitation_code?: Scalars['String']
    label?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_from?: Scalars['timestamptz']
    valid_to?: Scalars['timestamptz']
    __typename: 'anonymous_invitations_min_fields'
}


/** response of any mutation on the table "anonymous_invitations" */
export interface anonymous_invitations_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_invitations[]
    __typename: 'anonymous_invitations_mutation_response'
}


/** select columns of table "anonymous_invitations" */
export type anonymous_invitations_select_column = 'anonymous_template_id' | 'created_at' | 'customer_id' | 'id' | 'invitation_code' | 'label' | 'updated_at' | 'valid_from' | 'valid_to'


/** aggregate stddev on columns */
export interface anonymous_invitations_stddev_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_invitations_stddev_pop_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_invitations_stddev_samp_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_invitations_sum_fields {
    anonymous_template_id?: Scalars['bigint']
    id?: Scalars['bigint']
    __typename: 'anonymous_invitations_sum_fields'
}


/** update columns of table "anonymous_invitations" */
export type anonymous_invitations_update_column = 'anonymous_template_id' | 'created_at' | 'customer_id' | 'id' | 'invitation_code' | 'label' | 'updated_at' | 'valid_from' | 'valid_to'


/** aggregate var_pop on columns */
export interface anonymous_invitations_var_pop_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_invitations_var_samp_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_invitations_variance_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_invitations_variance_fields'
}


/** columns and relationships of "anonymous_queries" */
export interface anonymous_queries {
    /** An array relationship */
    anonymous_answers: anonymous_answers[]
    /** An aggregate relationship */
    anonymous_answers_aggregate: anonymous_answers_aggregate
    /** An array relationship */
    anonymous_sms: anonymous_sms[]
    /** An aggregate relationship */
    anonymous_sms_aggregate: anonymous_sms_aggregate
    /** An object relationship */
    anonymous_template?: anonymous_templates
    anonymous_template_id?: Scalars['bigint']
    created_at: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    id: Scalars['bigint']
    properties?: Scalars['jsonb']
    region: Scalars['String']
    title: Scalars['String']
    updated_at: Scalars['timestamptz']
    __typename: 'anonymous_queries'
}


/** aggregated selection of "anonymous_queries" */
export interface anonymous_queries_aggregate {
    aggregate?: anonymous_queries_aggregate_fields
    nodes: anonymous_queries[]
    __typename: 'anonymous_queries_aggregate'
}


/** aggregate fields of "anonymous_queries" */
export interface anonymous_queries_aggregate_fields {
    avg?: anonymous_queries_avg_fields
    count: Scalars['Int']
    max?: anonymous_queries_max_fields
    min?: anonymous_queries_min_fields
    stddev?: anonymous_queries_stddev_fields
    stddev_pop?: anonymous_queries_stddev_pop_fields
    stddev_samp?: anonymous_queries_stddev_samp_fields
    sum?: anonymous_queries_sum_fields
    var_pop?: anonymous_queries_var_pop_fields
    var_samp?: anonymous_queries_var_samp_fields
    variance?: anonymous_queries_variance_fields
    __typename: 'anonymous_queries_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_queries_avg_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_avg_fields'
}


/** unique or primary key constraints on table "anonymous_queries" */
export type anonymous_queries_constraint = 'idx_38539_primary'


/** aggregate max on columns */
export interface anonymous_queries_max_fields {
    anonymous_template_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_queries_max_fields'
}


/** aggregate min on columns */
export interface anonymous_queries_min_fields {
    anonymous_template_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_queries_min_fields'
}


/** response of any mutation on the table "anonymous_queries" */
export interface anonymous_queries_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_queries[]
    __typename: 'anonymous_queries_mutation_response'
}


/** select columns of table "anonymous_queries" */
export type anonymous_queries_select_column = 'anonymous_template_id' | 'created_at' | 'deleted_at' | 'id' | 'properties' | 'region' | 'title' | 'updated_at'


/** aggregate stddev on columns */
export interface anonymous_queries_stddev_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_queries_stddev_pop_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_queries_stddev_samp_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_queries_sum_fields {
    anonymous_template_id?: Scalars['bigint']
    id?: Scalars['bigint']
    __typename: 'anonymous_queries_sum_fields'
}


/** update columns of table "anonymous_queries" */
export type anonymous_queries_update_column = 'anonymous_template_id' | 'created_at' | 'deleted_at' | 'id' | 'properties' | 'region' | 'title' | 'updated_at'


/** aggregate var_pop on columns */
export interface anonymous_queries_var_pop_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_queries_var_samp_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_queries_variance_fields {
    anonymous_template_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_queries_variance_fields'
}


/** columns and relationships of "anonymous_sms" */
export interface anonymous_sms {
    /** An object relationship */
    anonymous_query?: anonymous_queries
    anonymous_query_id?: Scalars['bigint']
    content: Scalars['String']
    create_user: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id: Scalars['bigint']
    message_id: Scalars['String']
    region: Scalars['String']
    soknad_id?: Scalars['String']
    tlfmobil: Scalars['String']
    uid: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_sms'
}


/** aggregated selection of "anonymous_sms" */
export interface anonymous_sms_aggregate {
    aggregate?: anonymous_sms_aggregate_fields
    nodes: anonymous_sms[]
    __typename: 'anonymous_sms_aggregate'
}


/** aggregate fields of "anonymous_sms" */
export interface anonymous_sms_aggregate_fields {
    avg?: anonymous_sms_avg_fields
    count: Scalars['Int']
    max?: anonymous_sms_max_fields
    min?: anonymous_sms_min_fields
    stddev?: anonymous_sms_stddev_fields
    stddev_pop?: anonymous_sms_stddev_pop_fields
    stddev_samp?: anonymous_sms_stddev_samp_fields
    sum?: anonymous_sms_sum_fields
    var_pop?: anonymous_sms_var_pop_fields
    var_samp?: anonymous_sms_var_samp_fields
    variance?: anonymous_sms_variance_fields
    __typename: 'anonymous_sms_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_sms_avg_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_avg_fields'
}


/** unique or primary key constraints on table "anonymous_sms" */
export type anonymous_sms_constraint = 'idx_38549_primary'


/** aggregate max on columns */
export interface anonymous_sms_max_fields {
    anonymous_query_id?: Scalars['bigint']
    content?: Scalars['String']
    create_user?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    message_id?: Scalars['String']
    region?: Scalars['String']
    soknad_id?: Scalars['String']
    tlfmobil?: Scalars['String']
    uid?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_sms_max_fields'
}


/** aggregate min on columns */
export interface anonymous_sms_min_fields {
    anonymous_query_id?: Scalars['bigint']
    content?: Scalars['String']
    create_user?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    message_id?: Scalars['String']
    region?: Scalars['String']
    soknad_id?: Scalars['String']
    tlfmobil?: Scalars['String']
    uid?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_sms_min_fields'
}


/** response of any mutation on the table "anonymous_sms" */
export interface anonymous_sms_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_sms[]
    __typename: 'anonymous_sms_mutation_response'
}


/** select columns of table "anonymous_sms" */
export type anonymous_sms_select_column = 'anonymous_query_id' | 'content' | 'create_user' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'message_id' | 'region' | 'soknad_id' | 'tlfmobil' | 'uid' | 'updated_at'


/** aggregate stddev on columns */
export interface anonymous_sms_stddev_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_sms_stddev_pop_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_sms_stddev_samp_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_sms_sum_fields {
    anonymous_query_id?: Scalars['bigint']
    id?: Scalars['bigint']
    __typename: 'anonymous_sms_sum_fields'
}


/** update columns of table "anonymous_sms" */
export type anonymous_sms_update_column = 'anonymous_query_id' | 'content' | 'create_user' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'message_id' | 'region' | 'soknad_id' | 'tlfmobil' | 'uid' | 'updated_at'


/** aggregate var_pop on columns */
export interface anonymous_sms_var_pop_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_sms_var_samp_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_sms_variance_fields {
    anonymous_query_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'anonymous_sms_variance_fields'
}


/** columns and relationships of "anonymous_template_question" */
export interface anonymous_template_question {
    /** An object relationship */
    anonymous_template: anonymous_templates
    anonymous_template_id: Scalars['bigint']
    description: Scalars['String']
    narrative?: Scalars['jsonb']
    position: Scalars['bigint']
    properties?: Scalars['jsonb']
    /** An object relationship */
    question: questions
    question_id: Scalars['bigint']
    title: Scalars['String']
    __typename: 'anonymous_template_question'
}


/** aggregated selection of "anonymous_template_question" */
export interface anonymous_template_question_aggregate {
    aggregate?: anonymous_template_question_aggregate_fields
    nodes: anonymous_template_question[]
    __typename: 'anonymous_template_question_aggregate'
}


/** aggregate fields of "anonymous_template_question" */
export interface anonymous_template_question_aggregate_fields {
    avg?: anonymous_template_question_avg_fields
    count: Scalars['Int']
    max?: anonymous_template_question_max_fields
    min?: anonymous_template_question_min_fields
    stddev?: anonymous_template_question_stddev_fields
    stddev_pop?: anonymous_template_question_stddev_pop_fields
    stddev_samp?: anonymous_template_question_stddev_samp_fields
    sum?: anonymous_template_question_sum_fields
    var_pop?: anonymous_template_question_var_pop_fields
    var_samp?: anonymous_template_question_var_samp_fields
    variance?: anonymous_template_question_variance_fields
    __typename: 'anonymous_template_question_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_template_question_avg_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_avg_fields'
}


/** unique or primary key constraints on table "anonymous_template_question" */
export type anonymous_template_question_constraint = 'idx_38567_anon_temp_quest_anon_temp_id_quest_id_unique'


/** aggregate max on columns */
export interface anonymous_template_question_max_fields {
    anonymous_template_id?: Scalars['bigint']
    description?: Scalars['String']
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'anonymous_template_question_max_fields'
}


/** aggregate min on columns */
export interface anonymous_template_question_min_fields {
    anonymous_template_id?: Scalars['bigint']
    description?: Scalars['String']
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'anonymous_template_question_min_fields'
}


/** response of any mutation on the table "anonymous_template_question" */
export interface anonymous_template_question_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_template_question[]
    __typename: 'anonymous_template_question_mutation_response'
}


/** select columns of table "anonymous_template_question" */
export type anonymous_template_question_select_column = 'anonymous_template_id' | 'description' | 'narrative' | 'position' | 'properties' | 'question_id' | 'title'


/** aggregate stddev on columns */
export interface anonymous_template_question_stddev_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_template_question_stddev_pop_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_template_question_stddev_samp_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_template_question_sum_fields {
    anonymous_template_id?: Scalars['bigint']
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    __typename: 'anonymous_template_question_sum_fields'
}


/** update columns of table "anonymous_template_question" */
export type anonymous_template_question_update_column = 'anonymous_template_id' | 'description' | 'narrative' | 'position' | 'properties' | 'question_id' | 'title'


/** aggregate var_pop on columns */
export interface anonymous_template_question_var_pop_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_template_question_var_samp_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_template_question_variance_fields {
    anonymous_template_id?: Scalars['Float']
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    __typename: 'anonymous_template_question_variance_fields'
}


/** columns and relationships of "anonymous_templates" */
export interface anonymous_templates {
    /** An array relationship */
    anonymous_queries: anonymous_queries[]
    /** An aggregate relationship */
    anonymous_queries_aggregate: anonymous_queries_aggregate
    /** An array relationship */
    anonymous_template_questions: anonymous_template_question[]
    /** An aggregate relationship */
    anonymous_template_questions_aggregate: anonymous_template_question_aggregate
    attributes?: Scalars['jsonb']
    context: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directory_customer?: directory_customers
    id: Scalars['bigint']
    /** An array relationship */
    invitation_codes: anonymous_invitations[]
    /** An aggregate relationship */
    invitation_codes_aggregate: anonymous_invitations_aggregate
    region: Scalars['String']
    template_uuid: Scalars['uuid']
    therapist_role?: Scalars['String']
    title: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_templates'
}


/** aggregated selection of "anonymous_templates" */
export interface anonymous_templates_aggregate {
    aggregate?: anonymous_templates_aggregate_fields
    nodes: anonymous_templates[]
    __typename: 'anonymous_templates_aggregate'
}


/** aggregate fields of "anonymous_templates" */
export interface anonymous_templates_aggregate_fields {
    avg?: anonymous_templates_avg_fields
    count: Scalars['Int']
    max?: anonymous_templates_max_fields
    min?: anonymous_templates_min_fields
    stddev?: anonymous_templates_stddev_fields
    stddev_pop?: anonymous_templates_stddev_pop_fields
    stddev_samp?: anonymous_templates_stddev_samp_fields
    sum?: anonymous_templates_sum_fields
    var_pop?: anonymous_templates_var_pop_fields
    var_samp?: anonymous_templates_var_samp_fields
    variance?: anonymous_templates_variance_fields
    __typename: 'anonymous_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface anonymous_templates_avg_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_avg_fields'
}


/** unique or primary key constraints on table "anonymous_templates" */
export type anonymous_templates_constraint = 'idx_38559_primary'


/** aggregate max on columns */
export interface anonymous_templates_max_fields {
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    template_uuid?: Scalars['uuid']
    therapist_role?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_templates_max_fields'
}


/** aggregate min on columns */
export interface anonymous_templates_min_fields {
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    region?: Scalars['String']
    template_uuid?: Scalars['uuid']
    therapist_role?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'anonymous_templates_min_fields'
}


/** response of any mutation on the table "anonymous_templates" */
export interface anonymous_templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: anonymous_templates[]
    __typename: 'anonymous_templates_mutation_response'
}


/** select columns of table "anonymous_templates" */
export type anonymous_templates_select_column = 'attributes' | 'context' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'region' | 'template_uuid' | 'therapist_role' | 'title' | 'updated_at'


/** aggregate stddev on columns */
export interface anonymous_templates_stddev_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface anonymous_templates_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface anonymous_templates_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface anonymous_templates_sum_fields {
    id?: Scalars['bigint']
    __typename: 'anonymous_templates_sum_fields'
}


/** update columns of table "anonymous_templates" */
export type anonymous_templates_update_column = 'attributes' | 'context' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'region' | 'template_uuid' | 'therapist_role' | 'title' | 'updated_at'


/** aggregate var_pop on columns */
export interface anonymous_templates_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface anonymous_templates_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface anonymous_templates_variance_fields {
    id?: Scalars['Float']
    __typename: 'anonymous_templates_variance_fields'
}

export interface artifactPackage {
    deleted_at?: Scalars['String']
    id: Scalars['String']
    rruleset?: Scalars['String']
    updated_at: Scalars['String']
    __typename: 'artifactPackage'
}


/** columns and relationships of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel {
    /** An object relationship */
    artifact_package: artifact_packages
    artifact_package_id: Scalars['uuid']
    /** An object relationship */
    artifact_parcel: artifact_parcels
    artifact_parcel_id: Scalars['uuid']
    __typename: 'artifact_package_artifact_parcel'
}


/** aggregated selection of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate {
    aggregate?: artifact_package_artifact_parcel_aggregate_fields
    nodes: artifact_package_artifact_parcel[]
    __typename: 'artifact_package_artifact_parcel_aggregate'
}


/** aggregate fields of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate_fields {
    count: Scalars['Int']
    max?: artifact_package_artifact_parcel_max_fields
    min?: artifact_package_artifact_parcel_min_fields
    __typename: 'artifact_package_artifact_parcel_aggregate_fields'
}


/** unique or primary key constraints on table "artifact_package_artifact_parcel" */
export type artifact_package_artifact_parcel_constraint = 'artifact_package_artifact_parcel_pkey'


/** aggregate max on columns */
export interface artifact_package_artifact_parcel_max_fields {
    artifact_package_id?: Scalars['uuid']
    artifact_parcel_id?: Scalars['uuid']
    __typename: 'artifact_package_artifact_parcel_max_fields'
}


/** aggregate min on columns */
export interface artifact_package_artifact_parcel_min_fields {
    artifact_package_id?: Scalars['uuid']
    artifact_parcel_id?: Scalars['uuid']
    __typename: 'artifact_package_artifact_parcel_min_fields'
}


/** response of any mutation on the table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: artifact_package_artifact_parcel[]
    __typename: 'artifact_package_artifact_parcel_mutation_response'
}


/** select columns of table "artifact_package_artifact_parcel" */
export type artifact_package_artifact_parcel_select_column = 'artifact_package_id' | 'artifact_parcel_id'


/** update columns of table "artifact_package_artifact_parcel" */
export type artifact_package_artifact_parcel_update_column = 'artifact_package_id' | 'artifact_parcel_id'


/** columns and relationships of "artifact_package_cron" */
export interface artifact_package_cron {
    /** An object relationship */
    artifact_package: artifact_packages
    artifact_packages_id: Scalars['uuid']
    cron_end_schedule_id?: Scalars['uuid']
    cron_start_schedule_id?: Scalars['uuid']
    __typename: 'artifact_package_cron'
}


/** aggregated selection of "artifact_package_cron" */
export interface artifact_package_cron_aggregate {
    aggregate?: artifact_package_cron_aggregate_fields
    nodes: artifact_package_cron[]
    __typename: 'artifact_package_cron_aggregate'
}


/** aggregate fields of "artifact_package_cron" */
export interface artifact_package_cron_aggregate_fields {
    count: Scalars['Int']
    max?: artifact_package_cron_max_fields
    min?: artifact_package_cron_min_fields
    __typename: 'artifact_package_cron_aggregate_fields'
}


/** unique or primary key constraints on table "artifact_package_cron" */
export type artifact_package_cron_constraint = 'artifact_package_cron_pkey'


/** aggregate max on columns */
export interface artifact_package_cron_max_fields {
    artifact_packages_id?: Scalars['uuid']
    cron_end_schedule_id?: Scalars['uuid']
    cron_start_schedule_id?: Scalars['uuid']
    __typename: 'artifact_package_cron_max_fields'
}


/** aggregate min on columns */
export interface artifact_package_cron_min_fields {
    artifact_packages_id?: Scalars['uuid']
    cron_end_schedule_id?: Scalars['uuid']
    cron_start_schedule_id?: Scalars['uuid']
    __typename: 'artifact_package_cron_min_fields'
}


/** response of any mutation on the table "artifact_package_cron" */
export interface artifact_package_cron_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: artifact_package_cron[]
    __typename: 'artifact_package_cron_mutation_response'
}


/** select columns of table "artifact_package_cron" */
export type artifact_package_cron_select_column = 'artifact_packages_id' | 'cron_end_schedule_id' | 'cron_start_schedule_id'


/** update columns of table "artifact_package_cron" */
export type artifact_package_cron_update_column = 'artifact_packages_id' | 'cron_end_schedule_id' | 'cron_start_schedule_id'


/** A table that store all documents, queries and artifact packages for outbox page */
export interface artifact_package_groups {
    archived: Scalars['Boolean']
    /** An array relationship */
    artifact_packages: artifact_packages[]
    /** An aggregate relationship */
    artifact_packages_aggregate: artifact_packages_aggregate
    created_at: Scalars['timestamptz']
    created_by: Scalars['uuid']
    created_by_name?: Scalars['String']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    file_count?: Scalars['Int']
    id: Scalars['uuid']
    query_count?: Scalars['Int']
    title: Scalars['String']
    title_changed: Scalars['Boolean']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    user_count: Scalars['Int']
    __typename: 'artifact_package_groups'
}


/** aggregated selection of "artifact_package_groups" */
export interface artifact_package_groups_aggregate {
    aggregate?: artifact_package_groups_aggregate_fields
    nodes: artifact_package_groups[]
    __typename: 'artifact_package_groups_aggregate'
}


/** aggregate fields of "artifact_package_groups" */
export interface artifact_package_groups_aggregate_fields {
    avg?: artifact_package_groups_avg_fields
    count: Scalars['Int']
    max?: artifact_package_groups_max_fields
    min?: artifact_package_groups_min_fields
    stddev?: artifact_package_groups_stddev_fields
    stddev_pop?: artifact_package_groups_stddev_pop_fields
    stddev_samp?: artifact_package_groups_stddev_samp_fields
    sum?: artifact_package_groups_sum_fields
    var_pop?: artifact_package_groups_var_pop_fields
    var_samp?: artifact_package_groups_var_samp_fields
    variance?: artifact_package_groups_variance_fields
    __typename: 'artifact_package_groups_aggregate_fields'
}


/** aggregate avg on columns */
export interface artifact_package_groups_avg_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_avg_fields'
}


/** unique or primary key constraints on table "artifact_package_groups" */
export type artifact_package_groups_constraint = 'outbox_groups_pkey'


/** aggregate max on columns */
export interface artifact_package_groups_max_fields {
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['uuid']
    created_by_name?: Scalars['String']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    file_count?: Scalars['Int']
    id?: Scalars['uuid']
    query_count?: Scalars['Int']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    user_count?: Scalars['Int']
    __typename: 'artifact_package_groups_max_fields'
}


/** aggregate min on columns */
export interface artifact_package_groups_min_fields {
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['uuid']
    created_by_name?: Scalars['String']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    file_count?: Scalars['Int']
    id?: Scalars['uuid']
    query_count?: Scalars['Int']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    user_count?: Scalars['Int']
    __typename: 'artifact_package_groups_min_fields'
}


/** response of any mutation on the table "artifact_package_groups" */
export interface artifact_package_groups_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: artifact_package_groups[]
    __typename: 'artifact_package_groups_mutation_response'
}


/** select columns of table "artifact_package_groups" */
export type artifact_package_groups_select_column = 'archived' | 'created_at' | 'created_by' | 'created_by_name' | 'customer_id' | 'deleted_at' | 'file_count' | 'id' | 'query_count' | 'title' | 'title_changed' | 'updated_at' | 'updated_by' | 'user_count'


/** aggregate stddev on columns */
export interface artifact_package_groups_stddev_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface artifact_package_groups_stddev_pop_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface artifact_package_groups_stddev_samp_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface artifact_package_groups_sum_fields {
    file_count?: Scalars['Int']
    query_count?: Scalars['Int']
    user_count?: Scalars['Int']
    __typename: 'artifact_package_groups_sum_fields'
}


/** update columns of table "artifact_package_groups" */
export type artifact_package_groups_update_column = 'archived' | 'created_at' | 'created_by' | 'created_by_name' | 'customer_id' | 'deleted_at' | 'file_count' | 'id' | 'query_count' | 'title' | 'title_changed' | 'updated_at' | 'updated_by' | 'user_count'


/** aggregate var_pop on columns */
export interface artifact_package_groups_var_pop_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface artifact_package_groups_var_samp_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_var_samp_fields'
}


/** aggregate variance on columns */
export interface artifact_package_groups_variance_fields {
    file_count?: Scalars['Float']
    query_count?: Scalars['Float']
    user_count?: Scalars['Float']
    __typename: 'artifact_package_groups_variance_fields'
}


/** a instance of all artifacts (qnrs,documents,consents) which one shall send to recipient */
export interface artifact_packages {
    activity_id?: Scalars['String']
    /** An array relationship */
    artifact_package_artifact_parcels: artifact_package_artifact_parcel[]
    /** An aggregate relationship */
    artifact_package_artifact_parcels_aggregate: artifact_package_artifact_parcel_aggregate
    /** An object relationship */
    artifact_package_cron?: artifact_package_cron
    /** An array relationship */
    consent_patients: consent_patient[]
    /** An aggregate relationship */
    consent_patients_aggregate: consent_patient_aggregate
    created_at: Scalars['timestamptz']
    created_by_name?: Scalars['String']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directory_user_name?: directory_user_name
    /** An array relationship */
    document_patients: document_patient[]
    /** An aggregate relationship */
    document_patients_aggregate: document_patient_aggregate
    /** An array relationship */
    events: event_artifact_package[]
    /** An aggregate relationship */
    events_aggregate: event_artifact_package_aggregate
    group_id?: Scalars['uuid']
    id: Scalars['uuid']
    is_blueprint: Scalars['Boolean']
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    recipient_id: Scalars['uuid']
    rruleset?: Scalars['String']
    updated_at: Scalars['timestamptz']
    updated_by: Scalars['uuid']
    __typename: 'artifact_packages'
}


/** aggregated selection of "artifact_packages" */
export interface artifact_packages_aggregate {
    aggregate?: artifact_packages_aggregate_fields
    nodes: artifact_packages[]
    __typename: 'artifact_packages_aggregate'
}


/** aggregate fields of "artifact_packages" */
export interface artifact_packages_aggregate_fields {
    count: Scalars['Int']
    max?: artifact_packages_max_fields
    min?: artifact_packages_min_fields
    __typename: 'artifact_packages_aggregate_fields'
}


/** unique or primary key constraints on table "artifact_packages" */
export type artifact_packages_constraint = 'artifact_packages_pkey' | 'only_one_row_with_column_true_on_customer_id_and_recipient_id'


/** aggregate max on columns */
export interface artifact_packages_max_fields {
    activity_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    created_by_name?: Scalars['String']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    group_id?: Scalars['uuid']
    id?: Scalars['uuid']
    recipient_id?: Scalars['uuid']
    rruleset?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    __typename: 'artifact_packages_max_fields'
}


/** aggregate min on columns */
export interface artifact_packages_min_fields {
    activity_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    created_by_name?: Scalars['String']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    group_id?: Scalars['uuid']
    id?: Scalars['uuid']
    recipient_id?: Scalars['uuid']
    rruleset?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    __typename: 'artifact_packages_min_fields'
}


/** response of any mutation on the table "artifact_packages" */
export interface artifact_packages_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: artifact_packages[]
    __typename: 'artifact_packages_mutation_response'
}


/** select columns of table "artifact_packages" */
export type artifact_packages_select_column = 'activity_id' | 'created_at' | 'created_by_name' | 'customer_id' | 'deleted_at' | 'group_id' | 'id' | 'is_blueprint' | 'recipient_id' | 'rruleset' | 'updated_at' | 'updated_by'


/** select "artifact_packages_aggregate_bool_exp_bool_and_arguments_columns" columns of table "artifact_packages" */
export type artifact_packages_select_column_artifact_packages_aggregate_bool_exp_bool_and_arguments_columns = 'is_blueprint'


/** select "artifact_packages_aggregate_bool_exp_bool_or_arguments_columns" columns of table "artifact_packages" */
export type artifact_packages_select_column_artifact_packages_aggregate_bool_exp_bool_or_arguments_columns = 'is_blueprint'


/** update columns of table "artifact_packages" */
export type artifact_packages_update_column = 'activity_id' | 'created_at' | 'created_by_name' | 'customer_id' | 'deleted_at' | 'group_id' | 'id' | 'is_blueprint' | 'recipient_id' | 'rruleset' | 'updated_at' | 'updated_by'


/** columns and relationships of "artifact_parcels" */
export interface artifact_parcels {
    /** An array relationship */
    artifact_package_artifact_parcels: artifact_package_artifact_parcel[]
    /** An aggregate relationship */
    artifact_package_artifact_parcels_aggregate: artifact_package_artifact_parcel_aggregate
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description?: Scalars['String']
    /** An array relationship */
    documents: documents[]
    /** An aggregate relationship */
    documents_aggregate: documents_aggregate
    id: Scalars['uuid']
    /** An array relationship */
    template_artifact_parcels: template_artifact_parcel[]
    /** An aggregate relationship */
    template_artifact_parcels_aggregate: template_artifact_parcel_aggregate
    title?: Scalars['String']
    updated_at: Scalars['timestamptz']
    __typename: 'artifact_parcels'
}


/** aggregated selection of "artifact_parcels" */
export interface artifact_parcels_aggregate {
    aggregate?: artifact_parcels_aggregate_fields
    nodes: artifact_parcels[]
    __typename: 'artifact_parcels_aggregate'
}


/** aggregate fields of "artifact_parcels" */
export interface artifact_parcels_aggregate_fields {
    count: Scalars['Int']
    max?: artifact_parcels_max_fields
    min?: artifact_parcels_min_fields
    __typename: 'artifact_parcels_aggregate_fields'
}


/** unique or primary key constraints on table "artifact_parcels" */
export type artifact_parcels_constraint = 'artifact_parcels_pkey'


/** aggregate max on columns */
export interface artifact_parcels_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description?: Scalars['String']
    id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'artifact_parcels_max_fields'
}


/** aggregate min on columns */
export interface artifact_parcels_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description?: Scalars['String']
    id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'artifact_parcels_min_fields'
}


/** response of any mutation on the table "artifact_parcels" */
export interface artifact_parcels_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: artifact_parcels[]
    __typename: 'artifact_parcels_mutation_response'
}


/** select columns of table "artifact_parcels" */
export type artifact_parcels_select_column = 'created_at' | 'customer_id' | 'deleted_at' | 'description' | 'id' | 'title' | 'updated_at'


/** update columns of table "artifact_parcels" */
export type artifact_parcels_update_column = 'created_at' | 'customer_id' | 'deleted_at' | 'description' | 'id' | 'title' | 'updated_at'


/** columns and relationships of "categories" */
export interface categories {
    comment?: Scalars['String']
    name: Scalars['String']
    /** An array relationship */
    sms_templates: sms_templates[]
    /** An aggregate relationship */
    sms_templates_aggregate: sms_templates_aggregate
    __typename: 'categories'
}


/** aggregated selection of "categories" */
export interface categories_aggregate {
    aggregate?: categories_aggregate_fields
    nodes: categories[]
    __typename: 'categories_aggregate'
}


/** aggregate fields of "categories" */
export interface categories_aggregate_fields {
    count: Scalars['Int']
    max?: categories_max_fields
    min?: categories_min_fields
    __typename: 'categories_aggregate_fields'
}


/** unique or primary key constraints on table "categories" */
export type categories_constraint = 'categories_pkey'

export type categories_enum = 'INFO' | 'NEW_CHAT' | 'NEW_CHAT_THERAPIST' | 'NEW_MESSAGE_THERAPIST' | 'NEW_MESSAGE_THERAPIST_REPEAT' | 'NEW_MESSAGE_THERAPIST_TO_THERAPIST' | 'REJECT' | 'UNSEEN_NOTIFICATIONS'


/** aggregate max on columns */
export interface categories_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'categories_max_fields'
}


/** aggregate min on columns */
export interface categories_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'categories_min_fields'
}


/** response of any mutation on the table "categories" */
export interface categories_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: categories[]
    __typename: 'categories_mutation_response'
}


/** select columns of table "categories" */
export type categories_select_column = 'comment' | 'name'


/** update columns of table "categories" */
export type categories_update_column = 'comment' | 'name'


/** columns and relationships of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons {
    accept_reason?: Scalars['String']
    consent_id: Scalars['bigint']
    /** An object relationship */
    consent_patient?: consent_patient
    created_at: Scalars['timestamptz']
    id: Scalars['Int']
    patient_id: Scalars['uuid']
    reject_reason?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'consent_approval_rejection_reasons'
}


/** aggregated selection of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate {
    aggregate?: consent_approval_rejection_reasons_aggregate_fields
    nodes: consent_approval_rejection_reasons[]
    __typename: 'consent_approval_rejection_reasons_aggregate'
}


/** aggregate fields of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate_fields {
    avg?: consent_approval_rejection_reasons_avg_fields
    count: Scalars['Int']
    max?: consent_approval_rejection_reasons_max_fields
    min?: consent_approval_rejection_reasons_min_fields
    stddev?: consent_approval_rejection_reasons_stddev_fields
    stddev_pop?: consent_approval_rejection_reasons_stddev_pop_fields
    stddev_samp?: consent_approval_rejection_reasons_stddev_samp_fields
    sum?: consent_approval_rejection_reasons_sum_fields
    var_pop?: consent_approval_rejection_reasons_var_pop_fields
    var_samp?: consent_approval_rejection_reasons_var_samp_fields
    variance?: consent_approval_rejection_reasons_variance_fields
    __typename: 'consent_approval_rejection_reasons_aggregate_fields'
}


/** aggregate avg on columns */
export interface consent_approval_rejection_reasons_avg_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_avg_fields'
}


/** unique or primary key constraints on table "consent_approval_rejection_reasons" */
export type consent_approval_rejection_reasons_constraint = 'consent_approval_rejection_reasons_pkey'


/** aggregate max on columns */
export interface consent_approval_rejection_reasons_max_fields {
    accept_reason?: Scalars['String']
    consent_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    id?: Scalars['Int']
    patient_id?: Scalars['uuid']
    reject_reason?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'consent_approval_rejection_reasons_max_fields'
}


/** aggregate min on columns */
export interface consent_approval_rejection_reasons_min_fields {
    accept_reason?: Scalars['String']
    consent_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    id?: Scalars['Int']
    patient_id?: Scalars['uuid']
    reject_reason?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'consent_approval_rejection_reasons_min_fields'
}


/** response of any mutation on the table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consent_approval_rejection_reasons[]
    __typename: 'consent_approval_rejection_reasons_mutation_response'
}


/** select columns of table "consent_approval_rejection_reasons" */
export type consent_approval_rejection_reasons_select_column = 'accept_reason' | 'consent_id' | 'created_at' | 'id' | 'patient_id' | 'reject_reason' | 'updated_at'


/** aggregate stddev on columns */
export interface consent_approval_rejection_reasons_stddev_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface consent_approval_rejection_reasons_stddev_pop_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface consent_approval_rejection_reasons_stddev_samp_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface consent_approval_rejection_reasons_sum_fields {
    consent_id?: Scalars['bigint']
    id?: Scalars['Int']
    __typename: 'consent_approval_rejection_reasons_sum_fields'
}


/** update columns of table "consent_approval_rejection_reasons" */
export type consent_approval_rejection_reasons_update_column = 'accept_reason' | 'consent_id' | 'created_at' | 'id' | 'patient_id' | 'reject_reason' | 'updated_at'


/** aggregate var_pop on columns */
export interface consent_approval_rejection_reasons_var_pop_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface consent_approval_rejection_reasons_var_samp_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_var_samp_fields'
}


/** aggregate variance on columns */
export interface consent_approval_rejection_reasons_variance_fields {
    consent_id?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'consent_approval_rejection_reasons_variance_fields'
}


/** columns and relationships of "consent_patient" */
export interface consent_patient {
    accepted: Scalars['Boolean']
    /** An object relationship */
    artifact_package?: artifact_packages
    artifact_package_id?: Scalars['uuid']
    /** An object relationship */
    consent: consents
    /** An array relationship */
    consent_approval_rejection_reasons: consent_approval_rejection_reasons[]
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate: consent_approval_rejection_reasons_aggregate
    consent_id: Scalars['bigint']
    /** An object relationship */
    consent_status: consent_status
    created_at: Scalars['timestamptz']
    expiry_date?: Scalars['date']
    patient_id: Scalars['uuid']
    status: consent_status_enum
    updated_at: Scalars['timestamptz']
    __typename: 'consent_patient'
}


/** aggregated selection of "consent_patient" */
export interface consent_patient_aggregate {
    aggregate?: consent_patient_aggregate_fields
    nodes: consent_patient[]
    __typename: 'consent_patient_aggregate'
}


/** aggregate fields of "consent_patient" */
export interface consent_patient_aggregate_fields {
    avg?: consent_patient_avg_fields
    count: Scalars['Int']
    max?: consent_patient_max_fields
    min?: consent_patient_min_fields
    stddev?: consent_patient_stddev_fields
    stddev_pop?: consent_patient_stddev_pop_fields
    stddev_samp?: consent_patient_stddev_samp_fields
    sum?: consent_patient_sum_fields
    var_pop?: consent_patient_var_pop_fields
    var_samp?: consent_patient_var_samp_fields
    variance?: consent_patient_variance_fields
    __typename: 'consent_patient_aggregate_fields'
}


/** aggregate avg on columns */
export interface consent_patient_avg_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_avg_fields'
}


/** unique or primary key constraints on table "consent_patient" */
export type consent_patient_constraint = 'consent_patient_consent_id_patient_id_unique' | 'consent_patient_pkey'


/** aggregate max on columns */
export interface consent_patient_max_fields {
    artifact_package_id?: Scalars['uuid']
    consent_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    expiry_date?: Scalars['date']
    patient_id?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    __typename: 'consent_patient_max_fields'
}


/** aggregate min on columns */
export interface consent_patient_min_fields {
    artifact_package_id?: Scalars['uuid']
    consent_id?: Scalars['bigint']
    created_at?: Scalars['timestamptz']
    expiry_date?: Scalars['date']
    patient_id?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    __typename: 'consent_patient_min_fields'
}


/** response of any mutation on the table "consent_patient" */
export interface consent_patient_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consent_patient[]
    __typename: 'consent_patient_mutation_response'
}


/** select columns of table "consent_patient" */
export type consent_patient_select_column = 'accepted' | 'artifact_package_id' | 'consent_id' | 'created_at' | 'expiry_date' | 'patient_id' | 'status' | 'updated_at'


/** select "consent_patient_aggregate_bool_exp_bool_and_arguments_columns" columns of table "consent_patient" */
export type consent_patient_select_column_consent_patient_aggregate_bool_exp_bool_and_arguments_columns = 'accepted'


/** select "consent_patient_aggregate_bool_exp_bool_or_arguments_columns" columns of table "consent_patient" */
export type consent_patient_select_column_consent_patient_aggregate_bool_exp_bool_or_arguments_columns = 'accepted'


/** aggregate stddev on columns */
export interface consent_patient_stddev_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface consent_patient_stddev_pop_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface consent_patient_stddev_samp_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface consent_patient_sum_fields {
    consent_id?: Scalars['bigint']
    __typename: 'consent_patient_sum_fields'
}


/** update columns of table "consent_patient" */
export type consent_patient_update_column = 'accepted' | 'artifact_package_id' | 'consent_id' | 'created_at' | 'expiry_date' | 'patient_id' | 'status' | 'updated_at'


/** aggregate var_pop on columns */
export interface consent_patient_var_pop_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface consent_patient_var_samp_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_var_samp_fields'
}


/** aggregate variance on columns */
export interface consent_patient_variance_fields {
    consent_id?: Scalars['Float']
    __typename: 'consent_patient_variance_fields'
}


/** columns and relationships of "consent_status" */
export interface consent_status {
    comment?: Scalars['String']
    /** An array relationship */
    consent_patients: consent_patient[]
    /** An aggregate relationship */
    consent_patients_aggregate: consent_patient_aggregate
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    name: Scalars['String']
    __typename: 'consent_status'
}


/** aggregated selection of "consent_status" */
export interface consent_status_aggregate {
    aggregate?: consent_status_aggregate_fields
    nodes: consent_status[]
    __typename: 'consent_status_aggregate'
}


/** aggregate fields of "consent_status" */
export interface consent_status_aggregate_fields {
    count: Scalars['Int']
    max?: consent_status_max_fields
    min?: consent_status_min_fields
    __typename: 'consent_status_aggregate_fields'
}


/** unique or primary key constraints on table "consent_status" */
export type consent_status_constraint = 'consent_enums_pkey'

export type consent_status_enum = 'ACCEPTED' | 'NOT_OPENED' | 'READ' | 'REJECTED' | 'REVOKED'


/** aggregate max on columns */
export interface consent_status_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'consent_status_max_fields'
}


/** aggregate min on columns */
export interface consent_status_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'consent_status_min_fields'
}


/** response of any mutation on the table "consent_status" */
export interface consent_status_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consent_status[]
    __typename: 'consent_status_mutation_response'
}


/** select columns of table "consent_status" */
export type consent_status_select_column = 'comment' | 'name'


/** update columns of table "consent_status" */
export type consent_status_update_column = 'comment' | 'name'


/** columns and relationships of "consent_template_to_template" */
export interface consent_template_to_template {
    /** An object relationship */
    consent_template: consent_templates
    consent_template_id: Scalars['bigint']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    __typename: 'consent_template_to_template'
}


/** aggregated selection of "consent_template_to_template" */
export interface consent_template_to_template_aggregate {
    aggregate?: consent_template_to_template_aggregate_fields
    nodes: consent_template_to_template[]
    __typename: 'consent_template_to_template_aggregate'
}


/** aggregate fields of "consent_template_to_template" */
export interface consent_template_to_template_aggregate_fields {
    avg?: consent_template_to_template_avg_fields
    count: Scalars['Int']
    max?: consent_template_to_template_max_fields
    min?: consent_template_to_template_min_fields
    stddev?: consent_template_to_template_stddev_fields
    stddev_pop?: consent_template_to_template_stddev_pop_fields
    stddev_samp?: consent_template_to_template_stddev_samp_fields
    sum?: consent_template_to_template_sum_fields
    var_pop?: consent_template_to_template_var_pop_fields
    var_samp?: consent_template_to_template_var_samp_fields
    variance?: consent_template_to_template_variance_fields
    __typename: 'consent_template_to_template_aggregate_fields'
}


/** aggregate avg on columns */
export interface consent_template_to_template_avg_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_avg_fields'
}


/** unique or primary key constraints on table "consent_template_to_template" */
export type consent_template_to_template_constraint = 'idx_38600_cons_temp_to_temp_temp_id_cons_temp_id_unique'


/** aggregate max on columns */
export interface consent_template_to_template_max_fields {
    consent_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'consent_template_to_template_max_fields'
}


/** aggregate min on columns */
export interface consent_template_to_template_min_fields {
    consent_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'consent_template_to_template_min_fields'
}


/** response of any mutation on the table "consent_template_to_template" */
export interface consent_template_to_template_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consent_template_to_template[]
    __typename: 'consent_template_to_template_mutation_response'
}


/** select columns of table "consent_template_to_template" */
export type consent_template_to_template_select_column = 'consent_template_id' | 'template_id'


/** aggregate stddev on columns */
export interface consent_template_to_template_stddev_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface consent_template_to_template_stddev_pop_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface consent_template_to_template_stddev_samp_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface consent_template_to_template_sum_fields {
    consent_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'consent_template_to_template_sum_fields'
}


/** update columns of table "consent_template_to_template" */
export type consent_template_to_template_update_column = 'consent_template_id' | 'template_id'


/** aggregate var_pop on columns */
export interface consent_template_to_template_var_pop_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface consent_template_to_template_var_samp_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_var_samp_fields'
}


/** aggregate variance on columns */
export interface consent_template_to_template_variance_fields {
    consent_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'consent_template_to_template_variance_fields'
}


/** columns and relationships of "consent_templates" */
export interface consent_templates {
    /** An array relationship */
    consent_template_to_templates: consent_template_to_template[]
    /** An aggregate relationship */
    consent_template_to_templates_aggregate: consent_template_to_template_aggregate
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    description: Scalars['String']
    /** An object relationship */
    directory_customers?: directory_customers
    /** An array relationship */
    genesis_consent_templates: genesis_consent_templates[]
    /** An aggregate relationship */
    genesis_consent_templates_aggregate: genesis_consent_templates_aggregate
    /** An array relationship */
    genesis_denied_permissions: genesis_denied_permissions[]
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate: genesis_denied_permissions_aggregate
    group: groups_enum
    /** An object relationship */
    groupByGroup: groups
    id: Scalars['bigint']
    region: Scalars['String']
    renew_consent: Scalars['Boolean']
    title: Scalars['String']
    type: types_enum
    /** An object relationship */
    typeByType: types
    updated_at?: Scalars['timestamptz']
    uuid: Scalars['uuid']
    valid_days?: Scalars['bigint']
    valid_to?: Scalars['date']
    __typename: 'consent_templates'
}


/** aggregated selection of "consent_templates" */
export interface consent_templates_aggregate {
    aggregate?: consent_templates_aggregate_fields
    nodes: consent_templates[]
    __typename: 'consent_templates_aggregate'
}


/** aggregate fields of "consent_templates" */
export interface consent_templates_aggregate_fields {
    avg?: consent_templates_avg_fields
    count: Scalars['Int']
    max?: consent_templates_max_fields
    min?: consent_templates_min_fields
    stddev?: consent_templates_stddev_fields
    stddev_pop?: consent_templates_stddev_pop_fields
    stddev_samp?: consent_templates_stddev_samp_fields
    sum?: consent_templates_sum_fields
    var_pop?: consent_templates_var_pop_fields
    var_samp?: consent_templates_var_samp_fields
    variance?: consent_templates_variance_fields
    __typename: 'consent_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface consent_templates_avg_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_avg_fields'
}


/** unique or primary key constraints on table "consent_templates" */
export type consent_templates_constraint = 'consent_templates_uuid_key' | 'idx_38593_primary'


/** aggregate max on columns */
export interface consent_templates_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    uuid?: Scalars['uuid']
    valid_days?: Scalars['bigint']
    valid_to?: Scalars['date']
    __typename: 'consent_templates_max_fields'
}


/** aggregate min on columns */
export interface consent_templates_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    uuid?: Scalars['uuid']
    valid_days?: Scalars['bigint']
    valid_to?: Scalars['date']
    __typename: 'consent_templates_min_fields'
}


/** response of any mutation on the table "consent_templates" */
export interface consent_templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consent_templates[]
    __typename: 'consent_templates_mutation_response'
}


/** select columns of table "consent_templates" */
export type consent_templates_select_column = 'created_at' | 'customer_id' | 'description' | 'group' | 'id' | 'region' | 'renew_consent' | 'title' | 'type' | 'updated_at' | 'uuid' | 'valid_days' | 'valid_to'


/** select "consent_templates_aggregate_bool_exp_bool_and_arguments_columns" columns of table "consent_templates" */
export type consent_templates_select_column_consent_templates_aggregate_bool_exp_bool_and_arguments_columns = 'renew_consent'


/** select "consent_templates_aggregate_bool_exp_bool_or_arguments_columns" columns of table "consent_templates" */
export type consent_templates_select_column_consent_templates_aggregate_bool_exp_bool_or_arguments_columns = 'renew_consent'


/** aggregate stddev on columns */
export interface consent_templates_stddev_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface consent_templates_stddev_pop_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface consent_templates_stddev_samp_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface consent_templates_sum_fields {
    id?: Scalars['bigint']
    valid_days?: Scalars['bigint']
    __typename: 'consent_templates_sum_fields'
}


/** update columns of table "consent_templates" */
export type consent_templates_update_column = 'created_at' | 'customer_id' | 'description' | 'group' | 'id' | 'region' | 'renew_consent' | 'title' | 'type' | 'updated_at' | 'uuid' | 'valid_days' | 'valid_to'


/** aggregate var_pop on columns */
export interface consent_templates_var_pop_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface consent_templates_var_samp_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface consent_templates_variance_fields {
    id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consent_templates_variance_fields'
}


/** columns and relationships of "consents" */
export interface consents {
    accepted: Scalars['Boolean']
    /** An object relationship */
    artifact_parcel?: artifact_parcels
    artifact_parcel_id?: Scalars['uuid']
    /** An array relationship */
    consent_patients: consent_patient[]
    /** An aggregate relationship */
    consent_patients_aggregate: consent_patient_aggregate
    /** An object relationship */
    consent_status: consent_status
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description: Scalars['String']
    /** An object relationship */
    directory_customers?: directory_customers
    /** An array relationship */
    genesis_consent_permissions: genesis_consent_permissions[]
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate: genesis_consent_permissions_aggregate
    group: groups_enum
    /** An object relationship */
    groupByGroup: groups
    id: Scalars['bigint']
    /** An object relationship */
    query?: queries
    query_id?: Scalars['bigint']
    region: Scalars['String']
    renew_consent: Scalars['Boolean']
    status: consent_status_enum
    title: Scalars['String']
    type: types_enum
    /** An object relationship */
    typeByType: types
    updated_at: Scalars['timestamptz']
    valid_days?: Scalars['smallint']
    valid_to?: Scalars['date']
    __typename: 'consents'
}


/** aggregated selection of "consents" */
export interface consents_aggregate {
    aggregate?: consents_aggregate_fields
    nodes: consents[]
    __typename: 'consents_aggregate'
}


/** aggregate fields of "consents" */
export interface consents_aggregate_fields {
    avg?: consents_avg_fields
    count: Scalars['Int']
    max?: consents_max_fields
    min?: consents_min_fields
    stddev?: consents_stddev_fields
    stddev_pop?: consents_stddev_pop_fields
    stddev_samp?: consents_stddev_samp_fields
    sum?: consents_sum_fields
    var_pop?: consents_var_pop_fields
    var_samp?: consents_var_samp_fields
    variance?: consents_variance_fields
    __typename: 'consents_aggregate_fields'
}


/** aggregate avg on columns */
export interface consents_avg_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_avg_fields'
}


/** unique or primary key constraints on table "consents" */
export type consents_constraint = 'idx_38575_primary'


/** aggregate max on columns */
export interface consents_max_fields {
    artifact_parcel_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description?: Scalars['String']
    id?: Scalars['bigint']
    query_id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_days?: Scalars['smallint']
    valid_to?: Scalars['date']
    __typename: 'consents_max_fields'
}


/** aggregate min on columns */
export interface consents_min_fields {
    artifact_parcel_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    description?: Scalars['String']
    id?: Scalars['bigint']
    query_id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_days?: Scalars['smallint']
    valid_to?: Scalars['date']
    __typename: 'consents_min_fields'
}


/** response of any mutation on the table "consents" */
export interface consents_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: consents[]
    __typename: 'consents_mutation_response'
}


/** select columns of table "consents" */
export type consents_select_column = 'accepted' | 'artifact_parcel_id' | 'created_at' | 'customer_id' | 'deleted_at' | 'description' | 'group' | 'id' | 'query_id' | 'region' | 'renew_consent' | 'status' | 'title' | 'type' | 'updated_at' | 'valid_days' | 'valid_to'


/** select "consents_aggregate_bool_exp_bool_and_arguments_columns" columns of table "consents" */
export type consents_select_column_consents_aggregate_bool_exp_bool_and_arguments_columns = 'accepted' | 'renew_consent'


/** select "consents_aggregate_bool_exp_bool_or_arguments_columns" columns of table "consents" */
export type consents_select_column_consents_aggregate_bool_exp_bool_or_arguments_columns = 'accepted' | 'renew_consent'


/** aggregate stddev on columns */
export interface consents_stddev_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface consents_stddev_pop_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface consents_stddev_samp_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface consents_sum_fields {
    id?: Scalars['bigint']
    query_id?: Scalars['bigint']
    valid_days?: Scalars['smallint']
    __typename: 'consents_sum_fields'
}


/** update columns of table "consents" */
export type consents_update_column = 'accepted' | 'artifact_parcel_id' | 'created_at' | 'customer_id' | 'deleted_at' | 'description' | 'group' | 'id' | 'query_id' | 'region' | 'renew_consent' | 'status' | 'title' | 'type' | 'updated_at' | 'valid_days' | 'valid_to'


/** aggregate var_pop on columns */
export interface consents_var_pop_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface consents_var_samp_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_var_samp_fields'
}


/** aggregate variance on columns */
export interface consents_variance_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'consents_variance_fields'
}


/** columns and relationships of "context_group_context" */
export interface context_group_context {
    /** An object relationship */
    context: contexts
    context_id: Scalars['uuid']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    description?: Scalars['String']
    /** An object relationship */
    directory_customers?: directory_customers
    /** An object relationship */
    group_context: group_context
    group_context_id: Scalars['uuid']
    __typename: 'context_group_context'
}


/** aggregated selection of "context_group_context" */
export interface context_group_context_aggregate {
    aggregate?: context_group_context_aggregate_fields
    nodes: context_group_context[]
    __typename: 'context_group_context_aggregate'
}


/** aggregate fields of "context_group_context" */
export interface context_group_context_aggregate_fields {
    count: Scalars['Int']
    max?: context_group_context_max_fields
    min?: context_group_context_min_fields
    __typename: 'context_group_context_aggregate_fields'
}


/** unique or primary key constraints on table "context_group_context" */
export type context_group_context_constraint = 'context_group_context_pkey'


/** aggregate max on columns */
export interface context_group_context_max_fields {
    context_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    group_context_id?: Scalars['uuid']
    __typename: 'context_group_context_max_fields'
}


/** aggregate min on columns */
export interface context_group_context_min_fields {
    context_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    group_context_id?: Scalars['uuid']
    __typename: 'context_group_context_min_fields'
}


/** response of any mutation on the table "context_group_context" */
export interface context_group_context_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: context_group_context[]
    __typename: 'context_group_context_mutation_response'
}


/** select columns of table "context_group_context" */
export type context_group_context_select_column = 'context_id' | 'created_at' | 'customer_id' | 'description' | 'group_context_id'


/** update columns of table "context_group_context" */
export type context_group_context_update_column = 'context_id' | 'created_at' | 'customer_id' | 'description' | 'group_context_id'


/** columns and relationships of "contexts" */
export interface contexts {
    /** An array relationship */
    context_group_contexts: context_group_context[]
    /** An aggregate relationship */
    context_group_contexts_aggregate: context_group_context_aggregate
    customer_id: Scalars['String']
    id: Scalars['uuid']
    /** [deprecated] checks whether exists at least one template of given context with flag user_context_me */
    is_user_context_me?: Scalars['Boolean']
    label: Scalars['String']
    name: Scalars['String']
    /** An array relationship */
    templates: templates[]
    /** An aggregate relationship */
    templates_aggregate: templates_aggregate
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts'
}


/** aggregated selection of "contexts" */
export interface contexts_aggregate {
    aggregate?: contexts_aggregate_fields
    nodes: contexts[]
    __typename: 'contexts_aggregate'
}


/** aggregate fields of "contexts" */
export interface contexts_aggregate_fields {
    avg?: contexts_avg_fields
    count: Scalars['Int']
    max?: contexts_max_fields
    min?: contexts_min_fields
    stddev?: contexts_stddev_fields
    stddev_pop?: contexts_stddev_pop_fields
    stddev_samp?: contexts_stddev_samp_fields
    sum?: contexts_sum_fields
    var_pop?: contexts_var_pop_fields
    var_samp?: contexts_var_samp_fields
    variance?: contexts_variance_fields
    __typename: 'contexts_aggregate_fields'
}


/** aggregate avg on columns */
export interface contexts_avg_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_avg_fields'
}


/** unique or primary key constraints on table "contexts" */
export type contexts_constraint = 'contexts_id_key' | 'contexts_pkey'


/** aggregate max on columns */
export interface contexts_max_fields {
    customer_id?: Scalars['String']
    id?: Scalars['uuid']
    label?: Scalars['String']
    name?: Scalars['String']
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_max_fields'
}


/** aggregate min on columns */
export interface contexts_min_fields {
    customer_id?: Scalars['String']
    id?: Scalars['uuid']
    label?: Scalars['String']
    name?: Scalars['String']
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_min_fields'
}


/** response of any mutation on the table "contexts" */
export interface contexts_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: contexts[]
    __typename: 'contexts_mutation_response'
}


/** select columns of table "contexts" */
export type contexts_select_column = 'customer_id' | 'id' | 'label' | 'name'


/** aggregate stddev on columns */
export interface contexts_stddev_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface contexts_stddev_pop_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface contexts_stddev_samp_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface contexts_sum_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_sum_fields'
}


/** update columns of table "contexts" */
export type contexts_update_column = 'customer_id' | 'id' | 'label' | 'name'


/** aggregate var_pop on columns */
export interface contexts_var_pop_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface contexts_var_samp_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_var_samp_fields'
}


/** aggregate variance on columns */
export interface contexts_variance_fields {
    /** A computed field, executes function "templates_count" */
    templates_count?: Scalars['bigint']
    __typename: 'contexts_variance_fields'
}


/** ordering argument of a cursor */
export type cursor_ordering = 'ASC' | 'DESC'


/** columns and relationships of "custom_db_nodes" */
export interface custom_db_nodes {
    customer_id: Scalars['uuid']
    id: Scalars['bigint']
    region: Scalars['String']
    value: Scalars['jsonb']
    value_old?: Scalars['String']
    __typename: 'custom_db_nodes'
}


/** aggregated selection of "custom_db_nodes" */
export interface custom_db_nodes_aggregate {
    aggregate?: custom_db_nodes_aggregate_fields
    nodes: custom_db_nodes[]
    __typename: 'custom_db_nodes_aggregate'
}


/** aggregate fields of "custom_db_nodes" */
export interface custom_db_nodes_aggregate_fields {
    avg?: custom_db_nodes_avg_fields
    count: Scalars['Int']
    max?: custom_db_nodes_max_fields
    min?: custom_db_nodes_min_fields
    stddev?: custom_db_nodes_stddev_fields
    stddev_pop?: custom_db_nodes_stddev_pop_fields
    stddev_samp?: custom_db_nodes_stddev_samp_fields
    sum?: custom_db_nodes_sum_fields
    var_pop?: custom_db_nodes_var_pop_fields
    var_samp?: custom_db_nodes_var_samp_fields
    variance?: custom_db_nodes_variance_fields
    __typename: 'custom_db_nodes_aggregate_fields'
}


/** aggregate avg on columns */
export interface custom_db_nodes_avg_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_avg_fields'
}


/** unique or primary key constraints on table "custom_db_nodes" */
export type custom_db_nodes_constraint = 'custom_db_nodes_customer_id_key' | 'idx_38605_primary'


/** aggregate max on columns */
export interface custom_db_nodes_max_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    region?: Scalars['String']
    value_old?: Scalars['String']
    __typename: 'custom_db_nodes_max_fields'
}


/** aggregate min on columns */
export interface custom_db_nodes_min_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    region?: Scalars['String']
    value_old?: Scalars['String']
    __typename: 'custom_db_nodes_min_fields'
}


/** response of any mutation on the table "custom_db_nodes" */
export interface custom_db_nodes_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: custom_db_nodes[]
    __typename: 'custom_db_nodes_mutation_response'
}


/** select columns of table "custom_db_nodes" */
export type custom_db_nodes_select_column = 'customer_id' | 'id' | 'region' | 'value' | 'value_old'


/** aggregate stddev on columns */
export interface custom_db_nodes_stddev_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface custom_db_nodes_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface custom_db_nodes_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface custom_db_nodes_sum_fields {
    id?: Scalars['bigint']
    __typename: 'custom_db_nodes_sum_fields'
}


/** update columns of table "custom_db_nodes" */
export type custom_db_nodes_update_column = 'customer_id' | 'id' | 'region' | 'value' | 'value_old'


/** aggregate var_pop on columns */
export interface custom_db_nodes_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface custom_db_nodes_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_var_samp_fields'
}


/** aggregate variance on columns */
export interface custom_db_nodes_variance_fields {
    id?: Scalars['Float']
    __typename: 'custom_db_nodes_variance_fields'
}


/** columns and relationships of "directory_customers" */
export interface directory_customers {
    connector: Scalars['String']
    id: Scalars['uuid']
    name: Scalars['String']
    __typename: 'directory_customers'
}


/** aggregated selection of "directory_customers" */
export interface directory_customers_aggregate {
    aggregate?: directory_customers_aggregate_fields
    nodes: directory_customers[]
    __typename: 'directory_customers_aggregate'
}


/** aggregate fields of "directory_customers" */
export interface directory_customers_aggregate_fields {
    count: Scalars['Int']
    max?: directory_customers_max_fields
    min?: directory_customers_min_fields
    __typename: 'directory_customers_aggregate_fields'
}


/** unique or primary key constraints on table "directory_customers" */
export type directory_customers_constraint = 'directory_customers_id_key' | 'directory_customers_pkey'


/** aggregate max on columns */
export interface directory_customers_max_fields {
    connector?: Scalars['String']
    id?: Scalars['uuid']
    name?: Scalars['String']
    __typename: 'directory_customers_max_fields'
}


/** aggregate min on columns */
export interface directory_customers_min_fields {
    connector?: Scalars['String']
    id?: Scalars['uuid']
    name?: Scalars['String']
    __typename: 'directory_customers_min_fields'
}


/** response of any mutation on the table "directory_customers" */
export interface directory_customers_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: directory_customers[]
    __typename: 'directory_customers_mutation_response'
}


/** select columns of table "directory_customers" */
export type directory_customers_select_column = 'connector' | 'id' | 'name'


/** update columns of table "directory_customers" */
export type directory_customers_update_column = 'connector' | 'id' | 'name'


/** columns and relationships of "directory_user_name" */
export interface directory_user_name {
    first_name: Scalars['String']
    last_name?: Scalars['String']
    middle_name?: Scalars['String']
    user_id: Scalars['uuid']
    __typename: 'directory_user_name'
}


/** aggregated selection of "directory_user_name" */
export interface directory_user_name_aggregate {
    aggregate?: directory_user_name_aggregate_fields
    nodes: directory_user_name[]
    __typename: 'directory_user_name_aggregate'
}


/** aggregate fields of "directory_user_name" */
export interface directory_user_name_aggregate_fields {
    count: Scalars['Int']
    max?: directory_user_name_max_fields
    min?: directory_user_name_min_fields
    __typename: 'directory_user_name_aggregate_fields'
}


/** unique or primary key constraints on table "directory_user_name" */
export type directory_user_name_constraint = 'directory_user_name_pkey'


/** aggregate max on columns */
export interface directory_user_name_max_fields {
    first_name?: Scalars['String']
    last_name?: Scalars['String']
    middle_name?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_user_name_max_fields'
}


/** aggregate min on columns */
export interface directory_user_name_min_fields {
    first_name?: Scalars['String']
    last_name?: Scalars['String']
    middle_name?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_user_name_min_fields'
}


/** response of any mutation on the table "directory_user_name" */
export interface directory_user_name_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: directory_user_name[]
    __typename: 'directory_user_name_mutation_response'
}


/** select columns of table "directory_user_name" */
export type directory_user_name_select_column = 'first_name' | 'last_name' | 'middle_name' | 'user_id'


/** update columns of table "directory_user_name" */
export type directory_user_name_update_column = 'first_name' | 'last_name' | 'middle_name' | 'user_id'


/** columns and relationships of "document_patient" */
export interface document_patient {
    active: Scalars['Boolean']
    actno?: Scalars['String']
    /** An array relationship */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate: adopus_AdgangLinjer_aggregate
    archived: Scalars['Boolean']
    /** An object relationship */
    artifact_package?: artifact_packages
    artifact_package_id?: Scalars['uuid']
    category?: Scalars['String']
    create_user_id?: Scalars['uuid']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    /** An object relationship */
    customers?: directory_customers
    delete_comment?: Scalars['String']
    deleted_at?: Scalars['timestamptz']
    deleted_by?: Scalars['uuid']
    /** An object relationship */
    directory_user_name_patient_id?: directory_user_name
    /** An object relationship */
    document: documents
    document_id: Scalars['bigint']
    for_signing: Scalars['Boolean']
    hide_for_patient?: Scalars['Boolean']
    imported_to_epr: Scalars['Boolean']
    pades_path: Scalars['String']
    patient_id: Scalars['uuid']
    scroll_mode: Scalars['Boolean']
    /** An object relationship */
    securityLevelBySecurityLevel?: security_levels
    security_level?: Scalars['String']
    seen_by_patient: Scalars['Boolean']
    seen_by_therapist?: Scalars['Boolean']
    share_with_recipient?: Scalars['Boolean']
    signicat_request_id: Scalars['String']
    signicat_status: Scalars['String']
    signicat_task_id: Scalars['String']
    soknad_id?: Scalars['String']
    token?: Scalars['String']
    updated_at: Scalars['timestamptz']
    xades_path: Scalars['String']
    __typename: 'document_patient'
}


/** aggregated selection of "document_patient" */
export interface document_patient_aggregate {
    aggregate?: document_patient_aggregate_fields
    nodes: document_patient[]
    __typename: 'document_patient_aggregate'
}


/** aggregate fields of "document_patient" */
export interface document_patient_aggregate_fields {
    avg?: document_patient_avg_fields
    count: Scalars['Int']
    max?: document_patient_max_fields
    min?: document_patient_min_fields
    stddev?: document_patient_stddev_fields
    stddev_pop?: document_patient_stddev_pop_fields
    stddev_samp?: document_patient_stddev_samp_fields
    sum?: document_patient_sum_fields
    var_pop?: document_patient_var_pop_fields
    var_samp?: document_patient_var_samp_fields
    variance?: document_patient_variance_fields
    __typename: 'document_patient_aggregate_fields'
}


/** aggregate avg on columns */
export interface document_patient_avg_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_avg_fields'
}


/** unique or primary key constraints on table "document_patient" */
export type document_patient_constraint = 'idx_38625_primary'


/** aggregate max on columns */
export interface document_patient_max_fields {
    actno?: Scalars['String']
    artifact_package_id?: Scalars['uuid']
    category?: Scalars['String']
    create_user_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    delete_comment?: Scalars['String']
    deleted_at?: Scalars['timestamptz']
    deleted_by?: Scalars['uuid']
    document_id?: Scalars['bigint']
    pades_path?: Scalars['String']
    patient_id?: Scalars['uuid']
    security_level?: Scalars['String']
    signicat_request_id?: Scalars['String']
    signicat_status?: Scalars['String']
    signicat_task_id?: Scalars['String']
    soknad_id?: Scalars['String']
    token?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    xades_path?: Scalars['String']
    __typename: 'document_patient_max_fields'
}


/** aggregate min on columns */
export interface document_patient_min_fields {
    actno?: Scalars['String']
    artifact_package_id?: Scalars['uuid']
    category?: Scalars['String']
    create_user_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    delete_comment?: Scalars['String']
    deleted_at?: Scalars['timestamptz']
    deleted_by?: Scalars['uuid']
    document_id?: Scalars['bigint']
    pades_path?: Scalars['String']
    patient_id?: Scalars['uuid']
    security_level?: Scalars['String']
    signicat_request_id?: Scalars['String']
    signicat_status?: Scalars['String']
    signicat_task_id?: Scalars['String']
    soknad_id?: Scalars['String']
    token?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    xades_path?: Scalars['String']
    __typename: 'document_patient_min_fields'
}


/** response of any mutation on the table "document_patient" */
export interface document_patient_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: document_patient[]
    __typename: 'document_patient_mutation_response'
}


/** select columns of table "document_patient" */
export type document_patient_select_column = 'active' | 'actno' | 'archived' | 'artifact_package_id' | 'category' | 'create_user_id' | 'created_at' | 'customer_id' | 'delete_comment' | 'deleted_at' | 'deleted_by' | 'document_id' | 'for_signing' | 'hide_for_patient' | 'imported_to_epr' | 'pades_path' | 'patient_id' | 'scroll_mode' | 'security_level' | 'seen_by_patient' | 'seen_by_therapist' | 'share_with_recipient' | 'signicat_request_id' | 'signicat_status' | 'signicat_task_id' | 'soknad_id' | 'token' | 'updated_at' | 'xades_path'


/** select "document_patient_aggregate_bool_exp_bool_and_arguments_columns" columns of table "document_patient" */
export type document_patient_select_column_document_patient_aggregate_bool_exp_bool_and_arguments_columns = 'active' | 'archived' | 'for_signing' | 'hide_for_patient' | 'imported_to_epr' | 'scroll_mode' | 'seen_by_patient' | 'seen_by_therapist' | 'share_with_recipient'


/** select "document_patient_aggregate_bool_exp_bool_or_arguments_columns" columns of table "document_patient" */
export type document_patient_select_column_document_patient_aggregate_bool_exp_bool_or_arguments_columns = 'active' | 'archived' | 'for_signing' | 'hide_for_patient' | 'imported_to_epr' | 'scroll_mode' | 'seen_by_patient' | 'seen_by_therapist' | 'share_with_recipient'


/** aggregate stddev on columns */
export interface document_patient_stddev_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface document_patient_stddev_pop_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface document_patient_stddev_samp_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface document_patient_sum_fields {
    document_id?: Scalars['bigint']
    __typename: 'document_patient_sum_fields'
}


/** update columns of table "document_patient" */
export type document_patient_update_column = 'active' | 'actno' | 'archived' | 'artifact_package_id' | 'category' | 'create_user_id' | 'created_at' | 'customer_id' | 'delete_comment' | 'deleted_at' | 'deleted_by' | 'document_id' | 'for_signing' | 'hide_for_patient' | 'imported_to_epr' | 'pades_path' | 'patient_id' | 'scroll_mode' | 'security_level' | 'seen_by_patient' | 'seen_by_therapist' | 'share_with_recipient' | 'signicat_request_id' | 'signicat_status' | 'signicat_task_id' | 'soknad_id' | 'token' | 'updated_at' | 'xades_path'


/** aggregate var_pop on columns */
export interface document_patient_var_pop_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface document_patient_var_samp_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_var_samp_fields'
}


/** aggregate variance on columns */
export interface document_patient_variance_fields {
    document_id?: Scalars['Float']
    __typename: 'document_patient_variance_fields'
}


/** columns and relationships of "document_sms" */
export interface document_sms {
    /** An object relationship */
    document: documents
    document_id: Scalars['bigint']
    /** An object relationship */
    sm: sms
    sms_id: Scalars['bigint']
    __typename: 'document_sms'
}


/** aggregated selection of "document_sms" */
export interface document_sms_aggregate {
    aggregate?: document_sms_aggregate_fields
    nodes: document_sms[]
    __typename: 'document_sms_aggregate'
}


/** aggregate fields of "document_sms" */
export interface document_sms_aggregate_fields {
    avg?: document_sms_avg_fields
    count: Scalars['Int']
    max?: document_sms_max_fields
    min?: document_sms_min_fields
    stddev?: document_sms_stddev_fields
    stddev_pop?: document_sms_stddev_pop_fields
    stddev_samp?: document_sms_stddev_samp_fields
    sum?: document_sms_sum_fields
    var_pop?: document_sms_var_pop_fields
    var_samp?: document_sms_var_samp_fields
    variance?: document_sms_variance_fields
    __typename: 'document_sms_aggregate_fields'
}


/** aggregate avg on columns */
export interface document_sms_avg_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_avg_fields'
}


/** aggregate max on columns */
export interface document_sms_max_fields {
    document_id?: Scalars['bigint']
    sms_id?: Scalars['bigint']
    __typename: 'document_sms_max_fields'
}


/** aggregate min on columns */
export interface document_sms_min_fields {
    document_id?: Scalars['bigint']
    sms_id?: Scalars['bigint']
    __typename: 'document_sms_min_fields'
}


/** response of any mutation on the table "document_sms" */
export interface document_sms_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: document_sms[]
    __typename: 'document_sms_mutation_response'
}


/** select columns of table "document_sms" */
export type document_sms_select_column = 'document_id' | 'sms_id'


/** aggregate stddev on columns */
export interface document_sms_stddev_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface document_sms_stddev_pop_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface document_sms_stddev_samp_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface document_sms_sum_fields {
    document_id?: Scalars['bigint']
    sms_id?: Scalars['bigint']
    __typename: 'document_sms_sum_fields'
}


/** aggregate var_pop on columns */
export interface document_sms_var_pop_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface document_sms_var_samp_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_var_samp_fields'
}


/** aggregate variance on columns */
export interface document_sms_variance_fields {
    document_id?: Scalars['Float']
    sms_id?: Scalars['Float']
    __typename: 'document_sms_variance_fields'
}


/** columns and relationships of "documents" */
export interface documents {
    /** An object relationship */
    artifact_parcel?: artifact_parcels
    artifact_parcel_id?: Scalars['uuid']
    auto_import: Scalars['Boolean']
    combine_signatures: Scalars['Boolean']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directory_user_name_upload_patient_id?: directory_user_name
    /** An array relationship */
    document_patients: document_patient[]
    /** An aggregate relationship */
    document_patients_aggregate: document_patient_aggregate
    /** An array relationship */
    document_sms: document_sms[]
    /** An aggregate relationship */
    document_sms_aggregate: document_sms_aggregate
    id: Scalars['bigint']
    name: Scalars['String']
    path: Scalars['String']
    /** An object relationship */
    queries?: queries
    /** An object relationship */
    queries_log?: queries_log
    region?: Scalars['String']
    sds_id?: Scalars['String']
    signed_by_therapist: Scalars['Boolean']
    updated_at: Scalars['timestamptz']
    upload_patient_id?: Scalars['uuid']
    __typename: 'documents'
}


/** aggregated selection of "documents" */
export interface documents_aggregate {
    aggregate?: documents_aggregate_fields
    nodes: documents[]
    __typename: 'documents_aggregate'
}


/** aggregate fields of "documents" */
export interface documents_aggregate_fields {
    avg?: documents_avg_fields
    count: Scalars['Int']
    max?: documents_max_fields
    min?: documents_min_fields
    stddev?: documents_stddev_fields
    stddev_pop?: documents_stddev_pop_fields
    stddev_samp?: documents_stddev_samp_fields
    sum?: documents_sum_fields
    var_pop?: documents_var_pop_fields
    var_samp?: documents_var_samp_fields
    variance?: documents_variance_fields
    __typename: 'documents_aggregate_fields'
}


/** aggregate avg on columns */
export interface documents_avg_fields {
    id?: Scalars['Float']
    __typename: 'documents_avg_fields'
}


/** unique or primary key constraints on table "documents" */
export type documents_constraint = 'idx_38614_primary'


/** aggregate max on columns */
export interface documents_max_fields {
    artifact_parcel_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    name?: Scalars['String']
    path?: Scalars['String']
    region?: Scalars['String']
    sds_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    upload_patient_id?: Scalars['uuid']
    __typename: 'documents_max_fields'
}


/** aggregate min on columns */
export interface documents_min_fields {
    artifact_parcel_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    name?: Scalars['String']
    path?: Scalars['String']
    region?: Scalars['String']
    sds_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    upload_patient_id?: Scalars['uuid']
    __typename: 'documents_min_fields'
}


/** response of any mutation on the table "documents" */
export interface documents_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: documents[]
    __typename: 'documents_mutation_response'
}


/** columns and relationships of "documents_overview" */
export interface documents_overview {
    completed?: Scalars['bigint']
    customer_id?: Scalars['uuid']
    shared_docs?: Scalars['bigint']
    waiting?: Scalars['bigint']
    __typename: 'documents_overview'
}


/** aggregated selection of "documents_overview" */
export interface documents_overview_aggregate {
    aggregate?: documents_overview_aggregate_fields
    nodes: documents_overview[]
    __typename: 'documents_overview_aggregate'
}


/** aggregate fields of "documents_overview" */
export interface documents_overview_aggregate_fields {
    avg?: documents_overview_avg_fields
    count: Scalars['Int']
    max?: documents_overview_max_fields
    min?: documents_overview_min_fields
    stddev?: documents_overview_stddev_fields
    stddev_pop?: documents_overview_stddev_pop_fields
    stddev_samp?: documents_overview_stddev_samp_fields
    sum?: documents_overview_sum_fields
    var_pop?: documents_overview_var_pop_fields
    var_samp?: documents_overview_var_samp_fields
    variance?: documents_overview_variance_fields
    __typename: 'documents_overview_aggregate_fields'
}


/** aggregate avg on columns */
export interface documents_overview_avg_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_avg_fields'
}


/** aggregate max on columns */
export interface documents_overview_max_fields {
    completed?: Scalars['bigint']
    customer_id?: Scalars['uuid']
    shared_docs?: Scalars['bigint']
    waiting?: Scalars['bigint']
    __typename: 'documents_overview_max_fields'
}


/** aggregate min on columns */
export interface documents_overview_min_fields {
    completed?: Scalars['bigint']
    customer_id?: Scalars['uuid']
    shared_docs?: Scalars['bigint']
    waiting?: Scalars['bigint']
    __typename: 'documents_overview_min_fields'
}


/** select columns of table "documents_overview" */
export type documents_overview_select_column = 'completed' | 'customer_id' | 'shared_docs' | 'waiting'


/** aggregate stddev on columns */
export interface documents_overview_stddev_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface documents_overview_stddev_pop_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface documents_overview_stddev_samp_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface documents_overview_sum_fields {
    completed?: Scalars['bigint']
    shared_docs?: Scalars['bigint']
    waiting?: Scalars['bigint']
    __typename: 'documents_overview_sum_fields'
}


/** aggregate var_pop on columns */
export interface documents_overview_var_pop_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface documents_overview_var_samp_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_var_samp_fields'
}


/** aggregate variance on columns */
export interface documents_overview_variance_fields {
    completed?: Scalars['Float']
    shared_docs?: Scalars['Float']
    waiting?: Scalars['Float']
    __typename: 'documents_overview_variance_fields'
}


/** select columns of table "documents" */
export type documents_select_column = 'artifact_parcel_id' | 'auto_import' | 'combine_signatures' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'name' | 'path' | 'region' | 'sds_id' | 'signed_by_therapist' | 'updated_at' | 'upload_patient_id'


/** select "documents_aggregate_bool_exp_bool_and_arguments_columns" columns of table "documents" */
export type documents_select_column_documents_aggregate_bool_exp_bool_and_arguments_columns = 'auto_import' | 'combine_signatures' | 'signed_by_therapist'


/** select "documents_aggregate_bool_exp_bool_or_arguments_columns" columns of table "documents" */
export type documents_select_column_documents_aggregate_bool_exp_bool_or_arguments_columns = 'auto_import' | 'combine_signatures' | 'signed_by_therapist'


/** aggregate stddev on columns */
export interface documents_stddev_fields {
    id?: Scalars['Float']
    __typename: 'documents_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface documents_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'documents_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface documents_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'documents_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface documents_sum_fields {
    id?: Scalars['bigint']
    __typename: 'documents_sum_fields'
}


/** update columns of table "documents" */
export type documents_update_column = 'artifact_parcel_id' | 'auto_import' | 'combine_signatures' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'name' | 'path' | 'region' | 'sds_id' | 'signed_by_therapist' | 'updated_at' | 'upload_patient_id'


/** aggregate var_pop on columns */
export interface documents_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'documents_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface documents_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'documents_var_samp_fields'
}


/** aggregate variance on columns */
export interface documents_variance_fields {
    id?: Scalars['Float']
    __typename: 'documents_variance_fields'
}


/** columns and relationships of "event_artifact_package" */
export interface event_artifact_package {
    /** An object relationship */
    artifact_package?: artifact_packages
    artifact_package_id: Scalars['uuid']
    created_at: Scalars['timestamptz']
    created_by: Scalars['uuid']
    event_id: Scalars['uuid']
    updated_at: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    __typename: 'event_artifact_package'
}


/** aggregated selection of "event_artifact_package" */
export interface event_artifact_package_aggregate {
    aggregate?: event_artifact_package_aggregate_fields
    nodes: event_artifact_package[]
    __typename: 'event_artifact_package_aggregate'
}


/** aggregate fields of "event_artifact_package" */
export interface event_artifact_package_aggregate_fields {
    count: Scalars['Int']
    max?: event_artifact_package_max_fields
    min?: event_artifact_package_min_fields
    __typename: 'event_artifact_package_aggregate_fields'
}


/** unique or primary key constraints on table "event_artifact_package" */
export type event_artifact_package_constraint = 'event_artifact_package_pkey'


/** aggregate max on columns */
export interface event_artifact_package_max_fields {
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['uuid']
    event_id?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    __typename: 'event_artifact_package_max_fields'
}


/** aggregate min on columns */
export interface event_artifact_package_min_fields {
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['uuid']
    event_id?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    __typename: 'event_artifact_package_min_fields'
}


/** response of any mutation on the table "event_artifact_package" */
export interface event_artifact_package_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: event_artifact_package[]
    __typename: 'event_artifact_package_mutation_response'
}


/** select columns of table "event_artifact_package" */
export type event_artifact_package_select_column = 'artifact_package_id' | 'created_at' | 'created_by' | 'event_id' | 'updated_at' | 'updated_by'


/** update columns of table "event_artifact_package" */
export type event_artifact_package_update_column = 'artifact_package_id' | 'created_at' | 'created_by' | 'event_id' | 'updated_at' | 'updated_by'


/** deprecated use favorites table instead */
export interface favorite_templates_order {
    customer_id: Scalars['uuid']
    order: Scalars['bigint']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    user_id: Scalars['uuid']
    __typename: 'favorite_templates_order'
}


/** aggregated selection of "favorite_templates_order" */
export interface favorite_templates_order_aggregate {
    aggregate?: favorite_templates_order_aggregate_fields
    nodes: favorite_templates_order[]
    __typename: 'favorite_templates_order_aggregate'
}


/** aggregate fields of "favorite_templates_order" */
export interface favorite_templates_order_aggregate_fields {
    avg?: favorite_templates_order_avg_fields
    count: Scalars['Int']
    max?: favorite_templates_order_max_fields
    min?: favorite_templates_order_min_fields
    stddev?: favorite_templates_order_stddev_fields
    stddev_pop?: favorite_templates_order_stddev_pop_fields
    stddev_samp?: favorite_templates_order_stddev_samp_fields
    sum?: favorite_templates_order_sum_fields
    var_pop?: favorite_templates_order_var_pop_fields
    var_samp?: favorite_templates_order_var_samp_fields
    variance?: favorite_templates_order_variance_fields
    __typename: 'favorite_templates_order_aggregate_fields'
}


/** aggregate avg on columns */
export interface favorite_templates_order_avg_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_avg_fields'
}


/** unique or primary key constraints on table "favorite_templates_order" */
export type favorite_templates_order_constraint = 'favorite_templates_order_pkey'


/** aggregate max on columns */
export interface favorite_templates_order_max_fields {
    customer_id?: Scalars['uuid']
    order?: Scalars['bigint']
    template_id?: Scalars['bigint']
    user_id?: Scalars['uuid']
    __typename: 'favorite_templates_order_max_fields'
}


/** aggregate min on columns */
export interface favorite_templates_order_min_fields {
    customer_id?: Scalars['uuid']
    order?: Scalars['bigint']
    template_id?: Scalars['bigint']
    user_id?: Scalars['uuid']
    __typename: 'favorite_templates_order_min_fields'
}


/** response of any mutation on the table "favorite_templates_order" */
export interface favorite_templates_order_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: favorite_templates_order[]
    __typename: 'favorite_templates_order_mutation_response'
}


/** select columns of table "favorite_templates_order" */
export type favorite_templates_order_select_column = 'customer_id' | 'order' | 'template_id' | 'user_id'


/** aggregate stddev on columns */
export interface favorite_templates_order_stddev_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface favorite_templates_order_stddev_pop_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface favorite_templates_order_stddev_samp_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface favorite_templates_order_sum_fields {
    order?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'favorite_templates_order_sum_fields'
}


/** update columns of table "favorite_templates_order" */
export type favorite_templates_order_update_column = 'customer_id' | 'order' | 'template_id' | 'user_id'


/** aggregate var_pop on columns */
export interface favorite_templates_order_var_pop_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface favorite_templates_order_var_samp_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_var_samp_fields'
}


/** aggregate variance on columns */
export interface favorite_templates_order_variance_fields {
    order?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'favorite_templates_order_variance_fields'
}


/** columns and relationships of "favorites" */
export interface favorites {
    customer_id: Scalars['uuid']
    entity_id: Scalars['uuid']
    order: Scalars['Int']
    /** An object relationship */
    tableNameByTableName: table_names
    table_name: table_names_enum
    user_id: Scalars['uuid']
    __typename: 'favorites'
}


/** aggregated selection of "favorites" */
export interface favorites_aggregate {
    aggregate?: favorites_aggregate_fields
    nodes: favorites[]
    __typename: 'favorites_aggregate'
}


/** aggregate fields of "favorites" */
export interface favorites_aggregate_fields {
    avg?: favorites_avg_fields
    count: Scalars['Int']
    max?: favorites_max_fields
    min?: favorites_min_fields
    stddev?: favorites_stddev_fields
    stddev_pop?: favorites_stddev_pop_fields
    stddev_samp?: favorites_stddev_samp_fields
    sum?: favorites_sum_fields
    var_pop?: favorites_var_pop_fields
    var_samp?: favorites_var_samp_fields
    variance?: favorites_variance_fields
    __typename: 'favorites_aggregate_fields'
}


/** aggregate avg on columns */
export interface favorites_avg_fields {
    order?: Scalars['Float']
    __typename: 'favorites_avg_fields'
}


/** unique or primary key constraints on table "favorites" */
export type favorites_constraint = 'favorites_pkey'


/** aggregate max on columns */
export interface favorites_max_fields {
    customer_id?: Scalars['uuid']
    entity_id?: Scalars['uuid']
    order?: Scalars['Int']
    user_id?: Scalars['uuid']
    __typename: 'favorites_max_fields'
}


/** aggregate min on columns */
export interface favorites_min_fields {
    customer_id?: Scalars['uuid']
    entity_id?: Scalars['uuid']
    order?: Scalars['Int']
    user_id?: Scalars['uuid']
    __typename: 'favorites_min_fields'
}


/** response of any mutation on the table "favorites" */
export interface favorites_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: favorites[]
    __typename: 'favorites_mutation_response'
}


/** select columns of table "favorites" */
export type favorites_select_column = 'customer_id' | 'entity_id' | 'order' | 'table_name' | 'user_id'


/** aggregate stddev on columns */
export interface favorites_stddev_fields {
    order?: Scalars['Float']
    __typename: 'favorites_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface favorites_stddev_pop_fields {
    order?: Scalars['Float']
    __typename: 'favorites_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface favorites_stddev_samp_fields {
    order?: Scalars['Float']
    __typename: 'favorites_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface favorites_sum_fields {
    order?: Scalars['Int']
    __typename: 'favorites_sum_fields'
}


/** update columns of table "favorites" */
export type favorites_update_column = 'customer_id' | 'entity_id' | 'order' | 'table_name' | 'user_id'


/** aggregate var_pop on columns */
export interface favorites_var_pop_fields {
    order?: Scalars['Float']
    __typename: 'favorites_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface favorites_var_samp_fields {
    order?: Scalars['Float']
    __typename: 'favorites_var_samp_fields'
}


/** aggregate variance on columns */
export interface favorites_variance_fields {
    order?: Scalars['Float']
    __typename: 'favorites_variance_fields'
}


/** columns and relationships of "filter_names" */
export interface filter_names {
    description?: Scalars['String']
    /** An array relationship */
    group_context_filters: group_context_filters[]
    /** An aggregate relationship */
    group_context_filters_aggregate: group_context_filters_aggregate
    name: Scalars['String']
    __typename: 'filter_names'
}


/** aggregated selection of "filter_names" */
export interface filter_names_aggregate {
    aggregate?: filter_names_aggregate_fields
    nodes: filter_names[]
    __typename: 'filter_names_aggregate'
}


/** aggregate fields of "filter_names" */
export interface filter_names_aggregate_fields {
    count: Scalars['Int']
    max?: filter_names_max_fields
    min?: filter_names_min_fields
    __typename: 'filter_names_aggregate_fields'
}


/** unique or primary key constraints on table "filter_names" */
export type filter_names_constraint = 'filter_names_pkey'

export type filter_names_enum = 'journal_role' | 'journal_user_id' | 'offer'


/** aggregate max on columns */
export interface filter_names_max_fields {
    description?: Scalars['String']
    name?: Scalars['String']
    __typename: 'filter_names_max_fields'
}


/** aggregate min on columns */
export interface filter_names_min_fields {
    description?: Scalars['String']
    name?: Scalars['String']
    __typename: 'filter_names_min_fields'
}


/** response of any mutation on the table "filter_names" */
export interface filter_names_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: filter_names[]
    __typename: 'filter_names_mutation_response'
}


/** select columns of table "filter_names" */
export type filter_names_select_column = 'description' | 'name'


/** update columns of table "filter_names" */
export type filter_names_update_column = 'description' | 'name'


/** columns and relationships of "genesis_consent_permissions" */
export interface genesis_consent_permissions {
    /** An object relationship */
    consent: consents
    consent_id: Scalars['bigint']
    customer_id: Scalars['uuid']
    __typename: 'genesis_consent_permissions'
}


/** aggregated selection of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate {
    aggregate?: genesis_consent_permissions_aggregate_fields
    nodes: genesis_consent_permissions[]
    __typename: 'genesis_consent_permissions_aggregate'
}


/** aggregate fields of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate_fields {
    avg?: genesis_consent_permissions_avg_fields
    count: Scalars['Int']
    max?: genesis_consent_permissions_max_fields
    min?: genesis_consent_permissions_min_fields
    stddev?: genesis_consent_permissions_stddev_fields
    stddev_pop?: genesis_consent_permissions_stddev_pop_fields
    stddev_samp?: genesis_consent_permissions_stddev_samp_fields
    sum?: genesis_consent_permissions_sum_fields
    var_pop?: genesis_consent_permissions_var_pop_fields
    var_samp?: genesis_consent_permissions_var_samp_fields
    variance?: genesis_consent_permissions_variance_fields
    __typename: 'genesis_consent_permissions_aggregate_fields'
}


/** aggregate avg on columns */
export interface genesis_consent_permissions_avg_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_avg_fields'
}


/** unique or primary key constraints on table "genesis_consent_permissions" */
export type genesis_consent_permissions_constraint = 'genesis_consent_permissions_pkey'


/** aggregate max on columns */
export interface genesis_consent_permissions_max_fields {
    consent_id?: Scalars['bigint']
    customer_id?: Scalars['uuid']
    __typename: 'genesis_consent_permissions_max_fields'
}


/** aggregate min on columns */
export interface genesis_consent_permissions_min_fields {
    consent_id?: Scalars['bigint']
    customer_id?: Scalars['uuid']
    __typename: 'genesis_consent_permissions_min_fields'
}


/** response of any mutation on the table "genesis_consent_permissions" */
export interface genesis_consent_permissions_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: genesis_consent_permissions[]
    __typename: 'genesis_consent_permissions_mutation_response'
}


/** select columns of table "genesis_consent_permissions" */
export type genesis_consent_permissions_select_column = 'consent_id' | 'customer_id'


/** aggregate stddev on columns */
export interface genesis_consent_permissions_stddev_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_permissions_stddev_pop_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_permissions_stddev_samp_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface genesis_consent_permissions_sum_fields {
    consent_id?: Scalars['bigint']
    __typename: 'genesis_consent_permissions_sum_fields'
}


/** update columns of table "genesis_consent_permissions" */
export type genesis_consent_permissions_update_column = 'consent_id' | 'customer_id'


/** aggregate var_pop on columns */
export interface genesis_consent_permissions_var_pop_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface genesis_consent_permissions_var_samp_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_var_samp_fields'
}


/** aggregate variance on columns */
export interface genesis_consent_permissions_variance_fields {
    consent_id?: Scalars['Float']
    __typename: 'genesis_consent_permissions_variance_fields'
}


/** columns and relationships of "genesis_consent_templates" */
export interface genesis_consent_templates {
    /** An object relationship */
    consent_template: consent_templates
    consent_template_id: Scalars['bigint']
    genesis_set: Scalars['String']
    __typename: 'genesis_consent_templates'
}


/** aggregated selection of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate {
    aggregate?: genesis_consent_templates_aggregate_fields
    nodes: genesis_consent_templates[]
    __typename: 'genesis_consent_templates_aggregate'
}


/** aggregate fields of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate_fields {
    avg?: genesis_consent_templates_avg_fields
    count: Scalars['Int']
    max?: genesis_consent_templates_max_fields
    min?: genesis_consent_templates_min_fields
    stddev?: genesis_consent_templates_stddev_fields
    stddev_pop?: genesis_consent_templates_stddev_pop_fields
    stddev_samp?: genesis_consent_templates_stddev_samp_fields
    sum?: genesis_consent_templates_sum_fields
    var_pop?: genesis_consent_templates_var_pop_fields
    var_samp?: genesis_consent_templates_var_samp_fields
    variance?: genesis_consent_templates_variance_fields
    __typename: 'genesis_consent_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface genesis_consent_templates_avg_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_avg_fields'
}


/** unique or primary key constraints on table "genesis_consent_templates" */
export type genesis_consent_templates_constraint = 'genesis_consent_templates_pkey'


/** aggregate max on columns */
export interface genesis_consent_templates_max_fields {
    consent_template_id?: Scalars['bigint']
    genesis_set?: Scalars['String']
    __typename: 'genesis_consent_templates_max_fields'
}


/** aggregate min on columns */
export interface genesis_consent_templates_min_fields {
    consent_template_id?: Scalars['bigint']
    genesis_set?: Scalars['String']
    __typename: 'genesis_consent_templates_min_fields'
}


/** response of any mutation on the table "genesis_consent_templates" */
export interface genesis_consent_templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: genesis_consent_templates[]
    __typename: 'genesis_consent_templates_mutation_response'
}


/** select columns of table "genesis_consent_templates" */
export type genesis_consent_templates_select_column = 'consent_template_id' | 'genesis_set'


/** aggregate stddev on columns */
export interface genesis_consent_templates_stddev_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_templates_stddev_pop_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_templates_stddev_samp_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface genesis_consent_templates_sum_fields {
    consent_template_id?: Scalars['bigint']
    __typename: 'genesis_consent_templates_sum_fields'
}


/** update columns of table "genesis_consent_templates" */
export type genesis_consent_templates_update_column = 'consent_template_id' | 'genesis_set'


/** aggregate var_pop on columns */
export interface genesis_consent_templates_var_pop_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface genesis_consent_templates_var_samp_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface genesis_consent_templates_variance_fields {
    consent_template_id?: Scalars['Float']
    __typename: 'genesis_consent_templates_variance_fields'
}


/** columns and relationships of "genesis_denied_permissions" */
export interface genesis_denied_permissions {
    customer_id: Scalars['uuid']
    table_id: Scalars['uuid']
    __typename: 'genesis_denied_permissions'
}


/** aggregated selection of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate {
    aggregate?: genesis_denied_permissions_aggregate_fields
    nodes: genesis_denied_permissions[]
    __typename: 'genesis_denied_permissions_aggregate'
}


/** aggregate fields of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate_fields {
    count: Scalars['Int']
    max?: genesis_denied_permissions_max_fields
    min?: genesis_denied_permissions_min_fields
    __typename: 'genesis_denied_permissions_aggregate_fields'
}


/** unique or primary key constraints on table "genesis_denied_permissions" */
export type genesis_denied_permissions_constraint = 'genesis_templates_permissions_pkey'


/** aggregate max on columns */
export interface genesis_denied_permissions_max_fields {
    customer_id?: Scalars['uuid']
    table_id?: Scalars['uuid']
    __typename: 'genesis_denied_permissions_max_fields'
}


/** aggregate min on columns */
export interface genesis_denied_permissions_min_fields {
    customer_id?: Scalars['uuid']
    table_id?: Scalars['uuid']
    __typename: 'genesis_denied_permissions_min_fields'
}


/** response of any mutation on the table "genesis_denied_permissions" */
export interface genesis_denied_permissions_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: genesis_denied_permissions[]
    __typename: 'genesis_denied_permissions_mutation_response'
}


/** select columns of table "genesis_denied_permissions" */
export type genesis_denied_permissions_select_column = 'customer_id' | 'table_id'


/** update columns of table "genesis_denied_permissions" */
export type genesis_denied_permissions_update_column = 'customer_id' | 'table_id'


/** columns and relationships of "genesis_templates" */
export interface genesis_templates {
    created_at: Scalars['timestamptz']
    genesis_set: Scalars['String']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    updated_at?: Scalars['timestamptz']
    __typename: 'genesis_templates'
}


/** aggregated selection of "genesis_templates" */
export interface genesis_templates_aggregate {
    aggregate?: genesis_templates_aggregate_fields
    nodes: genesis_templates[]
    __typename: 'genesis_templates_aggregate'
}


/** aggregate fields of "genesis_templates" */
export interface genesis_templates_aggregate_fields {
    avg?: genesis_templates_avg_fields
    count: Scalars['Int']
    max?: genesis_templates_max_fields
    min?: genesis_templates_min_fields
    stddev?: genesis_templates_stddev_fields
    stddev_pop?: genesis_templates_stddev_pop_fields
    stddev_samp?: genesis_templates_stddev_samp_fields
    sum?: genesis_templates_sum_fields
    var_pop?: genesis_templates_var_pop_fields
    var_samp?: genesis_templates_var_samp_fields
    variance?: genesis_templates_variance_fields
    __typename: 'genesis_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface genesis_templates_avg_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_avg_fields'
}


/** unique or primary key constraints on table "genesis_templates" */
export type genesis_templates_constraint = 'genesis_templates_pkey'


/** aggregate max on columns */
export interface genesis_templates_max_fields {
    created_at?: Scalars['timestamptz']
    genesis_set?: Scalars['String']
    template_id?: Scalars['bigint']
    updated_at?: Scalars['timestamptz']
    __typename: 'genesis_templates_max_fields'
}


/** aggregate min on columns */
export interface genesis_templates_min_fields {
    created_at?: Scalars['timestamptz']
    genesis_set?: Scalars['String']
    template_id?: Scalars['bigint']
    updated_at?: Scalars['timestamptz']
    __typename: 'genesis_templates_min_fields'
}


/** response of any mutation on the table "genesis_templates" */
export interface genesis_templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: genesis_templates[]
    __typename: 'genesis_templates_mutation_response'
}


/** select columns of table "genesis_templates" */
export type genesis_templates_select_column = 'created_at' | 'genesis_set' | 'template_id' | 'updated_at'


/** aggregate stddev on columns */
export interface genesis_templates_stddev_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface genesis_templates_stddev_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface genesis_templates_stddev_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface genesis_templates_sum_fields {
    template_id?: Scalars['bigint']
    __typename: 'genesis_templates_sum_fields'
}


/** update columns of table "genesis_templates" */
export type genesis_templates_update_column = 'created_at' | 'genesis_set' | 'template_id' | 'updated_at'


/** aggregate var_pop on columns */
export interface genesis_templates_var_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface genesis_templates_var_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface genesis_templates_variance_fields {
    template_id?: Scalars['Float']
    __typename: 'genesis_templates_variance_fields'
}


/** columns and relationships of "group_context" */
export interface group_context {
    /** An array relationship */
    context_group_contexts: context_group_context[]
    /** An aggregate relationship */
    context_group_contexts_aggregate: context_group_context_aggregate
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    /** An object relationship */
    directory_customers?: directory_customers
    /** An array relationship */
    group_context_filters: group_context_filters[]
    /** An aggregate relationship */
    group_context_filters_aggregate: group_context_filters_aggregate
    id: Scalars['uuid']
    label: Scalars['String']
    name: Scalars['String']
    __typename: 'group_context'
}


/** aggregated selection of "group_context" */
export interface group_context_aggregate {
    aggregate?: group_context_aggregate_fields
    nodes: group_context[]
    __typename: 'group_context_aggregate'
}


/** aggregate fields of "group_context" */
export interface group_context_aggregate_fields {
    count: Scalars['Int']
    max?: group_context_max_fields
    min?: group_context_min_fields
    __typename: 'group_context_aggregate_fields'
}


/** unique or primary key constraints on table "group_context" */
export type group_context_constraint = 'group_context_customer_id_name_key' | 'group_context_pkey'


/** columns and relationships of "group_context_filters" */
export interface group_context_filters {
    customer_id: Scalars['uuid']
    filter: Scalars['String']
    /** An object relationship */
    filterNameByFilterName: filter_names
    filter_name: filter_names_enum
    /** An object relationship */
    group_context: group_context
    group_context_id: Scalars['uuid']
    __typename: 'group_context_filters'
}


/** aggregated selection of "group_context_filters" */
export interface group_context_filters_aggregate {
    aggregate?: group_context_filters_aggregate_fields
    nodes: group_context_filters[]
    __typename: 'group_context_filters_aggregate'
}


/** aggregate fields of "group_context_filters" */
export interface group_context_filters_aggregate_fields {
    count: Scalars['Int']
    max?: group_context_filters_max_fields
    min?: group_context_filters_min_fields
    __typename: 'group_context_filters_aggregate_fields'
}


/** unique or primary key constraints on table "group_context_filters" */
export type group_context_filters_constraint = 'group_context_filters_pkey'


/** aggregate max on columns */
export interface group_context_filters_max_fields {
    customer_id?: Scalars['uuid']
    filter?: Scalars['String']
    group_context_id?: Scalars['uuid']
    __typename: 'group_context_filters_max_fields'
}


/** aggregate min on columns */
export interface group_context_filters_min_fields {
    customer_id?: Scalars['uuid']
    filter?: Scalars['String']
    group_context_id?: Scalars['uuid']
    __typename: 'group_context_filters_min_fields'
}


/** response of any mutation on the table "group_context_filters" */
export interface group_context_filters_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: group_context_filters[]
    __typename: 'group_context_filters_mutation_response'
}


/** select columns of table "group_context_filters" */
export type group_context_filters_select_column = 'customer_id' | 'filter' | 'filter_name' | 'group_context_id'


/** update columns of table "group_context_filters" */
export type group_context_filters_update_column = 'customer_id' | 'filter' | 'filter_name' | 'group_context_id'


/** aggregate max on columns */
export interface group_context_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    label?: Scalars['String']
    name?: Scalars['String']
    __typename: 'group_context_max_fields'
}


/** aggregate min on columns */
export interface group_context_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    label?: Scalars['String']
    name?: Scalars['String']
    __typename: 'group_context_min_fields'
}


/** response of any mutation on the table "group_context" */
export interface group_context_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: group_context[]
    __typename: 'group_context_mutation_response'
}


/** select columns of table "group_context" */
export type group_context_select_column = 'created_at' | 'customer_id' | 'id' | 'label' | 'name'


/** update columns of table "group_context" */
export type group_context_update_column = 'created_at' | 'customer_id' | 'id' | 'label' | 'name'


/** columns and relationships of "groups" */
export interface groups {
    comment?: Scalars['String']
    /** An array relationship */
    consent_templates: consent_templates[]
    /** An aggregate relationship */
    consent_templates_aggregate: consent_templates_aggregate
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    name: Scalars['String']
    __typename: 'groups'
}


/** aggregated selection of "groups" */
export interface groups_aggregate {
    aggregate?: groups_aggregate_fields
    nodes: groups[]
    __typename: 'groups_aggregate'
}


/** aggregate fields of "groups" */
export interface groups_aggregate_fields {
    count: Scalars['Int']
    max?: groups_max_fields
    min?: groups_min_fields
    __typename: 'groups_aggregate_fields'
}


/** unique or primary key constraints on table "groups" */
export type groups_constraint = 'groups_pkey'

export type groups_enum = 'COMMUNICATION' | 'GENERAL' | 'QUERY'


/** aggregate max on columns */
export interface groups_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'groups_max_fields'
}


/** aggregate min on columns */
export interface groups_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'groups_min_fields'
}


/** response of any mutation on the table "groups" */
export interface groups_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: groups[]
    __typename: 'groups_mutation_response'
}


/** select columns of table "groups" */
export type groups_select_column = 'comment' | 'name'


/** update columns of table "groups" */
export type groups_update_column = 'comment' | 'name'


/** columns and relationships of "initiators" */
export interface initiators {
    comment?: Scalars['String']
    name: Scalars['String']
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    __typename: 'initiators'
}


/** aggregated selection of "initiators" */
export interface initiators_aggregate {
    aggregate?: initiators_aggregate_fields
    nodes: initiators[]
    __typename: 'initiators_aggregate'
}


/** aggregate fields of "initiators" */
export interface initiators_aggregate_fields {
    count: Scalars['Int']
    max?: initiators_max_fields
    min?: initiators_min_fields
    __typename: 'initiators_aggregate_fields'
}


/** unique or primary key constraints on table "initiators" */
export type initiators_constraint = 'initiators_pkey'

export type initiators_enum = 'CUSTOMER' | 'PATIENT' | 'SELFCOMPLETABLE'


/** aggregate max on columns */
export interface initiators_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'initiators_max_fields'
}


/** aggregate min on columns */
export interface initiators_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'initiators_min_fields'
}


/** response of any mutation on the table "initiators" */
export interface initiators_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: initiators[]
    __typename: 'initiators_mutation_response'
}


/** select columns of table "initiators" */
export type initiators_select_column = 'comment' | 'name'


/** update columns of table "initiators" */
export type initiators_update_column = 'comment' | 'name'


/** columns and relationships of "migrations" */
export interface migrations {
    batch: Scalars['bigint']
    id: Scalars['bigint']
    migration: Scalars['String']
    __typename: 'migrations'
}


/** aggregated selection of "migrations" */
export interface migrations_aggregate {
    aggregate?: migrations_aggregate_fields
    nodes: migrations[]
    __typename: 'migrations_aggregate'
}


/** aggregate fields of "migrations" */
export interface migrations_aggregate_fields {
    avg?: migrations_avg_fields
    count: Scalars['Int']
    max?: migrations_max_fields
    min?: migrations_min_fields
    stddev?: migrations_stddev_fields
    stddev_pop?: migrations_stddev_pop_fields
    stddev_samp?: migrations_stddev_samp_fields
    sum?: migrations_sum_fields
    var_pop?: migrations_var_pop_fields
    var_samp?: migrations_var_samp_fields
    variance?: migrations_variance_fields
    __typename: 'migrations_aggregate_fields'
}


/** aggregate avg on columns */
export interface migrations_avg_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_avg_fields'
}


/** unique or primary key constraints on table "migrations" */
export type migrations_constraint = 'idx_38649_primary'


/** aggregate max on columns */
export interface migrations_max_fields {
    batch?: Scalars['bigint']
    id?: Scalars['bigint']
    migration?: Scalars['String']
    __typename: 'migrations_max_fields'
}


/** aggregate min on columns */
export interface migrations_min_fields {
    batch?: Scalars['bigint']
    id?: Scalars['bigint']
    migration?: Scalars['String']
    __typename: 'migrations_min_fields'
}


/** response of any mutation on the table "migrations" */
export interface migrations_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: migrations[]
    __typename: 'migrations_mutation_response'
}


/** select columns of table "migrations" */
export type migrations_select_column = 'batch' | 'id' | 'migration'


/** aggregate stddev on columns */
export interface migrations_stddev_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface migrations_stddev_pop_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface migrations_stddev_samp_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface migrations_sum_fields {
    batch?: Scalars['bigint']
    id?: Scalars['bigint']
    __typename: 'migrations_sum_fields'
}


/** update columns of table "migrations" */
export type migrations_update_column = 'batch' | 'id' | 'migration'


/** aggregate var_pop on columns */
export interface migrations_var_pop_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface migrations_var_samp_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_var_samp_fields'
}


/** aggregate variance on columns */
export interface migrations_variance_fields {
    batch?: Scalars['Float']
    id?: Scalars['Float']
    __typename: 'migrations_variance_fields'
}


/** mutation root */
export interface mutation_root {
    /** delete data from the table: "DocKladd_properties" */
    delete_DocKladd_properties?: DocKladd_properties_mutation_response
    /** delete single row from the table: "DocKladd_properties" */
    delete_DocKladd_properties_by_pk?: DocKladd_properties
    /** delete data from the table: "DocKladd_questions" */
    delete_DocKladd_questions?: DocKladd_questions_mutation_response
    /** delete single row from the table: "DocKladd_questions" */
    delete_DocKladd_questions_by_pk?: DocKladd_questions
    /** delete data from the table: "accessible" */
    delete_accessible?: accessible_mutation_response
    /** delete single row from the table: "accessible" */
    delete_accessible_by_pk?: accessible
    /** delete data from the table: "adopus_AdgangLinjer" */
    delete_adopus_AdgangLinjer?: adopus_AdgangLinjer_mutation_response
    /** delete single row from the table: "adopus_AdgangLinjer" */
    delete_adopus_AdgangLinjer_by_pk?: adopus_AdgangLinjer
    /** delete data from the table: "anonymous_answers" */
    delete_anonymous_answers?: anonymous_answers_mutation_response
    /** delete single row from the table: "anonymous_answers" */
    delete_anonymous_answers_by_pk?: anonymous_answers
    /** delete data from the table: "anonymous_invitations" */
    delete_anonymous_invitations?: anonymous_invitations_mutation_response
    /** delete single row from the table: "anonymous_invitations" */
    delete_anonymous_invitations_by_pk?: anonymous_invitations
    /** delete data from the table: "anonymous_queries" */
    delete_anonymous_queries?: anonymous_queries_mutation_response
    /** delete single row from the table: "anonymous_queries" */
    delete_anonymous_queries_by_pk?: anonymous_queries
    /** delete data from the table: "anonymous_sms" */
    delete_anonymous_sms?: anonymous_sms_mutation_response
    /** delete single row from the table: "anonymous_sms" */
    delete_anonymous_sms_by_pk?: anonymous_sms
    /** delete data from the table: "anonymous_template_question" */
    delete_anonymous_template_question?: anonymous_template_question_mutation_response
    /** delete data from the table: "anonymous_templates" */
    delete_anonymous_templates?: anonymous_templates_mutation_response
    /** delete single row from the table: "anonymous_templates" */
    delete_anonymous_templates_by_pk?: anonymous_templates
    /** delete data from the table: "artifact_package_artifact_parcel" */
    delete_artifact_package_artifact_parcel?: artifact_package_artifact_parcel_mutation_response
    /** delete single row from the table: "artifact_package_artifact_parcel" */
    delete_artifact_package_artifact_parcel_by_pk?: artifact_package_artifact_parcel
    /** delete data from the table: "artifact_package_cron" */
    delete_artifact_package_cron?: artifact_package_cron_mutation_response
    /** delete single row from the table: "artifact_package_cron" */
    delete_artifact_package_cron_by_pk?: artifact_package_cron
    /** delete data from the table: "artifact_package_groups" */
    delete_artifact_package_groups?: artifact_package_groups_mutation_response
    /** delete single row from the table: "artifact_package_groups" */
    delete_artifact_package_groups_by_pk?: artifact_package_groups
    /** delete data from the table: "artifact_packages" */
    delete_artifact_packages?: artifact_packages_mutation_response
    /** delete single row from the table: "artifact_packages" */
    delete_artifact_packages_by_pk?: artifact_packages
    /** delete data from the table: "artifact_parcels" */
    delete_artifact_parcels?: artifact_parcels_mutation_response
    /** delete single row from the table: "artifact_parcels" */
    delete_artifact_parcels_by_pk?: artifact_parcels
    /** delete data from the table: "categories" */
    delete_categories?: categories_mutation_response
    /** delete single row from the table: "categories" */
    delete_categories_by_pk?: categories
    /** delete data from the table: "consent_approval_rejection_reasons" */
    delete_consent_approval_rejection_reasons?: consent_approval_rejection_reasons_mutation_response
    /** delete single row from the table: "consent_approval_rejection_reasons" */
    delete_consent_approval_rejection_reasons_by_pk?: consent_approval_rejection_reasons
    /** delete data from the table: "consent_patient" */
    delete_consent_patient?: consent_patient_mutation_response
    /** delete single row from the table: "consent_patient" */
    delete_consent_patient_by_pk?: consent_patient
    /** delete data from the table: "consent_status" */
    delete_consent_status?: consent_status_mutation_response
    /** delete single row from the table: "consent_status" */
    delete_consent_status_by_pk?: consent_status
    /** delete data from the table: "consent_template_to_template" */
    delete_consent_template_to_template?: consent_template_to_template_mutation_response
    /** delete data from the table: "consent_templates" */
    delete_consent_templates?: consent_templates_mutation_response
    /** delete single row from the table: "consent_templates" */
    delete_consent_templates_by_pk?: consent_templates
    /** delete data from the table: "consents" */
    delete_consents?: consents_mutation_response
    /** delete single row from the table: "consents" */
    delete_consents_by_pk?: consents
    /** delete data from the table: "context_group_context" */
    delete_context_group_context?: context_group_context_mutation_response
    /** delete single row from the table: "context_group_context" */
    delete_context_group_context_by_pk?: context_group_context
    /** delete data from the table: "contexts" */
    delete_contexts?: contexts_mutation_response
    /** delete single row from the table: "contexts" */
    delete_contexts_by_pk?: contexts
    /** delete data from the table: "custom_db_nodes" */
    delete_custom_db_nodes?: custom_db_nodes_mutation_response
    /** delete single row from the table: "custom_db_nodes" */
    delete_custom_db_nodes_by_pk?: custom_db_nodes
    /** delete data from the table: "directory_customers" */
    delete_directory_customers?: directory_customers_mutation_response
    /** delete single row from the table: "directory_customers" */
    delete_directory_customers_by_pk?: directory_customers
    /** delete data from the table: "directory_user_name" */
    delete_directory_user_name?: directory_user_name_mutation_response
    /** delete single row from the table: "directory_user_name" */
    delete_directory_user_name_by_pk?: directory_user_name
    /** delete data from the table: "document_patient" */
    delete_document_patient?: document_patient_mutation_response
    /** delete single row from the table: "document_patient" */
    delete_document_patient_by_pk?: document_patient
    /** delete data from the table: "document_sms" */
    delete_document_sms?: document_sms_mutation_response
    /** delete data from the table: "documents" */
    delete_documents?: documents_mutation_response
    /** delete single row from the table: "documents" */
    delete_documents_by_pk?: documents
    /** delete data from the table: "event_artifact_package" */
    delete_event_artifact_package?: event_artifact_package_mutation_response
    /** delete single row from the table: "event_artifact_package" */
    delete_event_artifact_package_by_pk?: event_artifact_package
    /** delete data from the table: "favorite_templates_order" */
    delete_favorite_templates_order?: favorite_templates_order_mutation_response
    /** delete single row from the table: "favorite_templates_order" */
    delete_favorite_templates_order_by_pk?: favorite_templates_order
    /** delete data from the table: "favorites" */
    delete_favorites?: favorites_mutation_response
    /** delete single row from the table: "favorites" */
    delete_favorites_by_pk?: favorites
    /** delete data from the table: "filter_names" */
    delete_filter_names?: filter_names_mutation_response
    /** delete single row from the table: "filter_names" */
    delete_filter_names_by_pk?: filter_names
    /** delete data from the table: "genesis_consent_permissions" */
    delete_genesis_consent_permissions?: genesis_consent_permissions_mutation_response
    /** delete single row from the table: "genesis_consent_permissions" */
    delete_genesis_consent_permissions_by_pk?: genesis_consent_permissions
    /** delete data from the table: "genesis_consent_templates" */
    delete_genesis_consent_templates?: genesis_consent_templates_mutation_response
    /** delete single row from the table: "genesis_consent_templates" */
    delete_genesis_consent_templates_by_pk?: genesis_consent_templates
    /** delete data from the table: "genesis_denied_permissions" */
    delete_genesis_denied_permissions?: genesis_denied_permissions_mutation_response
    /** delete single row from the table: "genesis_denied_permissions" */
    delete_genesis_denied_permissions_by_pk?: genesis_denied_permissions
    /** delete data from the table: "genesis_templates" */
    delete_genesis_templates?: genesis_templates_mutation_response
    /** delete single row from the table: "genesis_templates" */
    delete_genesis_templates_by_pk?: genesis_templates
    /** delete data from the table: "group_context" */
    delete_group_context?: group_context_mutation_response
    /** delete single row from the table: "group_context" */
    delete_group_context_by_pk?: group_context
    /** delete data from the table: "group_context_filters" */
    delete_group_context_filters?: group_context_filters_mutation_response
    /** delete single row from the table: "group_context_filters" */
    delete_group_context_filters_by_pk?: group_context_filters
    /** delete data from the table: "groups" */
    delete_groups?: groups_mutation_response
    /** delete single row from the table: "groups" */
    delete_groups_by_pk?: groups
    /** delete data from the table: "initiators" */
    delete_initiators?: initiators_mutation_response
    /** delete single row from the table: "initiators" */
    delete_initiators_by_pk?: initiators
    /** delete data from the table: "migrations" */
    delete_migrations?: migrations_mutation_response
    /** delete single row from the table: "migrations" */
    delete_migrations_by_pk?: migrations
    /** delete data from the table: "organization_qnr_widget" */
    delete_organization_qnr_widget?: organization_qnr_widget_mutation_response
    /** delete single row from the table: "organization_qnr_widget" */
    delete_organization_qnr_widget_by_pk?: organization_qnr_widget
    /** delete data from the table: "projects" */
    delete_projects?: projects_mutation_response
    /** delete single row from the table: "projects" */
    delete_projects_by_pk?: projects
    /** delete data from the table: "qnr_template_genesis_overrides" */
    delete_qnr_template_genesis_overrides?: qnr_template_genesis_overrides_mutation_response
    /** delete single row from the table: "qnr_template_genesis_overrides" */
    delete_qnr_template_genesis_overrides_by_pk?: qnr_template_genesis_overrides
    /** delete data from the table: "qnr_template_genesis_overrides_log" */
    delete_qnr_template_genesis_overrides_log?: qnr_template_genesis_overrides_log_mutation_response
    /** delete single row from the table: "qnr_template_genesis_overrides_log" */
    delete_qnr_template_genesis_overrides_log_by_pk?: qnr_template_genesis_overrides_log
    /** delete data from the table: "queries" */
    delete_queries?: queries_mutation_response
    /** delete single row from the table: "queries" */
    delete_queries_by_pk?: queries
    /** delete data from the table: "queries_cache" */
    delete_queries_cache?: queries_cache_mutation_response
    /** delete single row from the table: "queries_cache" */
    delete_queries_cache_by_pk?: queries_cache
    /** delete data from the table: "queries_error" */
    delete_queries_error?: queries_error_mutation_response
    /** delete single row from the table: "queries_error" */
    delete_queries_error_by_pk?: queries_error
    /** delete data from the table: "queries_log" */
    delete_queries_log?: queries_log_mutation_response
    /** delete single row from the table: "queries_log" */
    delete_queries_log_by_pk?: queries_log
    /** delete data from the table: "question_composite_question" */
    delete_question_composite_question?: question_composite_question_mutation_response
    /** delete data from the table: "question_template" */
    delete_question_template?: question_template_mutation_response
    /** delete data from the table: "questions" */
    delete_questions?: questions_mutation_response
    /** delete single row from the table: "questions" */
    delete_questions_by_pk?: questions
    /** delete data from the table: "security_levels" */
    delete_security_levels?: security_levels_mutation_response
    /** delete single row from the table: "security_levels" */
    delete_security_levels_by_pk?: security_levels
    /** delete data from the table: "settings" */
    delete_settings?: settings_mutation_response
    /** delete single row from the table: "settings" */
    delete_settings_by_pk?: settings
    /** delete data from the table: "shortcuts" */
    delete_shortcuts?: shortcuts_mutation_response
    /** delete single row from the table: "shortcuts" */
    delete_shortcuts_by_pk?: shortcuts
    /** delete data from the table: "sms" */
    delete_sms?: sms_mutation_response
    /** delete single row from the table: "sms" */
    delete_sms_by_pk?: sms
    /** delete data from the table: "sms_template_template" */
    delete_sms_template_template?: sms_template_template_mutation_response
    /** delete single row from the table: "sms_template_template" */
    delete_sms_template_template_by_pk?: sms_template_template
    /** delete data from the table: "sms_templates" */
    delete_sms_templates?: sms_templates_mutation_response
    /** delete single row from the table: "sms_templates" */
    delete_sms_templates_by_pk?: sms_templates
    /** delete data from the table: "status" */
    delete_status?: status_mutation_response
    /** delete single row from the table: "status" */
    delete_status_by_pk?: status
    /** delete data from the table: "table_names" */
    delete_table_names?: table_names_mutation_response
    /** delete single row from the table: "table_names" */
    delete_table_names_by_pk?: table_names
    /** delete data from the table: "template_artifact_parcel" */
    delete_template_artifact_parcel?: template_artifact_parcel_mutation_response
    /** delete single row from the table: "template_artifact_parcel" */
    delete_template_artifact_parcel_by_pk?: template_artifact_parcel
    /** delete data from the table: "template_cache" */
    delete_template_cache?: template_cache_mutation_response
    /** delete data from the table: "template_cache_access" */
    delete_template_cache_access?: template_cache_access_mutation_response
    /** delete single row from the table: "template_cache_access" */
    delete_template_cache_access_by_pk?: template_cache_access
    /** delete single row from the table: "template_cache" */
    delete_template_cache_by_pk?: template_cache
    /** delete data from the table: "template_flags" */
    delete_template_flags?: template_flags_mutation_response
    /** delete data from the table: "template_journal_roles" */
    delete_template_journal_roles?: template_journal_roles_mutation_response
    /** delete single row from the table: "template_journal_roles" */
    delete_template_journal_roles_by_pk?: template_journal_roles
    /** delete data from the table: "template_offer_types" */
    delete_template_offer_types?: template_offer_types_mutation_response
    /** delete single row from the table: "template_offer_types" */
    delete_template_offer_types_by_pk?: template_offer_types
    /** delete data from the table: "template_offers" */
    delete_template_offers?: template_offers_mutation_response
    /** delete single row from the table: "template_offers" */
    delete_template_offers_by_pk?: template_offers
    /** delete data from the table: "templates" */
    delete_templates?: templates_mutation_response
    /** delete single row from the table: "templates" */
    delete_templates_by_pk?: templates
    /** delete data from the table: "types" */
    delete_types?: types_mutation_response
    /** delete single row from the table: "types" */
    delete_types_by_pk?: types
    /** create_notification */
    insertNotification?: NotificationOutput
    /** insert data into the table: "DocKladd_properties" */
    insert_DocKladd_properties?: DocKladd_properties_mutation_response
    /** insert a single row into the table: "DocKladd_properties" */
    insert_DocKladd_properties_one?: DocKladd_properties
    /** insert data into the table: "DocKladd_questions" */
    insert_DocKladd_questions?: DocKladd_questions_mutation_response
    /** insert a single row into the table: "DocKladd_questions" */
    insert_DocKladd_questions_one?: DocKladd_questions
    /** insert data into the table: "accessible" */
    insert_accessible?: accessible_mutation_response
    /** insert a single row into the table: "accessible" */
    insert_accessible_one?: accessible
    /** insert data into the table: "adopus_AdgangLinjer" */
    insert_adopus_AdgangLinjer?: adopus_AdgangLinjer_mutation_response
    /** insert a single row into the table: "adopus_AdgangLinjer" */
    insert_adopus_AdgangLinjer_one?: adopus_AdgangLinjer
    /** insert data into the table: "anonymous_answers" */
    insert_anonymous_answers?: anonymous_answers_mutation_response
    /** insert a single row into the table: "anonymous_answers" */
    insert_anonymous_answers_one?: anonymous_answers
    /** insert data into the table: "anonymous_invitations" */
    insert_anonymous_invitations?: anonymous_invitations_mutation_response
    /** insert a single row into the table: "anonymous_invitations" */
    insert_anonymous_invitations_one?: anonymous_invitations
    /** insert data into the table: "anonymous_queries" */
    insert_anonymous_queries?: anonymous_queries_mutation_response
    /** insert a single row into the table: "anonymous_queries" */
    insert_anonymous_queries_one?: anonymous_queries
    /** insert data into the table: "anonymous_sms" */
    insert_anonymous_sms?: anonymous_sms_mutation_response
    /** insert a single row into the table: "anonymous_sms" */
    insert_anonymous_sms_one?: anonymous_sms
    /** insert data into the table: "anonymous_template_question" */
    insert_anonymous_template_question?: anonymous_template_question_mutation_response
    /** insert a single row into the table: "anonymous_template_question" */
    insert_anonymous_template_question_one?: anonymous_template_question
    /** insert data into the table: "anonymous_templates" */
    insert_anonymous_templates?: anonymous_templates_mutation_response
    /** insert a single row into the table: "anonymous_templates" */
    insert_anonymous_templates_one?: anonymous_templates
    /** insert data into the table: "artifact_package_artifact_parcel" */
    insert_artifact_package_artifact_parcel?: artifact_package_artifact_parcel_mutation_response
    /** insert a single row into the table: "artifact_package_artifact_parcel" */
    insert_artifact_package_artifact_parcel_one?: artifact_package_artifact_parcel
    /** insert data into the table: "artifact_package_cron" */
    insert_artifact_package_cron?: artifact_package_cron_mutation_response
    /** insert a single row into the table: "artifact_package_cron" */
    insert_artifact_package_cron_one?: artifact_package_cron
    /** insert data into the table: "artifact_package_groups" */
    insert_artifact_package_groups?: artifact_package_groups_mutation_response
    /** insert a single row into the table: "artifact_package_groups" */
    insert_artifact_package_groups_one?: artifact_package_groups
    /** insert data into the table: "artifact_packages" */
    insert_artifact_packages?: artifact_packages_mutation_response
    /** insert a single row into the table: "artifact_packages" */
    insert_artifact_packages_one?: artifact_packages
    /** insert data into the table: "artifact_parcels" */
    insert_artifact_parcels?: artifact_parcels_mutation_response
    /** insert a single row into the table: "artifact_parcels" */
    insert_artifact_parcels_one?: artifact_parcels
    /** insert data into the table: "categories" */
    insert_categories?: categories_mutation_response
    /** insert a single row into the table: "categories" */
    insert_categories_one?: categories
    /** insert data into the table: "consent_approval_rejection_reasons" */
    insert_consent_approval_rejection_reasons?: consent_approval_rejection_reasons_mutation_response
    /** insert a single row into the table: "consent_approval_rejection_reasons" */
    insert_consent_approval_rejection_reasons_one?: consent_approval_rejection_reasons
    /** insert data into the table: "consent_patient" */
    insert_consent_patient?: consent_patient_mutation_response
    /** insert a single row into the table: "consent_patient" */
    insert_consent_patient_one?: consent_patient
    /** insert data into the table: "consent_status" */
    insert_consent_status?: consent_status_mutation_response
    /** insert a single row into the table: "consent_status" */
    insert_consent_status_one?: consent_status
    /** insert data into the table: "consent_template_to_template" */
    insert_consent_template_to_template?: consent_template_to_template_mutation_response
    /** insert a single row into the table: "consent_template_to_template" */
    insert_consent_template_to_template_one?: consent_template_to_template
    /** insert data into the table: "consent_templates" */
    insert_consent_templates?: consent_templates_mutation_response
    /** insert a single row into the table: "consent_templates" */
    insert_consent_templates_one?: consent_templates
    /** insert data into the table: "consents" */
    insert_consents?: consents_mutation_response
    /** insert a single row into the table: "consents" */
    insert_consents_one?: consents
    /** insert data into the table: "context_group_context" */
    insert_context_group_context?: context_group_context_mutation_response
    /** insert a single row into the table: "context_group_context" */
    insert_context_group_context_one?: context_group_context
    /** insert data into the table: "contexts" */
    insert_contexts?: contexts_mutation_response
    /** insert a single row into the table: "contexts" */
    insert_contexts_one?: contexts
    /** insert data into the table: "custom_db_nodes" */
    insert_custom_db_nodes?: custom_db_nodes_mutation_response
    /** insert a single row into the table: "custom_db_nodes" */
    insert_custom_db_nodes_one?: custom_db_nodes
    /** insert data into the table: "directory_customers" */
    insert_directory_customers?: directory_customers_mutation_response
    /** insert a single row into the table: "directory_customers" */
    insert_directory_customers_one?: directory_customers
    /** insert data into the table: "directory_user_name" */
    insert_directory_user_name?: directory_user_name_mutation_response
    /** insert a single row into the table: "directory_user_name" */
    insert_directory_user_name_one?: directory_user_name
    /** insert data into the table: "document_patient" */
    insert_document_patient?: document_patient_mutation_response
    /** insert a single row into the table: "document_patient" */
    insert_document_patient_one?: document_patient
    /** insert data into the table: "document_sms" */
    insert_document_sms?: document_sms_mutation_response
    /** insert a single row into the table: "document_sms" */
    insert_document_sms_one?: document_sms
    /** insert data into the table: "documents" */
    insert_documents?: documents_mutation_response
    /** insert a single row into the table: "documents" */
    insert_documents_one?: documents
    /** insert data into the table: "event_artifact_package" */
    insert_event_artifact_package?: event_artifact_package_mutation_response
    /** insert a single row into the table: "event_artifact_package" */
    insert_event_artifact_package_one?: event_artifact_package
    /** insert data into the table: "favorite_templates_order" */
    insert_favorite_templates_order?: favorite_templates_order_mutation_response
    /** insert a single row into the table: "favorite_templates_order" */
    insert_favorite_templates_order_one?: favorite_templates_order
    /** insert data into the table: "favorites" */
    insert_favorites?: favorites_mutation_response
    /** insert a single row into the table: "favorites" */
    insert_favorites_one?: favorites
    /** insert data into the table: "filter_names" */
    insert_filter_names?: filter_names_mutation_response
    /** insert a single row into the table: "filter_names" */
    insert_filter_names_one?: filter_names
    /** insert data into the table: "genesis_consent_permissions" */
    insert_genesis_consent_permissions?: genesis_consent_permissions_mutation_response
    /** insert a single row into the table: "genesis_consent_permissions" */
    insert_genesis_consent_permissions_one?: genesis_consent_permissions
    /** insert data into the table: "genesis_consent_templates" */
    insert_genesis_consent_templates?: genesis_consent_templates_mutation_response
    /** insert a single row into the table: "genesis_consent_templates" */
    insert_genesis_consent_templates_one?: genesis_consent_templates
    /** insert data into the table: "genesis_denied_permissions" */
    insert_genesis_denied_permissions?: genesis_denied_permissions_mutation_response
    /** insert a single row into the table: "genesis_denied_permissions" */
    insert_genesis_denied_permissions_one?: genesis_denied_permissions
    /** insert data into the table: "genesis_templates" */
    insert_genesis_templates?: genesis_templates_mutation_response
    /** insert a single row into the table: "genesis_templates" */
    insert_genesis_templates_one?: genesis_templates
    /** insert data into the table: "group_context" */
    insert_group_context?: group_context_mutation_response
    /** insert data into the table: "group_context_filters" */
    insert_group_context_filters?: group_context_filters_mutation_response
    /** insert a single row into the table: "group_context_filters" */
    insert_group_context_filters_one?: group_context_filters
    /** insert a single row into the table: "group_context" */
    insert_group_context_one?: group_context
    /** insert data into the table: "groups" */
    insert_groups?: groups_mutation_response
    /** insert a single row into the table: "groups" */
    insert_groups_one?: groups
    /** insert data into the table: "initiators" */
    insert_initiators?: initiators_mutation_response
    /** insert a single row into the table: "initiators" */
    insert_initiators_one?: initiators
    /** insert data into the table: "migrations" */
    insert_migrations?: migrations_mutation_response
    /** insert a single row into the table: "migrations" */
    insert_migrations_one?: migrations
    /** insert data into the table: "organization_qnr_widget" */
    insert_organization_qnr_widget?: organization_qnr_widget_mutation_response
    /** insert a single row into the table: "organization_qnr_widget" */
    insert_organization_qnr_widget_one?: organization_qnr_widget
    /** insert data into the table: "projects" */
    insert_projects?: projects_mutation_response
    /** insert a single row into the table: "projects" */
    insert_projects_one?: projects
    /** insert data into the table: "qnr_template_genesis_overrides" */
    insert_qnr_template_genesis_overrides?: qnr_template_genesis_overrides_mutation_response
    /** insert data into the table: "qnr_template_genesis_overrides_log" */
    insert_qnr_template_genesis_overrides_log?: qnr_template_genesis_overrides_log_mutation_response
    /** insert a single row into the table: "qnr_template_genesis_overrides_log" */
    insert_qnr_template_genesis_overrides_log_one?: qnr_template_genesis_overrides_log
    /** insert a single row into the table: "qnr_template_genesis_overrides" */
    insert_qnr_template_genesis_overrides_one?: qnr_template_genesis_overrides
    /** insert data into the table: "queries" */
    insert_queries?: queries_mutation_response
    /** insert data into the table: "queries_cache" */
    insert_queries_cache?: queries_cache_mutation_response
    /** insert a single row into the table: "queries_cache" */
    insert_queries_cache_one?: queries_cache
    /** insert data into the table: "queries_error" */
    insert_queries_error?: queries_error_mutation_response
    /** insert a single row into the table: "queries_error" */
    insert_queries_error_one?: queries_error
    /** insert data into the table: "queries_log" */
    insert_queries_log?: queries_log_mutation_response
    /** insert a single row into the table: "queries_log" */
    insert_queries_log_one?: queries_log
    /** insert a single row into the table: "queries" */
    insert_queries_one?: queries
    /** insert data into the table: "question_composite_question" */
    insert_question_composite_question?: question_composite_question_mutation_response
    /** insert a single row into the table: "question_composite_question" */
    insert_question_composite_question_one?: question_composite_question
    /** insert data into the table: "question_template" */
    insert_question_template?: question_template_mutation_response
    /** insert a single row into the table: "question_template" */
    insert_question_template_one?: question_template
    /** insert data into the table: "questions" */
    insert_questions?: questions_mutation_response
    /** insert a single row into the table: "questions" */
    insert_questions_one?: questions
    /** insert data into the table: "security_levels" */
    insert_security_levels?: security_levels_mutation_response
    /** insert a single row into the table: "security_levels" */
    insert_security_levels_one?: security_levels
    /** insert data into the table: "settings" */
    insert_settings?: settings_mutation_response
    /** insert a single row into the table: "settings" */
    insert_settings_one?: settings
    /** insert data into the table: "shortcuts" */
    insert_shortcuts?: shortcuts_mutation_response
    /** insert a single row into the table: "shortcuts" */
    insert_shortcuts_one?: shortcuts
    /** insert data into the table: "sms" */
    insert_sms?: sms_mutation_response
    /** insert a single row into the table: "sms" */
    insert_sms_one?: sms
    /** insert data into the table: "sms_template_template" */
    insert_sms_template_template?: sms_template_template_mutation_response
    /** insert a single row into the table: "sms_template_template" */
    insert_sms_template_template_one?: sms_template_template
    /** insert data into the table: "sms_templates" */
    insert_sms_templates?: sms_templates_mutation_response
    /** insert a single row into the table: "sms_templates" */
    insert_sms_templates_one?: sms_templates
    /** insert data into the table: "status" */
    insert_status?: status_mutation_response
    /** insert a single row into the table: "status" */
    insert_status_one?: status
    /** insert data into the table: "table_names" */
    insert_table_names?: table_names_mutation_response
    /** insert a single row into the table: "table_names" */
    insert_table_names_one?: table_names
    /** insert data into the table: "template_artifact_parcel" */
    insert_template_artifact_parcel?: template_artifact_parcel_mutation_response
    /** insert a single row into the table: "template_artifact_parcel" */
    insert_template_artifact_parcel_one?: template_artifact_parcel
    /** insert data into the table: "template_cache" */
    insert_template_cache?: template_cache_mutation_response
    /** insert data into the table: "template_cache_access" */
    insert_template_cache_access?: template_cache_access_mutation_response
    /** insert a single row into the table: "template_cache_access" */
    insert_template_cache_access_one?: template_cache_access
    /** insert a single row into the table: "template_cache" */
    insert_template_cache_one?: template_cache
    /** insert data into the table: "template_flags" */
    insert_template_flags?: template_flags_mutation_response
    /** insert a single row into the table: "template_flags" */
    insert_template_flags_one?: template_flags
    /** insert data into the table: "template_journal_roles" */
    insert_template_journal_roles?: template_journal_roles_mutation_response
    /** insert a single row into the table: "template_journal_roles" */
    insert_template_journal_roles_one?: template_journal_roles
    /** insert data into the table: "template_offer_types" */
    insert_template_offer_types?: template_offer_types_mutation_response
    /** insert a single row into the table: "template_offer_types" */
    insert_template_offer_types_one?: template_offer_types
    /** insert data into the table: "template_offers" */
    insert_template_offers?: template_offers_mutation_response
    /** insert a single row into the table: "template_offers" */
    insert_template_offers_one?: template_offers
    /** insert data into the table: "templates" */
    insert_templates?: templates_mutation_response
    /** insert a single row into the table: "templates" */
    insert_templates_one?: templates
    /** insert data into the table: "types" */
    insert_types?: types_mutation_response
    /** insert a single row into the table: "types" */
    insert_types_one?: types
    /** qnrResponse */
    qnrResponse?: qnrs_ActionTypeResponseData
    /** Send sms */
    sendSms?: SmsOutput
    /** update data of the table: "DocKladd_properties" */
    update_DocKladd_properties?: DocKladd_properties_mutation_response
    /** update single row of the table: "DocKladd_properties" */
    update_DocKladd_properties_by_pk?: DocKladd_properties
    /** update multiples rows of table: "DocKladd_properties" */
    update_DocKladd_properties_many?: (DocKladd_properties_mutation_response | undefined)[]
    /** update data of the table: "DocKladd_questions" */
    update_DocKladd_questions?: DocKladd_questions_mutation_response
    /** update single row of the table: "DocKladd_questions" */
    update_DocKladd_questions_by_pk?: DocKladd_questions
    /** update multiples rows of table: "DocKladd_questions" */
    update_DocKladd_questions_many?: (DocKladd_questions_mutation_response | undefined)[]
    /** update data of the table: "accessible" */
    update_accessible?: accessible_mutation_response
    /** update single row of the table: "accessible" */
    update_accessible_by_pk?: accessible
    /** update multiples rows of table: "accessible" */
    update_accessible_many?: (accessible_mutation_response | undefined)[]
    /** update data of the table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer?: adopus_AdgangLinjer_mutation_response
    /** update single row of the table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer_by_pk?: adopus_AdgangLinjer
    /** update multiples rows of table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer_many?: (adopus_AdgangLinjer_mutation_response | undefined)[]
    /** update data of the table: "anonymous_answers" */
    update_anonymous_answers?: anonymous_answers_mutation_response
    /** update single row of the table: "anonymous_answers" */
    update_anonymous_answers_by_pk?: anonymous_answers
    /** update multiples rows of table: "anonymous_answers" */
    update_anonymous_answers_many?: (anonymous_answers_mutation_response | undefined)[]
    /** update data of the table: "anonymous_invitations" */
    update_anonymous_invitations?: anonymous_invitations_mutation_response
    /** update single row of the table: "anonymous_invitations" */
    update_anonymous_invitations_by_pk?: anonymous_invitations
    /** update multiples rows of table: "anonymous_invitations" */
    update_anonymous_invitations_many?: (anonymous_invitations_mutation_response | undefined)[]
    /** update data of the table: "anonymous_queries" */
    update_anonymous_queries?: anonymous_queries_mutation_response
    /** update single row of the table: "anonymous_queries" */
    update_anonymous_queries_by_pk?: anonymous_queries
    /** update multiples rows of table: "anonymous_queries" */
    update_anonymous_queries_many?: (anonymous_queries_mutation_response | undefined)[]
    /** update data of the table: "anonymous_sms" */
    update_anonymous_sms?: anonymous_sms_mutation_response
    /** update single row of the table: "anonymous_sms" */
    update_anonymous_sms_by_pk?: anonymous_sms
    /** update multiples rows of table: "anonymous_sms" */
    update_anonymous_sms_many?: (anonymous_sms_mutation_response | undefined)[]
    /** update data of the table: "anonymous_template_question" */
    update_anonymous_template_question?: anonymous_template_question_mutation_response
    /** update multiples rows of table: "anonymous_template_question" */
    update_anonymous_template_question_many?: (anonymous_template_question_mutation_response | undefined)[]
    /** update data of the table: "anonymous_templates" */
    update_anonymous_templates?: anonymous_templates_mutation_response
    /** update single row of the table: "anonymous_templates" */
    update_anonymous_templates_by_pk?: anonymous_templates
    /** update multiples rows of table: "anonymous_templates" */
    update_anonymous_templates_many?: (anonymous_templates_mutation_response | undefined)[]
    /** update data of the table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel?: artifact_package_artifact_parcel_mutation_response
    /** update single row of the table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel_by_pk?: artifact_package_artifact_parcel
    /** update multiples rows of table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel_many?: (artifact_package_artifact_parcel_mutation_response | undefined)[]
    /** update data of the table: "artifact_package_cron" */
    update_artifact_package_cron?: artifact_package_cron_mutation_response
    /** update single row of the table: "artifact_package_cron" */
    update_artifact_package_cron_by_pk?: artifact_package_cron
    /** update multiples rows of table: "artifact_package_cron" */
    update_artifact_package_cron_many?: (artifact_package_cron_mutation_response | undefined)[]
    /** update data of the table: "artifact_package_groups" */
    update_artifact_package_groups?: artifact_package_groups_mutation_response
    /** update single row of the table: "artifact_package_groups" */
    update_artifact_package_groups_by_pk?: artifact_package_groups
    /** update multiples rows of table: "artifact_package_groups" */
    update_artifact_package_groups_many?: (artifact_package_groups_mutation_response | undefined)[]
    /** update data of the table: "artifact_packages" */
    update_artifact_packages?: artifact_packages_mutation_response
    /** update single row of the table: "artifact_packages" */
    update_artifact_packages_by_pk?: artifact_packages
    /** update multiples rows of table: "artifact_packages" */
    update_artifact_packages_many?: (artifact_packages_mutation_response | undefined)[]
    /** update data of the table: "artifact_parcels" */
    update_artifact_parcels?: artifact_parcels_mutation_response
    /** update single row of the table: "artifact_parcels" */
    update_artifact_parcels_by_pk?: artifact_parcels
    /** update multiples rows of table: "artifact_parcels" */
    update_artifact_parcels_many?: (artifact_parcels_mutation_response | undefined)[]
    /** update data of the table: "categories" */
    update_categories?: categories_mutation_response
    /** update single row of the table: "categories" */
    update_categories_by_pk?: categories
    /** update multiples rows of table: "categories" */
    update_categories_many?: (categories_mutation_response | undefined)[]
    /** update data of the table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons?: consent_approval_rejection_reasons_mutation_response
    /** update single row of the table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons_by_pk?: consent_approval_rejection_reasons
    /** update multiples rows of table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons_many?: (consent_approval_rejection_reasons_mutation_response | undefined)[]
    /** update data of the table: "consent_patient" */
    update_consent_patient?: consent_patient_mutation_response
    /** update single row of the table: "consent_patient" */
    update_consent_patient_by_pk?: consent_patient
    /** update multiples rows of table: "consent_patient" */
    update_consent_patient_many?: (consent_patient_mutation_response | undefined)[]
    /** update data of the table: "consent_status" */
    update_consent_status?: consent_status_mutation_response
    /** update single row of the table: "consent_status" */
    update_consent_status_by_pk?: consent_status
    /** update multiples rows of table: "consent_status" */
    update_consent_status_many?: (consent_status_mutation_response | undefined)[]
    /** update data of the table: "consent_template_to_template" */
    update_consent_template_to_template?: consent_template_to_template_mutation_response
    /** update multiples rows of table: "consent_template_to_template" */
    update_consent_template_to_template_many?: (consent_template_to_template_mutation_response | undefined)[]
    /** update data of the table: "consent_templates" */
    update_consent_templates?: consent_templates_mutation_response
    /** update single row of the table: "consent_templates" */
    update_consent_templates_by_pk?: consent_templates
    /** update multiples rows of table: "consent_templates" */
    update_consent_templates_many?: (consent_templates_mutation_response | undefined)[]
    /** update data of the table: "consents" */
    update_consents?: consents_mutation_response
    /** update single row of the table: "consents" */
    update_consents_by_pk?: consents
    /** update multiples rows of table: "consents" */
    update_consents_many?: (consents_mutation_response | undefined)[]
    /** update data of the table: "context_group_context" */
    update_context_group_context?: context_group_context_mutation_response
    /** update single row of the table: "context_group_context" */
    update_context_group_context_by_pk?: context_group_context
    /** update multiples rows of table: "context_group_context" */
    update_context_group_context_many?: (context_group_context_mutation_response | undefined)[]
    /** update data of the table: "contexts" */
    update_contexts?: contexts_mutation_response
    /** update single row of the table: "contexts" */
    update_contexts_by_pk?: contexts
    /** update multiples rows of table: "contexts" */
    update_contexts_many?: (contexts_mutation_response | undefined)[]
    /** update data of the table: "custom_db_nodes" */
    update_custom_db_nodes?: custom_db_nodes_mutation_response
    /** update single row of the table: "custom_db_nodes" */
    update_custom_db_nodes_by_pk?: custom_db_nodes
    /** update multiples rows of table: "custom_db_nodes" */
    update_custom_db_nodes_many?: (custom_db_nodes_mutation_response | undefined)[]
    /** update data of the table: "directory_customers" */
    update_directory_customers?: directory_customers_mutation_response
    /** update single row of the table: "directory_customers" */
    update_directory_customers_by_pk?: directory_customers
    /** update multiples rows of table: "directory_customers" */
    update_directory_customers_many?: (directory_customers_mutation_response | undefined)[]
    /** update data of the table: "directory_user_name" */
    update_directory_user_name?: directory_user_name_mutation_response
    /** update single row of the table: "directory_user_name" */
    update_directory_user_name_by_pk?: directory_user_name
    /** update multiples rows of table: "directory_user_name" */
    update_directory_user_name_many?: (directory_user_name_mutation_response | undefined)[]
    /** update data of the table: "document_patient" */
    update_document_patient?: document_patient_mutation_response
    /** update single row of the table: "document_patient" */
    update_document_patient_by_pk?: document_patient
    /** update multiples rows of table: "document_patient" */
    update_document_patient_many?: (document_patient_mutation_response | undefined)[]
    /** update data of the table: "document_sms" */
    update_document_sms?: document_sms_mutation_response
    /** update multiples rows of table: "document_sms" */
    update_document_sms_many?: (document_sms_mutation_response | undefined)[]
    /** update data of the table: "documents" */
    update_documents?: documents_mutation_response
    /** update single row of the table: "documents" */
    update_documents_by_pk?: documents
    /** update multiples rows of table: "documents" */
    update_documents_many?: (documents_mutation_response | undefined)[]
    /** update data of the table: "event_artifact_package" */
    update_event_artifact_package?: event_artifact_package_mutation_response
    /** update single row of the table: "event_artifact_package" */
    update_event_artifact_package_by_pk?: event_artifact_package
    /** update multiples rows of table: "event_artifact_package" */
    update_event_artifact_package_many?: (event_artifact_package_mutation_response | undefined)[]
    /** update data of the table: "favorite_templates_order" */
    update_favorite_templates_order?: favorite_templates_order_mutation_response
    /** update single row of the table: "favorite_templates_order" */
    update_favorite_templates_order_by_pk?: favorite_templates_order
    /** update multiples rows of table: "favorite_templates_order" */
    update_favorite_templates_order_many?: (favorite_templates_order_mutation_response | undefined)[]
    /** update data of the table: "favorites" */
    update_favorites?: favorites_mutation_response
    /** update single row of the table: "favorites" */
    update_favorites_by_pk?: favorites
    /** update multiples rows of table: "favorites" */
    update_favorites_many?: (favorites_mutation_response | undefined)[]
    /** update data of the table: "filter_names" */
    update_filter_names?: filter_names_mutation_response
    /** update single row of the table: "filter_names" */
    update_filter_names_by_pk?: filter_names
    /** update multiples rows of table: "filter_names" */
    update_filter_names_many?: (filter_names_mutation_response | undefined)[]
    /** update data of the table: "genesis_consent_permissions" */
    update_genesis_consent_permissions?: genesis_consent_permissions_mutation_response
    /** update single row of the table: "genesis_consent_permissions" */
    update_genesis_consent_permissions_by_pk?: genesis_consent_permissions
    /** update multiples rows of table: "genesis_consent_permissions" */
    update_genesis_consent_permissions_many?: (genesis_consent_permissions_mutation_response | undefined)[]
    /** update data of the table: "genesis_consent_templates" */
    update_genesis_consent_templates?: genesis_consent_templates_mutation_response
    /** update single row of the table: "genesis_consent_templates" */
    update_genesis_consent_templates_by_pk?: genesis_consent_templates
    /** update multiples rows of table: "genesis_consent_templates" */
    update_genesis_consent_templates_many?: (genesis_consent_templates_mutation_response | undefined)[]
    /** update data of the table: "genesis_denied_permissions" */
    update_genesis_denied_permissions?: genesis_denied_permissions_mutation_response
    /** update single row of the table: "genesis_denied_permissions" */
    update_genesis_denied_permissions_by_pk?: genesis_denied_permissions
    /** update multiples rows of table: "genesis_denied_permissions" */
    update_genesis_denied_permissions_many?: (genesis_denied_permissions_mutation_response | undefined)[]
    /** update data of the table: "genesis_templates" */
    update_genesis_templates?: genesis_templates_mutation_response
    /** update single row of the table: "genesis_templates" */
    update_genesis_templates_by_pk?: genesis_templates
    /** update multiples rows of table: "genesis_templates" */
    update_genesis_templates_many?: (genesis_templates_mutation_response | undefined)[]
    /** update data of the table: "group_context" */
    update_group_context?: group_context_mutation_response
    /** update single row of the table: "group_context" */
    update_group_context_by_pk?: group_context
    /** update data of the table: "group_context_filters" */
    update_group_context_filters?: group_context_filters_mutation_response
    /** update single row of the table: "group_context_filters" */
    update_group_context_filters_by_pk?: group_context_filters
    /** update multiples rows of table: "group_context_filters" */
    update_group_context_filters_many?: (group_context_filters_mutation_response | undefined)[]
    /** update multiples rows of table: "group_context" */
    update_group_context_many?: (group_context_mutation_response | undefined)[]
    /** update data of the table: "groups" */
    update_groups?: groups_mutation_response
    /** update single row of the table: "groups" */
    update_groups_by_pk?: groups
    /** update multiples rows of table: "groups" */
    update_groups_many?: (groups_mutation_response | undefined)[]
    /** update data of the table: "initiators" */
    update_initiators?: initiators_mutation_response
    /** update single row of the table: "initiators" */
    update_initiators_by_pk?: initiators
    /** update multiples rows of table: "initiators" */
    update_initiators_many?: (initiators_mutation_response | undefined)[]
    /** update data of the table: "migrations" */
    update_migrations?: migrations_mutation_response
    /** update single row of the table: "migrations" */
    update_migrations_by_pk?: migrations
    /** update multiples rows of table: "migrations" */
    update_migrations_many?: (migrations_mutation_response | undefined)[]
    /** update data of the table: "organization_qnr_widget" */
    update_organization_qnr_widget?: organization_qnr_widget_mutation_response
    /** update single row of the table: "organization_qnr_widget" */
    update_organization_qnr_widget_by_pk?: organization_qnr_widget
    /** update multiples rows of table: "organization_qnr_widget" */
    update_organization_qnr_widget_many?: (organization_qnr_widget_mutation_response | undefined)[]
    /** update data of the table: "projects" */
    update_projects?: projects_mutation_response
    /** update single row of the table: "projects" */
    update_projects_by_pk?: projects
    /** update multiples rows of table: "projects" */
    update_projects_many?: (projects_mutation_response | undefined)[]
    /** update data of the table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides?: qnr_template_genesis_overrides_mutation_response
    /** update single row of the table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides_by_pk?: qnr_template_genesis_overrides
    /** update data of the table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log?: qnr_template_genesis_overrides_log_mutation_response
    /** update single row of the table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log_by_pk?: qnr_template_genesis_overrides_log
    /** update multiples rows of table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log_many?: (qnr_template_genesis_overrides_log_mutation_response | undefined)[]
    /** update multiples rows of table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides_many?: (qnr_template_genesis_overrides_mutation_response | undefined)[]
    /** update data of the table: "queries" */
    update_queries?: queries_mutation_response
    /** update single row of the table: "queries" */
    update_queries_by_pk?: queries
    /** update data of the table: "queries_cache" */
    update_queries_cache?: queries_cache_mutation_response
    /** update single row of the table: "queries_cache" */
    update_queries_cache_by_pk?: queries_cache
    /** update multiples rows of table: "queries_cache" */
    update_queries_cache_many?: (queries_cache_mutation_response | undefined)[]
    /** update data of the table: "queries_error" */
    update_queries_error?: queries_error_mutation_response
    /** update single row of the table: "queries_error" */
    update_queries_error_by_pk?: queries_error
    /** update multiples rows of table: "queries_error" */
    update_queries_error_many?: (queries_error_mutation_response | undefined)[]
    /** update data of the table: "queries_log" */
    update_queries_log?: queries_log_mutation_response
    /** update single row of the table: "queries_log" */
    update_queries_log_by_pk?: queries_log
    /** update multiples rows of table: "queries_log" */
    update_queries_log_many?: (queries_log_mutation_response | undefined)[]
    /** update multiples rows of table: "queries" */
    update_queries_many?: (queries_mutation_response | undefined)[]
    /** update data of the table: "question_composite_question" */
    update_question_composite_question?: question_composite_question_mutation_response
    /** update multiples rows of table: "question_composite_question" */
    update_question_composite_question_many?: (question_composite_question_mutation_response | undefined)[]
    /** update data of the table: "question_template" */
    update_question_template?: question_template_mutation_response
    /** update multiples rows of table: "question_template" */
    update_question_template_many?: (question_template_mutation_response | undefined)[]
    /** update data of the table: "questions" */
    update_questions?: questions_mutation_response
    /** update single row of the table: "questions" */
    update_questions_by_pk?: questions
    /** update multiples rows of table: "questions" */
    update_questions_many?: (questions_mutation_response | undefined)[]
    /** update data of the table: "security_levels" */
    update_security_levels?: security_levels_mutation_response
    /** update single row of the table: "security_levels" */
    update_security_levels_by_pk?: security_levels
    /** update multiples rows of table: "security_levels" */
    update_security_levels_many?: (security_levels_mutation_response | undefined)[]
    /** update data of the table: "settings" */
    update_settings?: settings_mutation_response
    /** update single row of the table: "settings" */
    update_settings_by_pk?: settings
    /** update multiples rows of table: "settings" */
    update_settings_many?: (settings_mutation_response | undefined)[]
    /** update data of the table: "shortcuts" */
    update_shortcuts?: shortcuts_mutation_response
    /** update single row of the table: "shortcuts" */
    update_shortcuts_by_pk?: shortcuts
    /** update multiples rows of table: "shortcuts" */
    update_shortcuts_many?: (shortcuts_mutation_response | undefined)[]
    /** update data of the table: "sms" */
    update_sms?: sms_mutation_response
    /** update single row of the table: "sms" */
    update_sms_by_pk?: sms
    /** update multiples rows of table: "sms" */
    update_sms_many?: (sms_mutation_response | undefined)[]
    /** update data of the table: "sms_template_template" */
    update_sms_template_template?: sms_template_template_mutation_response
    /** update single row of the table: "sms_template_template" */
    update_sms_template_template_by_pk?: sms_template_template
    /** update multiples rows of table: "sms_template_template" */
    update_sms_template_template_many?: (sms_template_template_mutation_response | undefined)[]
    /** update data of the table: "sms_templates" */
    update_sms_templates?: sms_templates_mutation_response
    /** update single row of the table: "sms_templates" */
    update_sms_templates_by_pk?: sms_templates
    /** update multiples rows of table: "sms_templates" */
    update_sms_templates_many?: (sms_templates_mutation_response | undefined)[]
    /** update data of the table: "status" */
    update_status?: status_mutation_response
    /** update single row of the table: "status" */
    update_status_by_pk?: status
    /** update multiples rows of table: "status" */
    update_status_many?: (status_mutation_response | undefined)[]
    /** update data of the table: "table_names" */
    update_table_names?: table_names_mutation_response
    /** update single row of the table: "table_names" */
    update_table_names_by_pk?: table_names
    /** update multiples rows of table: "table_names" */
    update_table_names_many?: (table_names_mutation_response | undefined)[]
    /** update data of the table: "template_artifact_parcel" */
    update_template_artifact_parcel?: template_artifact_parcel_mutation_response
    /** update single row of the table: "template_artifact_parcel" */
    update_template_artifact_parcel_by_pk?: template_artifact_parcel
    /** update multiples rows of table: "template_artifact_parcel" */
    update_template_artifact_parcel_many?: (template_artifact_parcel_mutation_response | undefined)[]
    /** update data of the table: "template_cache" */
    update_template_cache?: template_cache_mutation_response
    /** update data of the table: "template_cache_access" */
    update_template_cache_access?: template_cache_access_mutation_response
    /** update single row of the table: "template_cache_access" */
    update_template_cache_access_by_pk?: template_cache_access
    /** update multiples rows of table: "template_cache_access" */
    update_template_cache_access_many?: (template_cache_access_mutation_response | undefined)[]
    /** update single row of the table: "template_cache" */
    update_template_cache_by_pk?: template_cache
    /** update multiples rows of table: "template_cache" */
    update_template_cache_many?: (template_cache_mutation_response | undefined)[]
    /** update data of the table: "template_flags" */
    update_template_flags?: template_flags_mutation_response
    /** update multiples rows of table: "template_flags" */
    update_template_flags_many?: (template_flags_mutation_response | undefined)[]
    /** update data of the table: "template_journal_roles" */
    update_template_journal_roles?: template_journal_roles_mutation_response
    /** update single row of the table: "template_journal_roles" */
    update_template_journal_roles_by_pk?: template_journal_roles
    /** update multiples rows of table: "template_journal_roles" */
    update_template_journal_roles_many?: (template_journal_roles_mutation_response | undefined)[]
    /** update data of the table: "template_offer_types" */
    update_template_offer_types?: template_offer_types_mutation_response
    /** update single row of the table: "template_offer_types" */
    update_template_offer_types_by_pk?: template_offer_types
    /** update multiples rows of table: "template_offer_types" */
    update_template_offer_types_many?: (template_offer_types_mutation_response | undefined)[]
    /** update data of the table: "template_offers" */
    update_template_offers?: template_offers_mutation_response
    /** update single row of the table: "template_offers" */
    update_template_offers_by_pk?: template_offers
    /** update multiples rows of table: "template_offers" */
    update_template_offers_many?: (template_offers_mutation_response | undefined)[]
    /** update data of the table: "templates" */
    update_templates?: templates_mutation_response
    /** update single row of the table: "templates" */
    update_templates_by_pk?: templates
    /** update multiples rows of table: "templates" */
    update_templates_many?: (templates_mutation_response | undefined)[]
    /** update data of the table: "types" */
    update_types?: types_mutation_response
    /** update single row of the table: "types" */
    update_types_by_pk?: types
    /** update multiples rows of table: "types" */
    update_types_many?: (types_mutation_response | undefined)[]
    __typename: 'mutation_root'
}


/** column ordering options */
export type order_by = 'asc' | 'asc_nulls_first' | 'asc_nulls_last' | 'desc' | 'desc_nulls_first' | 'desc_nulls_last'


/** columns and relationships of "organization_qnr_widget" */
export interface organization_qnr_widget {
    contact_person_journal_user_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    id: Scalars['uuid']
    journal_user_id: Scalars['String']
    organization_journal_user_id: Scalars['String']
    qnr_id: Scalars['uuid']
    /** An object relationship */
    query?: queries
    question_id: Scalars['uuid']
    recipient_activity_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'organization_qnr_widget'
}


/** aggregated selection of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate {
    aggregate?: organization_qnr_widget_aggregate_fields
    nodes: organization_qnr_widget[]
    __typename: 'organization_qnr_widget_aggregate'
}


/** aggregate fields of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate_fields {
    count: Scalars['Int']
    max?: organization_qnr_widget_max_fields
    min?: organization_qnr_widget_min_fields
    __typename: 'organization_qnr_widget_aggregate_fields'
}


/** unique or primary key constraints on table "organization_qnr_widget" */
export type organization_qnr_widget_constraint = 'organization_qnr_widget_journal_user_id_customer_id_organizatio' | 'organization_qnr_widget_pkey'


/** aggregate max on columns */
export interface organization_qnr_widget_max_fields {
    contact_person_journal_user_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    journal_user_id?: Scalars['String']
    organization_journal_user_id?: Scalars['String']
    qnr_id?: Scalars['uuid']
    question_id?: Scalars['uuid']
    recipient_activity_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'organization_qnr_widget_max_fields'
}


/** aggregate min on columns */
export interface organization_qnr_widget_min_fields {
    contact_person_journal_user_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    journal_user_id?: Scalars['String']
    organization_journal_user_id?: Scalars['String']
    qnr_id?: Scalars['uuid']
    question_id?: Scalars['uuid']
    recipient_activity_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'organization_qnr_widget_min_fields'
}


/** response of any mutation on the table "organization_qnr_widget" */
export interface organization_qnr_widget_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: organization_qnr_widget[]
    __typename: 'organization_qnr_widget_mutation_response'
}


/** select columns of table "organization_qnr_widget" */
export type organization_qnr_widget_select_column = 'contact_person_journal_user_id' | 'created_at' | 'customer_id' | 'id' | 'journal_user_id' | 'organization_journal_user_id' | 'qnr_id' | 'question_id' | 'recipient_activity_id' | 'updated_at'


/** update columns of table "organization_qnr_widget" */
export type organization_qnr_widget_update_column = 'contact_person_journal_user_id' | 'created_at' | 'customer_id' | 'id' | 'journal_user_id' | 'organization_journal_user_id' | 'qnr_id' | 'question_id' | 'recipient_activity_id' | 'updated_at'


/** columns and relationships of "projects" */
export interface projects {
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    id: Scalars['String']
    journal_project_id: Scalars['String']
    /** An object relationship */
    shortcut: shortcuts
    shortcut_id: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'projects'
}


/** aggregated selection of "projects" */
export interface projects_aggregate {
    aggregate?: projects_aggregate_fields
    nodes: projects[]
    __typename: 'projects_aggregate'
}


/** aggregate fields of "projects" */
export interface projects_aggregate_fields {
    count: Scalars['Int']
    max?: projects_max_fields
    min?: projects_min_fields
    __typename: 'projects_aggregate_fields'
}


/** unique or primary key constraints on table "projects" */
export type projects_constraint = 'idx_38653_primary' | 'idx_38653_projects_id_unique'


/** aggregate max on columns */
export interface projects_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['String']
    journal_project_id?: Scalars['String']
    shortcut_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'projects_max_fields'
}


/** aggregate min on columns */
export interface projects_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['String']
    journal_project_id?: Scalars['String']
    shortcut_id?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'projects_min_fields'
}


/** response of any mutation on the table "projects" */
export interface projects_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: projects[]
    __typename: 'projects_mutation_response'
}


/** select columns of table "projects" */
export type projects_select_column = 'created_at' | 'customer_id' | 'id' | 'journal_project_id' | 'shortcut_id' | 'updated_at'


/** update columns of table "projects" */
export type projects_update_column = 'created_at' | 'customer_id' | 'id' | 'journal_project_id' | 'shortcut_id' | 'updated_at'

export interface qnr_PropertiesResponse {
    properties: Scalars['jsonb']
    questions: Scalars['jsonb']
    __typename: 'qnr_PropertiesResponse'
}


/** holds overridden data of the qnr_templates(templates) table of the genesis customer; only fields allowed to be modified are: qnr_info,template_uuid(insert only), */
export interface qnr_template_genesis_overrides {
    changed_at: Scalars['timestamptz']
    changed_by: Scalars['String']
    context?: Scalars['String']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    generate_on_start?: Scalars['Boolean']
    journal_roles?: Scalars['String'][]
    offer_types?: Scalars['String'][]
    offers?: Scalars['String'][]
    qnr_info: Scalars['jsonb']
    /** An object relationship */
    template: templates
    template_uuid: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides'
}


/** aggregated selection of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate {
    aggregate?: qnr_template_genesis_overrides_aggregate_fields
    nodes: qnr_template_genesis_overrides[]
    __typename: 'qnr_template_genesis_overrides_aggregate'
}


/** aggregate fields of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate_fields {
    count: Scalars['Int']
    max?: qnr_template_genesis_overrides_max_fields
    min?: qnr_template_genesis_overrides_min_fields
    __typename: 'qnr_template_genesis_overrides_aggregate_fields'
}


/** unique or primary key constraints on table "qnr_template_genesis_overrides" */
export type qnr_template_genesis_overrides_constraint = 'qnr_template_genesis_ovverides_pkey'


/** logs table for qnr_template_genesis_overrides  */
export interface qnr_template_genesis_overrides_log {
    changed_at: Scalars['timestamptz']
    changed_by: Scalars['String']
    customer_id: Scalars['uuid']
    db_op: Scalars['String']
    deleted_by?: Scalars['String']
    id: Scalars['Int']
    qnr_info: Scalars['jsonb']
    template_uuid: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides_log'
}


/** aggregated selection of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregate {
    aggregate?: qnr_template_genesis_overrides_log_aggregate_fields
    nodes: qnr_template_genesis_overrides_log[]
    __typename: 'qnr_template_genesis_overrides_log_aggregate'
}


/** aggregate fields of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregate_fields {
    avg?: qnr_template_genesis_overrides_log_avg_fields
    count: Scalars['Int']
    max?: qnr_template_genesis_overrides_log_max_fields
    min?: qnr_template_genesis_overrides_log_min_fields
    stddev?: qnr_template_genesis_overrides_log_stddev_fields
    stddev_pop?: qnr_template_genesis_overrides_log_stddev_pop_fields
    stddev_samp?: qnr_template_genesis_overrides_log_stddev_samp_fields
    sum?: qnr_template_genesis_overrides_log_sum_fields
    var_pop?: qnr_template_genesis_overrides_log_var_pop_fields
    var_samp?: qnr_template_genesis_overrides_log_var_samp_fields
    variance?: qnr_template_genesis_overrides_log_variance_fields
    __typename: 'qnr_template_genesis_overrides_log_aggregate_fields'
}


/** aggregate avg on columns */
export interface qnr_template_genesis_overrides_log_avg_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_avg_fields'
}


/** unique or primary key constraints on table "qnr_template_genesis_overrides_log" */
export type qnr_template_genesis_overrides_log_constraint = 'qnr_template_genesis_overrides_log_pkey'


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_log_max_fields {
    changed_at?: Scalars['timestamptz']
    changed_by?: Scalars['String']
    customer_id?: Scalars['uuid']
    db_op?: Scalars['String']
    deleted_by?: Scalars['String']
    id?: Scalars['Int']
    template_uuid?: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides_log_max_fields'
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_log_min_fields {
    changed_at?: Scalars['timestamptz']
    changed_by?: Scalars['String']
    customer_id?: Scalars['uuid']
    db_op?: Scalars['String']
    deleted_by?: Scalars['String']
    id?: Scalars['Int']
    template_uuid?: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides_log_min_fields'
}


/** response of any mutation on the table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: qnr_template_genesis_overrides_log[]
    __typename: 'qnr_template_genesis_overrides_log_mutation_response'
}


/** select columns of table "qnr_template_genesis_overrides_log" */
export type qnr_template_genesis_overrides_log_select_column = 'changed_at' | 'changed_by' | 'customer_id' | 'db_op' | 'deleted_by' | 'id' | 'qnr_info' | 'template_uuid'


/** aggregate stddev on columns */
export interface qnr_template_genesis_overrides_log_stddev_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface qnr_template_genesis_overrides_log_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface qnr_template_genesis_overrides_log_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface qnr_template_genesis_overrides_log_sum_fields {
    id?: Scalars['Int']
    __typename: 'qnr_template_genesis_overrides_log_sum_fields'
}


/** update columns of table "qnr_template_genesis_overrides_log" */
export type qnr_template_genesis_overrides_log_update_column = 'changed_at' | 'changed_by' | 'customer_id' | 'db_op' | 'deleted_by' | 'id' | 'qnr_info' | 'template_uuid'


/** aggregate var_pop on columns */
export interface qnr_template_genesis_overrides_log_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface qnr_template_genesis_overrides_log_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_var_samp_fields'
}


/** aggregate variance on columns */
export interface qnr_template_genesis_overrides_log_variance_fields {
    id?: Scalars['Float']
    __typename: 'qnr_template_genesis_overrides_log_variance_fields'
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_max_fields {
    changed_at?: Scalars['timestamptz']
    changed_by?: Scalars['String']
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    journal_roles?: Scalars['String'][]
    offer_types?: Scalars['String'][]
    offers?: Scalars['String'][]
    template_uuid?: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides_max_fields'
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_min_fields {
    changed_at?: Scalars['timestamptz']
    changed_by?: Scalars['String']
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    journal_roles?: Scalars['String'][]
    offer_types?: Scalars['String'][]
    offers?: Scalars['String'][]
    template_uuid?: Scalars['uuid']
    __typename: 'qnr_template_genesis_overrides_min_fields'
}


/** response of any mutation on the table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: qnr_template_genesis_overrides[]
    __typename: 'qnr_template_genesis_overrides_mutation_response'
}


/** select columns of table "qnr_template_genesis_overrides" */
export type qnr_template_genesis_overrides_select_column = 'changed_at' | 'changed_by' | 'context' | 'created_at' | 'customer_id' | 'generate_on_start' | 'journal_roles' | 'offer_types' | 'offers' | 'qnr_info' | 'template_uuid'


/** select "qnr_template_genesis_overrides_aggregate_bool_exp_bool_and_arguments_columns" columns of table "qnr_template_genesis_overrides" */
export type qnr_template_genesis_overrides_select_column_qnr_template_genesis_overrides_aggregate_bool_exp_bool_and_arguments_columns = 'generate_on_start'


/** select "qnr_template_genesis_overrides_aggregate_bool_exp_bool_or_arguments_columns" columns of table "qnr_template_genesis_overrides" */
export type qnr_template_genesis_overrides_select_column_qnr_template_genesis_overrides_aggregate_bool_exp_bool_or_arguments_columns = 'generate_on_start'


/** update columns of table "qnr_template_genesis_overrides" */
export type qnr_template_genesis_overrides_update_column = 'changed_at' | 'changed_by' | 'context' | 'created_at' | 'customer_id' | 'generate_on_start' | 'journal_roles' | 'offer_types' | 'offers' | 'qnr_info' | 'template_uuid'

export interface qnrs_ActionTypeResponse {
    archived: Scalars['Boolean']
    artifact_package?: artifactPackage
    artifact_package_id: Scalars['uuid']
    cache: Scalars['Boolean']
    created_at: Scalars['String']
    customer_id: Scalars['uuid']
    deleted_at: Scalars['String']
    hide_for_patient: Scalars['Boolean']
    id: Scalars['bigint']
    initiator: Scalars['String']
    patient_id: Scalars['uuid']
    properties: qnr_PropertiesResponse
    queries_log?: (queriesLog | undefined)[]
    query_uuid: Scalars['uuid']
    region: Scalars['String']
    rejected: Scalars['Boolean']
    security_level: Scalars['smallint']
    seen_by_therapist: Scalars['Boolean']
    share_with_recipient: Scalars['Boolean']
    soknad_id: Scalars['String']
    status: Scalars['String']
    template_id: Scalars['bigint']
    title: Scalars['String']
    token: Scalars['String']
    updated_at: Scalars['String']
    updated_by: Scalars['uuid']
    valid_from: Scalars['String']
    valid_to: Scalars['String']
    __typename: 'qnrs_ActionTypeResponse'
}

export interface qnrs_ActionTypeResponseData {
    errors?: (qnrs_ResponseErrors | undefined)[]
    qnrs?: (qnrs_ActionTypeResponse | undefined)[]
    __typename: 'qnrs_ActionTypeResponseData'
}

export interface qnrs_ResponseErrors {
    error?: Scalars['String']
    participant_id?: Scalars['String']
    query_id?: Scalars['String']
    template_id?: Scalars['String']
    __typename: 'qnrs_ResponseErrors'
}


/** New name of this table is qnrs */
export interface queries {
    /** An array relationship */
    DocKladd_questions: DocKladd_questions[]
    /** An aggregate relationship */
    DocKladd_questions_aggregate: DocKladd_questions_aggregate
    /** An array relationship */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate: adopus_AdgangLinjer_aggregate
    archived: Scalars['Boolean']
    /** An object relationship */
    artifact_package?: artifact_packages
    artifact_package_id?: Scalars['uuid']
    cache: Scalars['Boolean']
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    /** An object relationship */
    customers?: directory_customers
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directory_user_name_patient_id?: directory_user_name
    /** An object relationship */
    directory_user_name_updated_by?: directory_user_name
    document_id?: Scalars['bigint']
    /** An object relationship */
    documents?: documents
    hide_for_patient: Scalars['Boolean']
    id: Scalars['bigint']
    initiator: initiators_enum
    /** An object relationship */
    initiatorByInitiator: initiators
    /** An array relationship */
    organization_qnr_widgets: organization_qnr_widget[]
    /** An aggregate relationship */
    organization_qnr_widgets_aggregate: organization_qnr_widget_aggregate
    patient_id: Scalars['uuid']
    properties?: Scalars['jsonb']
    /** An object relationship */
    qnr_template?: templates
    /** An object relationship */
    queries_cache?: queries_cache
    /** An array relationship */
    queries_error: queries_error[]
    /** An aggregate relationship */
    queries_error_aggregate: queries_error_aggregate
    /** An array relationship */
    queries_log: queries_log[]
    /** An aggregate relationship */
    queries_log_aggregate: queries_log_aggregate
    /** An object relationship */
    queries_queries_templates?: queries_templates
    query_uuid: Scalars['uuid']
    region: Scalars['String']
    rejected: Scalars['Boolean']
    security_level: Scalars['smallint']
    seen_by_therapist: Scalars['Boolean']
    share_with_recipient: Scalars['Boolean']
    /** An array relationship */
    sms: sms[]
    /** An aggregate relationship */
    sms_aggregate: sms_aggregate
    soknad_id?: Scalars['String']
    status: status_enum
    /** An object relationship */
    statusByStatus: status
    template_id: Scalars['bigint']
    /** An object relationship */
    templates?: templates
    title: Scalars['String']
    token?: Scalars['String']
    updated_at: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from: Scalars['date']
    valid_to: Scalars['date']
    __typename: 'queries'
}

export interface queriesLog {
    ai_id: Scalars['bigint']
    updated_by: Scalars['String']
    __typename: 'queriesLog'
}


/** aggregated selection of "queries" */
export interface queries_aggregate {
    aggregate?: queries_aggregate_fields
    nodes: queries[]
    __typename: 'queries_aggregate'
}


/** aggregate fields of "queries" */
export interface queries_aggregate_fields {
    avg?: queries_avg_fields
    count: Scalars['Int']
    max?: queries_max_fields
    min?: queries_min_fields
    stddev?: queries_stddev_fields
    stddev_pop?: queries_stddev_pop_fields
    stddev_samp?: queries_stddev_samp_fields
    sum?: queries_sum_fields
    var_pop?: queries_var_pop_fields
    var_samp?: queries_var_samp_fields
    variance?: queries_variance_fields
    __typename: 'queries_aggregate_fields'
}


/** aggregate avg on columns */
export interface queries_avg_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_avg_fields'
}


/** temp cahce for query creation for dev purposes only */
export interface queries_cache {
    cache: Scalars['Boolean']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    properties: Scalars['jsonb']
    /** An object relationship */
    query: queries
    query_id: Scalars['uuid']
    soknad_id?: Scalars['bpchar']
    updated_at: Scalars['timestamptz']
    __typename: 'queries_cache'
}


/** aggregated selection of "queries_cache" */
export interface queries_cache_aggregate {
    aggregate?: queries_cache_aggregate_fields
    nodes: queries_cache[]
    __typename: 'queries_cache_aggregate'
}


/** aggregate fields of "queries_cache" */
export interface queries_cache_aggregate_fields {
    count: Scalars['Int']
    max?: queries_cache_max_fields
    min?: queries_cache_min_fields
    __typename: 'queries_cache_aggregate_fields'
}


/** unique or primary key constraints on table "queries_cache" */
export type queries_cache_constraint = 'queries_cache_pkey' | 'queries_cache_query_id_key'


/** aggregate max on columns */
export interface queries_cache_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    query_id?: Scalars['uuid']
    soknad_id?: Scalars['bpchar']
    updated_at?: Scalars['timestamptz']
    __typename: 'queries_cache_max_fields'
}


/** aggregate min on columns */
export interface queries_cache_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    query_id?: Scalars['uuid']
    soknad_id?: Scalars['bpchar']
    updated_at?: Scalars['timestamptz']
    __typename: 'queries_cache_min_fields'
}


/** response of any mutation on the table "queries_cache" */
export interface queries_cache_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: queries_cache[]
    __typename: 'queries_cache_mutation_response'
}


/** select columns of table "queries_cache" */
export type queries_cache_select_column = 'cache' | 'created_at' | 'customer_id' | 'properties' | 'query_id' | 'soknad_id' | 'updated_at'


/** update columns of table "queries_cache" */
export type queries_cache_update_column = 'cache' | 'created_at' | 'customer_id' | 'properties' | 'query_id' | 'soknad_id' | 'updated_at'


/** unique or primary key constraints on table "queries" */
export type queries_constraint = 'idx_38661_primary' | 'queries_query_uuid_key' | 'unique_qnr'


/** columns and relationships of "queries_error" */
export interface queries_error {
    ai_id: Scalars['Int']
    created_at: Scalars['timestamptz']
    created_by?: Scalars['String']
    customer_id: Scalars['uuid']
    error: Scalars['String']
    properties?: Scalars['jsonb']
    /** An object relationship */
    query?: queries
    query_uuid: Scalars['uuid']
    updated_at: Scalars['timestamptz']
    updated_by?: Scalars['String']
    __typename: 'queries_error'
}


/** aggregated selection of "queries_error" */
export interface queries_error_aggregate {
    aggregate?: queries_error_aggregate_fields
    nodes: queries_error[]
    __typename: 'queries_error_aggregate'
}


/** aggregate fields of "queries_error" */
export interface queries_error_aggregate_fields {
    avg?: queries_error_avg_fields
    count: Scalars['Int']
    max?: queries_error_max_fields
    min?: queries_error_min_fields
    stddev?: queries_error_stddev_fields
    stddev_pop?: queries_error_stddev_pop_fields
    stddev_samp?: queries_error_stddev_samp_fields
    sum?: queries_error_sum_fields
    var_pop?: queries_error_var_pop_fields
    var_samp?: queries_error_var_samp_fields
    variance?: queries_error_variance_fields
    __typename: 'queries_error_aggregate_fields'
}


/** aggregate avg on columns */
export interface queries_error_avg_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_avg_fields'
}


/** unique or primary key constraints on table "queries_error" */
export type queries_error_constraint = 'queries_error_pkey'


/** aggregate max on columns */
export interface queries_error_max_fields {
    ai_id?: Scalars['Int']
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['String']
    customer_id?: Scalars['uuid']
    error?: Scalars['String']
    query_uuid?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['String']
    __typename: 'queries_error_max_fields'
}


/** aggregate min on columns */
export interface queries_error_min_fields {
    ai_id?: Scalars['Int']
    created_at?: Scalars['timestamptz']
    created_by?: Scalars['String']
    customer_id?: Scalars['uuid']
    error?: Scalars['String']
    query_uuid?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['String']
    __typename: 'queries_error_min_fields'
}


/** response of any mutation on the table "queries_error" */
export interface queries_error_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: queries_error[]
    __typename: 'queries_error_mutation_response'
}


/** select columns of table "queries_error" */
export type queries_error_select_column = 'ai_id' | 'created_at' | 'created_by' | 'customer_id' | 'error' | 'properties' | 'query_uuid' | 'updated_at' | 'updated_by'


/** aggregate stddev on columns */
export interface queries_error_stddev_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface queries_error_stddev_pop_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface queries_error_stddev_samp_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface queries_error_sum_fields {
    ai_id?: Scalars['Int']
    __typename: 'queries_error_sum_fields'
}


/** update columns of table "queries_error" */
export type queries_error_update_column = 'ai_id' | 'created_at' | 'created_by' | 'customer_id' | 'error' | 'properties' | 'query_uuid' | 'updated_at' | 'updated_by'


/** aggregate var_pop on columns */
export interface queries_error_var_pop_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface queries_error_var_samp_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_var_samp_fields'
}


/** aggregate variance on columns */
export interface queries_error_variance_fields {
    ai_id?: Scalars['Float']
    __typename: 'queries_error_variance_fields'
}


/** columns and relationships of "queries_log" */
export interface queries_log {
    ai_id: Scalars['Int']
    archived: Scalars['Boolean']
    artifact_package_id?: Scalars['uuid']
    cache: Scalars['Boolean']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['bigint']
    /** An object relationship */
    documents?: documents
    hide_for_patient: Scalars['Boolean']
    id: Scalars['bigint']
    initiator: Scalars['String']
    patient_id: Scalars['uuid']
    properties?: Scalars['jsonb']
    query_uuid: Scalars['uuid']
    region: Scalars['String']
    rejected: Scalars['Boolean']
    security_level: Scalars['smallint']
    seen_by_therapist: Scalars['Boolean']
    share_with_recipient: Scalars['Boolean']
    soknad_id?: Scalars['String']
    status: Scalars['String']
    template_id: Scalars['bigint']
    title: Scalars['String']
    token?: Scalars['String']
    unique_uuid_for_compare_with_prev?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from: Scalars['date']
    valid_to: Scalars['date']
    __typename: 'queries_log'
}


/** aggregated selection of "queries_log" */
export interface queries_log_aggregate {
    aggregate?: queries_log_aggregate_fields
    nodes: queries_log[]
    __typename: 'queries_log_aggregate'
}


/** aggregate fields of "queries_log" */
export interface queries_log_aggregate_fields {
    avg?: queries_log_avg_fields
    count: Scalars['Int']
    max?: queries_log_max_fields
    min?: queries_log_min_fields
    stddev?: queries_log_stddev_fields
    stddev_pop?: queries_log_stddev_pop_fields
    stddev_samp?: queries_log_stddev_samp_fields
    sum?: queries_log_sum_fields
    var_pop?: queries_log_var_pop_fields
    var_samp?: queries_log_var_samp_fields
    variance?: queries_log_variance_fields
    __typename: 'queries_log_aggregate_fields'
}


/** aggregate avg on columns */
export interface queries_log_avg_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_avg_fields'
}


/** unique or primary key constraints on table "queries_log" */
export type queries_log_constraint = 'queries_log_pkey'


/** aggregate max on columns */
export interface queries_log_max_fields {
    ai_id?: Scalars['Int']
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    region?: Scalars['String']
    security_level?: Scalars['smallint']
    soknad_id?: Scalars['String']
    status?: Scalars['String']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    token?: Scalars['String']
    unique_uuid_for_compare_with_prev?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'queries_log_max_fields'
}


/** aggregate min on columns */
export interface queries_log_min_fields {
    ai_id?: Scalars['Int']
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    region?: Scalars['String']
    security_level?: Scalars['smallint']
    soknad_id?: Scalars['String']
    status?: Scalars['String']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    token?: Scalars['String']
    unique_uuid_for_compare_with_prev?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'queries_log_min_fields'
}


/** response of any mutation on the table "queries_log" */
export interface queries_log_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: queries_log[]
    __typename: 'queries_log_mutation_response'
}


/** select columns of table "queries_log" */
export type queries_log_select_column = 'ai_id' | 'archived' | 'artifact_package_id' | 'cache' | 'created_at' | 'customer_id' | 'deleted_at' | 'document_id' | 'hide_for_patient' | 'id' | 'initiator' | 'patient_id' | 'properties' | 'query_uuid' | 'region' | 'rejected' | 'security_level' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id' | 'status' | 'template_id' | 'title' | 'token' | 'unique_uuid_for_compare_with_prev' | 'updated_at' | 'updated_by' | 'valid_from' | 'valid_to'


/** select "queries_log_aggregate_bool_exp_bool_and_arguments_columns" columns of table "queries_log" */
export type queries_log_select_column_queries_log_aggregate_bool_exp_bool_and_arguments_columns = 'archived' | 'cache' | 'hide_for_patient' | 'rejected' | 'seen_by_therapist' | 'share_with_recipient'


/** select "queries_log_aggregate_bool_exp_bool_or_arguments_columns" columns of table "queries_log" */
export type queries_log_select_column_queries_log_aggregate_bool_exp_bool_or_arguments_columns = 'archived' | 'cache' | 'hide_for_patient' | 'rejected' | 'seen_by_therapist' | 'share_with_recipient'


/** aggregate stddev on columns */
export interface queries_log_stddev_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface queries_log_stddev_pop_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface queries_log_stddev_samp_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface queries_log_sum_fields {
    ai_id?: Scalars['Int']
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    security_level?: Scalars['smallint']
    template_id?: Scalars['bigint']
    __typename: 'queries_log_sum_fields'
}


/** update columns of table "queries_log" */
export type queries_log_update_column = 'ai_id' | 'archived' | 'artifact_package_id' | 'cache' | 'created_at' | 'customer_id' | 'deleted_at' | 'document_id' | 'hide_for_patient' | 'id' | 'initiator' | 'patient_id' | 'properties' | 'query_uuid' | 'region' | 'rejected' | 'security_level' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id' | 'status' | 'template_id' | 'title' | 'token' | 'unique_uuid_for_compare_with_prev' | 'updated_at' | 'updated_by' | 'valid_from' | 'valid_to'


/** aggregate var_pop on columns */
export interface queries_log_var_pop_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface queries_log_var_samp_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_var_samp_fields'
}


/** aggregate variance on columns */
export interface queries_log_variance_fields {
    ai_id?: Scalars['Float']
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_log_variance_fields'
}


/** aggregate max on columns */
export interface queries_max_fields {
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    region?: Scalars['String']
    security_level?: Scalars['smallint']
    soknad_id?: Scalars['String']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    token?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'queries_max_fields'
}


/** aggregate min on columns */
export interface queries_min_fields {
    artifact_package_id?: Scalars['uuid']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    region?: Scalars['String']
    security_level?: Scalars['smallint']
    soknad_id?: Scalars['String']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    token?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    updated_by?: Scalars['uuid']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'queries_min_fields'
}


/** response of any mutation on the table "queries" */
export interface queries_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: queries[]
    __typename: 'queries_mutation_response'
}


/** select columns of table "queries" */
export type queries_select_column = 'archived' | 'artifact_package_id' | 'cache' | 'created_at' | 'customer_id' | 'deleted_at' | 'document_id' | 'hide_for_patient' | 'id' | 'initiator' | 'patient_id' | 'properties' | 'query_uuid' | 'region' | 'rejected' | 'security_level' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id' | 'status' | 'template_id' | 'title' | 'token' | 'updated_at' | 'updated_by' | 'valid_from' | 'valid_to'


/** select "queries_aggregate_bool_exp_bool_and_arguments_columns" columns of table "queries" */
export type queries_select_column_queries_aggregate_bool_exp_bool_and_arguments_columns = 'archived' | 'cache' | 'hide_for_patient' | 'rejected' | 'seen_by_therapist' | 'share_with_recipient'


/** select "queries_aggregate_bool_exp_bool_or_arguments_columns" columns of table "queries" */
export type queries_select_column_queries_aggregate_bool_exp_bool_or_arguments_columns = 'archived' | 'cache' | 'hide_for_patient' | 'rejected' | 'seen_by_therapist' | 'share_with_recipient'


/** aggregate stddev on columns */
export interface queries_stddev_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface queries_stddev_pop_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface queries_stddev_samp_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface queries_sum_fields {
    document_id?: Scalars['bigint']
    id?: Scalars['bigint']
    security_level?: Scalars['smallint']
    template_id?: Scalars['bigint']
    __typename: 'queries_sum_fields'
}


/** columns and relationships of "queries_templates" */
export interface queries_templates {
    context?: Scalars['String']
    customer_id?: Scalars['uuid']
    /** An object relationship */
    directory_customers?: directory_customers
    offer?: Scalars['Int']
    plan_category?: Scalars['Int']
    queries_status?: Scalars['String']
    /** An object relationship */
    queries_templates_queries?: queries
    queries_updated_at?: Scalars['timestamptz']
    query_uuid?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    /** An object relationship */
    templates?: templates
    __typename: 'queries_templates'
}


/** aggregated selection of "queries_templates" */
export interface queries_templates_aggregate {
    aggregate?: queries_templates_aggregate_fields
    nodes: queries_templates[]
    __typename: 'queries_templates_aggregate'
}


/** aggregate fields of "queries_templates" */
export interface queries_templates_aggregate_fields {
    avg?: queries_templates_avg_fields
    count: Scalars['Int']
    max?: queries_templates_max_fields
    min?: queries_templates_min_fields
    stddev?: queries_templates_stddev_fields
    stddev_pop?: queries_templates_stddev_pop_fields
    stddev_samp?: queries_templates_stddev_samp_fields
    sum?: queries_templates_sum_fields
    var_pop?: queries_templates_var_pop_fields
    var_samp?: queries_templates_var_samp_fields
    variance?: queries_templates_variance_fields
    __typename: 'queries_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface queries_templates_avg_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_avg_fields'
}


/** aggregate max on columns */
export interface queries_templates_max_fields {
    context?: Scalars['String']
    customer_id?: Scalars['uuid']
    offer?: Scalars['Int']
    plan_category?: Scalars['Int']
    queries_status?: Scalars['String']
    queries_updated_at?: Scalars['timestamptz']
    query_uuid?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    __typename: 'queries_templates_max_fields'
}


/** aggregate min on columns */
export interface queries_templates_min_fields {
    context?: Scalars['String']
    customer_id?: Scalars['uuid']
    offer?: Scalars['Int']
    plan_category?: Scalars['Int']
    queries_status?: Scalars['String']
    queries_updated_at?: Scalars['timestamptz']
    query_uuid?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    __typename: 'queries_templates_min_fields'
}


/** select columns of table "queries_templates" */
export type queries_templates_select_column = 'context' | 'customer_id' | 'offer' | 'plan_category' | 'queries_status' | 'queries_updated_at' | 'query_uuid' | 'template_uuid'


/** aggregate stddev on columns */
export interface queries_templates_stddev_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface queries_templates_stddev_pop_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface queries_templates_stddev_samp_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface queries_templates_sum_fields {
    offer?: Scalars['Int']
    plan_category?: Scalars['Int']
    __typename: 'queries_templates_sum_fields'
}


/** aggregate var_pop on columns */
export interface queries_templates_var_pop_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface queries_templates_var_samp_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface queries_templates_variance_fields {
    offer?: Scalars['Float']
    plan_category?: Scalars['Float']
    __typename: 'queries_templates_variance_fields'
}


/** update columns of table "queries" */
export type queries_update_column = 'archived' | 'artifact_package_id' | 'cache' | 'created_at' | 'customer_id' | 'deleted_at' | 'document_id' | 'hide_for_patient' | 'id' | 'initiator' | 'patient_id' | 'properties' | 'query_uuid' | 'region' | 'rejected' | 'security_level' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id' | 'status' | 'template_id' | 'title' | 'token' | 'updated_at' | 'updated_by' | 'valid_from' | 'valid_to'


/** aggregate var_pop on columns */
export interface queries_var_pop_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface queries_var_samp_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_var_samp_fields'
}


/** aggregate variance on columns */
export interface queries_variance_fields {
    document_id?: Scalars['Float']
    id?: Scalars['Float']
    security_level?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'queries_variance_fields'
}

export interface query_root {
    /** fetch data from the table: "DocKladd_properties" */
    DocKladd_properties: DocKladd_properties[]
    /** fetch aggregated fields from the table: "DocKladd_properties" */
    DocKladd_properties_aggregate: DocKladd_properties_aggregate
    /** fetch data from the table: "DocKladd_properties" using primary key columns */
    DocKladd_properties_by_pk?: DocKladd_properties
    /** An array relationship */
    DocKladd_questions: DocKladd_questions[]
    /** An aggregate relationship */
    DocKladd_questions_aggregate: DocKladd_questions_aggregate
    /** fetch data from the table: "DocKladd_questions" using primary key columns */
    DocKladd_questions_by_pk?: DocKladd_questions
    /** fetch data from the table: "accessible" */
    accessible: accessible[]
    /** fetch aggregated fields from the table: "accessible" */
    accessible_aggregate: accessible_aggregate
    /** fetch data from the table: "accessible" using primary key columns */
    accessible_by_pk?: accessible
    /** An array relationship */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate: adopus_AdgangLinjer_aggregate
    /** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
    adopus_AdgangLinjer_by_pk?: adopus_AdgangLinjer
    /** An array relationship */
    anonymous_answers: anonymous_answers[]
    /** An aggregate relationship */
    anonymous_answers_aggregate: anonymous_answers_aggregate
    /** fetch data from the table: "anonymous_answers" using primary key columns */
    anonymous_answers_by_pk?: anonymous_answers
    /** fetch data from the table: "anonymous_invitations" */
    anonymous_invitations: anonymous_invitations[]
    /** fetch aggregated fields from the table: "anonymous_invitations" */
    anonymous_invitations_aggregate: anonymous_invitations_aggregate
    /** fetch data from the table: "anonymous_invitations" using primary key columns */
    anonymous_invitations_by_pk?: anonymous_invitations
    /** An array relationship */
    anonymous_queries: anonymous_queries[]
    /** An aggregate relationship */
    anonymous_queries_aggregate: anonymous_queries_aggregate
    /** fetch data from the table: "anonymous_queries" using primary key columns */
    anonymous_queries_by_pk?: anonymous_queries
    /** An array relationship */
    anonymous_sms: anonymous_sms[]
    /** An aggregate relationship */
    anonymous_sms_aggregate: anonymous_sms_aggregate
    /** fetch data from the table: "anonymous_sms" using primary key columns */
    anonymous_sms_by_pk?: anonymous_sms
    /** fetch data from the table: "anonymous_template_question" */
    anonymous_template_question: anonymous_template_question[]
    /** fetch aggregated fields from the table: "anonymous_template_question" */
    anonymous_template_question_aggregate: anonymous_template_question_aggregate
    /** fetch data from the table: "anonymous_templates" */
    anonymous_templates: anonymous_templates[]
    /** fetch aggregated fields from the table: "anonymous_templates" */
    anonymous_templates_aggregate: anonymous_templates_aggregate
    /** fetch data from the table: "anonymous_templates" using primary key columns */
    anonymous_templates_by_pk?: anonymous_templates
    /** fetch data from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel: artifact_package_artifact_parcel[]
    /** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_aggregate: artifact_package_artifact_parcel_aggregate
    /** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
    artifact_package_artifact_parcel_by_pk?: artifact_package_artifact_parcel
    /** fetch data from the table: "artifact_package_cron" */
    artifact_package_cron: artifact_package_cron[]
    /** fetch aggregated fields from the table: "artifact_package_cron" */
    artifact_package_cron_aggregate: artifact_package_cron_aggregate
    /** fetch data from the table: "artifact_package_cron" using primary key columns */
    artifact_package_cron_by_pk?: artifact_package_cron
    /** fetch data from the table: "artifact_package_groups" */
    artifact_package_groups: artifact_package_groups[]
    /** fetch aggregated fields from the table: "artifact_package_groups" */
    artifact_package_groups_aggregate: artifact_package_groups_aggregate
    /** fetch data from the table: "artifact_package_groups" using primary key columns */
    artifact_package_groups_by_pk?: artifact_package_groups
    /** An array relationship */
    artifact_packages: artifact_packages[]
    /** An aggregate relationship */
    artifact_packages_aggregate: artifact_packages_aggregate
    /** fetch data from the table: "artifact_packages" using primary key columns */
    artifact_packages_by_pk?: artifact_packages
    /** fetch data from the table: "artifact_parcels" */
    artifact_parcels: artifact_parcels[]
    /** fetch aggregated fields from the table: "artifact_parcels" */
    artifact_parcels_aggregate: artifact_parcels_aggregate
    /** fetch data from the table: "artifact_parcels" using primary key columns */
    artifact_parcels_by_pk?: artifact_parcels
    /** fetch data from the table: "categories" */
    categories: categories[]
    /** fetch aggregated fields from the table: "categories" */
    categories_aggregate: categories_aggregate
    /** fetch data from the table: "categories" using primary key columns */
    categories_by_pk?: categories
    /** An array relationship */
    consent_approval_rejection_reasons: consent_approval_rejection_reasons[]
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate: consent_approval_rejection_reasons_aggregate
    /** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
    consent_approval_rejection_reasons_by_pk?: consent_approval_rejection_reasons
    /** fetch data from the table: "consent_patient" */
    consent_patient: consent_patient[]
    /** fetch aggregated fields from the table: "consent_patient" */
    consent_patient_aggregate: consent_patient_aggregate
    /** fetch data from the table: "consent_patient" using primary key columns */
    consent_patient_by_pk?: consent_patient
    /** fetch data from the table: "consent_status" */
    consent_status: consent_status[]
    /** fetch aggregated fields from the table: "consent_status" */
    consent_status_aggregate: consent_status_aggregate
    /** fetch data from the table: "consent_status" using primary key columns */
    consent_status_by_pk?: consent_status
    /** fetch data from the table: "consent_template_to_template" */
    consent_template_to_template: consent_template_to_template[]
    /** fetch aggregated fields from the table: "consent_template_to_template" */
    consent_template_to_template_aggregate: consent_template_to_template_aggregate
    /** An array relationship */
    consent_templates: consent_templates[]
    /** An aggregate relationship */
    consent_templates_aggregate: consent_templates_aggregate
    /** fetch data from the table: "consent_templates" using primary key columns */
    consent_templates_by_pk?: consent_templates
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    /** fetch data from the table: "consents" using primary key columns */
    consents_by_pk?: consents
    /** fetch data from the table: "context_group_context" */
    context_group_context: context_group_context[]
    /** fetch aggregated fields from the table: "context_group_context" */
    context_group_context_aggregate: context_group_context_aggregate
    /** fetch data from the table: "context_group_context" using primary key columns */
    context_group_context_by_pk?: context_group_context
    /** fetch data from the table: "contexts" */
    contexts: contexts[]
    /** fetch aggregated fields from the table: "contexts" */
    contexts_aggregate: contexts_aggregate
    /** fetch data from the table: "contexts" using primary key columns */
    contexts_by_pk?: contexts
    /** fetch data from the table: "custom_db_nodes" */
    custom_db_nodes: custom_db_nodes[]
    /** fetch aggregated fields from the table: "custom_db_nodes" */
    custom_db_nodes_aggregate: custom_db_nodes_aggregate
    /** fetch data from the table: "custom_db_nodes" using primary key columns */
    custom_db_nodes_by_pk?: custom_db_nodes
    /** fetch data from the table: "directory_customers" */
    directory_customers: directory_customers[]
    /** fetch aggregated fields from the table: "directory_customers" */
    directory_customers_aggregate: directory_customers_aggregate
    /** fetch data from the table: "directory_customers" using primary key columns */
    directory_customers_by_pk?: directory_customers
    /** fetch data from the table: "directory_user_name" */
    directory_user_name: directory_user_name[]
    /** fetch aggregated fields from the table: "directory_user_name" */
    directory_user_name_aggregate: directory_user_name_aggregate
    /** fetch data from the table: "directory_user_name" using primary key columns */
    directory_user_name_by_pk?: directory_user_name
    /** fetch data from the table: "document_patient" */
    document_patient: document_patient[]
    /** fetch aggregated fields from the table: "document_patient" */
    document_patient_aggregate: document_patient_aggregate
    /** fetch data from the table: "document_patient" using primary key columns */
    document_patient_by_pk?: document_patient
    /** An array relationship */
    document_sms: document_sms[]
    /** An aggregate relationship */
    document_sms_aggregate: document_sms_aggregate
    /** An array relationship */
    documents: documents[]
    /** An aggregate relationship */
    documents_aggregate: documents_aggregate
    /** fetch data from the table: "documents" using primary key columns */
    documents_by_pk?: documents
    /** fetch data from the table: "documents_overview" */
    documents_overview: documents_overview[]
    /** fetch aggregated fields from the table: "documents_overview" */
    documents_overview_aggregate: documents_overview_aggregate
    /** fetch data from the table: "event_artifact_package" */
    event_artifact_package: event_artifact_package[]
    /** fetch aggregated fields from the table: "event_artifact_package" */
    event_artifact_package_aggregate: event_artifact_package_aggregate
    /** fetch data from the table: "event_artifact_package" using primary key columns */
    event_artifact_package_by_pk?: event_artifact_package
    /** An array relationship */
    favorite_templates_order: favorite_templates_order[]
    /** An aggregate relationship */
    favorite_templates_order_aggregate: favorite_templates_order_aggregate
    /** fetch data from the table: "favorite_templates_order" using primary key columns */
    favorite_templates_order_by_pk?: favorite_templates_order
    /** An array relationship */
    favorites: favorites[]
    /** An aggregate relationship */
    favorites_aggregate: favorites_aggregate
    /** fetch data from the table: "favorites" using primary key columns */
    favorites_by_pk?: favorites
    /** fetch data from the table: "filter_names" */
    filter_names: filter_names[]
    /** fetch aggregated fields from the table: "filter_names" */
    filter_names_aggregate: filter_names_aggregate
    /** fetch data from the table: "filter_names" using primary key columns */
    filter_names_by_pk?: filter_names
    /** An array relationship */
    genesis_consent_permissions: genesis_consent_permissions[]
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate: genesis_consent_permissions_aggregate
    /** fetch data from the table: "genesis_consent_permissions" using primary key columns */
    genesis_consent_permissions_by_pk?: genesis_consent_permissions
    /** An array relationship */
    genesis_consent_templates: genesis_consent_templates[]
    /** An aggregate relationship */
    genesis_consent_templates_aggregate: genesis_consent_templates_aggregate
    /** fetch data from the table: "genesis_consent_templates" using primary key columns */
    genesis_consent_templates_by_pk?: genesis_consent_templates
    /** An array relationship */
    genesis_denied_permissions: genesis_denied_permissions[]
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate: genesis_denied_permissions_aggregate
    /** fetch data from the table: "genesis_denied_permissions" using primary key columns */
    genesis_denied_permissions_by_pk?: genesis_denied_permissions
    /** An array relationship */
    genesis_templates: genesis_templates[]
    /** An aggregate relationship */
    genesis_templates_aggregate: genesis_templates_aggregate
    /** fetch data from the table: "genesis_templates" using primary key columns */
    genesis_templates_by_pk?: genesis_templates
    /** fetch data from the table: "group_context" */
    group_context: group_context[]
    /** fetch aggregated fields from the table: "group_context" */
    group_context_aggregate: group_context_aggregate
    /** fetch data from the table: "group_context" using primary key columns */
    group_context_by_pk?: group_context
    /** An array relationship */
    group_context_filters: group_context_filters[]
    /** An aggregate relationship */
    group_context_filters_aggregate: group_context_filters_aggregate
    /** fetch data from the table: "group_context_filters" using primary key columns */
    group_context_filters_by_pk?: group_context_filters
    /** fetch data from the table: "groups" */
    groups: groups[]
    /** fetch aggregated fields from the table: "groups" */
    groups_aggregate: groups_aggregate
    /** fetch data from the table: "groups" using primary key columns */
    groups_by_pk?: groups
    /** fetch data from the table: "initiators" */
    initiators: initiators[]
    /** fetch aggregated fields from the table: "initiators" */
    initiators_aggregate: initiators_aggregate
    /** fetch data from the table: "initiators" using primary key columns */
    initiators_by_pk?: initiators
    /** fetch data from the table: "migrations" */
    migrations: migrations[]
    /** fetch aggregated fields from the table: "migrations" */
    migrations_aggregate: migrations_aggregate
    /** fetch data from the table: "migrations" using primary key columns */
    migrations_by_pk?: migrations
    /** fetch data from the table: "organization_qnr_widget" */
    organization_qnr_widget: organization_qnr_widget[]
    /** fetch aggregated fields from the table: "organization_qnr_widget" */
    organization_qnr_widget_aggregate: organization_qnr_widget_aggregate
    /** fetch data from the table: "organization_qnr_widget" using primary key columns */
    organization_qnr_widget_by_pk?: organization_qnr_widget
    /** An array relationship */
    projects: projects[]
    /** An aggregate relationship */
    projects_aggregate: projects_aggregate
    /** fetch data from the table: "projects" using primary key columns */
    projects_by_pk?: projects
    /** An array relationship */
    qnr_template_genesis_overrides: qnr_template_genesis_overrides[]
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate: qnr_template_genesis_overrides_aggregate
    /** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
    qnr_template_genesis_overrides_by_pk?: qnr_template_genesis_overrides
    /** fetch data from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log: qnr_template_genesis_overrides_log[]
    /** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_aggregate: qnr_template_genesis_overrides_log_aggregate
    /** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
    qnr_template_genesis_overrides_log_by_pk?: qnr_template_genesis_overrides_log
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    /** fetch data from the table: "queries" using primary key columns */
    queries_by_pk?: queries
    /** fetch data from the table: "queries_cache" */
    queries_cache: queries_cache[]
    /** fetch aggregated fields from the table: "queries_cache" */
    queries_cache_aggregate: queries_cache_aggregate
    /** fetch data from the table: "queries_cache" using primary key columns */
    queries_cache_by_pk?: queries_cache
    /** An array relationship */
    queries_error: queries_error[]
    /** An aggregate relationship */
    queries_error_aggregate: queries_error_aggregate
    /** fetch data from the table: "queries_error" using primary key columns */
    queries_error_by_pk?: queries_error
    /** An array relationship */
    queries_log: queries_log[]
    /** An aggregate relationship */
    queries_log_aggregate: queries_log_aggregate
    /** fetch data from the table: "queries_log" using primary key columns */
    queries_log_by_pk?: queries_log
    /** fetch data from the table: "queries_templates" */
    queries_templates: queries_templates[]
    /** fetch aggregated fields from the table: "queries_templates" */
    queries_templates_aggregate: queries_templates_aggregate
    /** fetch data from the table: "question_composite_question" */
    question_composite_question: question_composite_question[]
    /** fetch aggregated fields from the table: "question_composite_question" */
    question_composite_question_aggregate: question_composite_question_aggregate
    /** fetch data from the table: "question_template" */
    question_template: question_template[]
    /** fetch aggregated fields from the table: "question_template" */
    question_template_aggregate: question_template_aggregate
    /** fetch data from the table: "questions" */
    questions: questions[]
    /** fetch aggregated fields from the table: "questions" */
    questions_aggregate: questions_aggregate
    /** fetch data from the table: "questions" using primary key columns */
    questions_by_pk?: questions
    /** execute function "search_document_patient" which returns "documents_overview" */
    search_document_patient: documents_overview[]
    /** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
    search_document_patient_aggregate: documents_overview_aggregate
    /** fetch data from the table: "security_levels" */
    security_levels: security_levels[]
    /** fetch aggregated fields from the table: "security_levels" */
    security_levels_aggregate: security_levels_aggregate
    /** fetch data from the table: "security_levels" using primary key columns */
    security_levels_by_pk?: security_levels
    /** fetch data from the table: "settings" */
    settings: settings[]
    /** fetch aggregated fields from the table: "settings" */
    settings_aggregate: settings_aggregate
    /** fetch data from the table: "settings" using primary key columns */
    settings_by_pk?: settings
    /** fetch data from the table: "shortcuts" */
    shortcuts: shortcuts[]
    /** fetch aggregated fields from the table: "shortcuts" */
    shortcuts_aggregate: shortcuts_aggregate
    /** fetch data from the table: "shortcuts" using primary key columns */
    shortcuts_by_pk?: shortcuts
    /** An array relationship */
    sms: sms[]
    /** An aggregate relationship */
    sms_aggregate: sms_aggregate
    /** fetch data from the table: "sms" using primary key columns */
    sms_by_pk?: sms
    /** fetch data from the table: "sms_template_template" */
    sms_template_template: sms_template_template[]
    /** fetch aggregated fields from the table: "sms_template_template" */
    sms_template_template_aggregate: sms_template_template_aggregate
    /** fetch data from the table: "sms_template_template" using primary key columns */
    sms_template_template_by_pk?: sms_template_template
    /** An array relationship */
    sms_templates: sms_templates[]
    /** An aggregate relationship */
    sms_templates_aggregate: sms_templates_aggregate
    /** fetch data from the table: "sms_templates" using primary key columns */
    sms_templates_by_pk?: sms_templates
    /** fetch data from the table: "status" */
    status: status[]
    /** fetch aggregated fields from the table: "status" */
    status_aggregate: status_aggregate
    /** fetch data from the table: "status" using primary key columns */
    status_by_pk?: status
    /** fetch data from the table: "table_names" */
    table_names: table_names[]
    /** fetch aggregated fields from the table: "table_names" */
    table_names_aggregate: table_names_aggregate
    /** fetch data from the table: "table_names" using primary key columns */
    table_names_by_pk?: table_names
    /** fetch data from the table: "template_artifact_parcel" */
    template_artifact_parcel: template_artifact_parcel[]
    /** fetch aggregated fields from the table: "template_artifact_parcel" */
    template_artifact_parcel_aggregate: template_artifact_parcel_aggregate
    /** fetch data from the table: "template_artifact_parcel" using primary key columns */
    template_artifact_parcel_by_pk?: template_artifact_parcel
    /** fetch data from the table: "template_cache" */
    template_cache: template_cache[]
    /** fetch data from the table: "template_cache_access" */
    template_cache_access: template_cache_access[]
    /** fetch aggregated fields from the table: "template_cache_access" */
    template_cache_access_aggregate: template_cache_access_aggregate
    /** fetch data from the table: "template_cache_access" using primary key columns */
    template_cache_access_by_pk?: template_cache_access
    /** fetch aggregated fields from the table: "template_cache" */
    template_cache_aggregate: template_cache_aggregate
    /** fetch data from the table: "template_cache" using primary key columns */
    template_cache_by_pk?: template_cache
    /** fetch data from the table: "template_flags" */
    template_flags: template_flags[]
    /** fetch aggregated fields from the table: "template_flags" */
    template_flags_aggregate: template_flags_aggregate
    /** An array relationship */
    template_journal_roles: template_journal_roles[]
    /** An aggregate relationship */
    template_journal_roles_aggregate: template_journal_roles_aggregate
    /** fetch data from the table: "template_journal_roles" using primary key columns */
    template_journal_roles_by_pk?: template_journal_roles
    /** An array relationship */
    template_offer_types: template_offer_types[]
    /** An aggregate relationship */
    template_offer_types_aggregate: template_offer_types_aggregate
    /** fetch data from the table: "template_offer_types" using primary key columns */
    template_offer_types_by_pk?: template_offer_types
    /** An array relationship */
    template_offers: template_offers[]
    /** An aggregate relationship */
    template_offers_aggregate: template_offers_aggregate
    /** fetch data from the table: "template_offers" using primary key columns */
    template_offers_by_pk?: template_offers
    /** An array relationship */
    templates: templates[]
    /** An aggregate relationship */
    templates_aggregate: templates_aggregate
    /** fetch data from the table: "templates" using primary key columns */
    templates_by_pk?: templates
    /** fetch data from the table: "types" */
    types: types[]
    /** fetch aggregated fields from the table: "types" */
    types_aggregate: types_aggregate
    /** fetch data from the table: "types" using primary key columns */
    types_by_pk?: types
    /** fetch data from the table: "unseen_documents" */
    unseen_documents: unseen_documents[]
    /** fetch aggregated fields from the table: "unseen_documents" */
    unseen_documents_aggregate: unseen_documents_aggregate
    /** fetch data from the table: "unseen_queries" */
    unseen_queries: unseen_queries[]
    /** fetch aggregated fields from the table: "unseen_queries" */
    unseen_queries_aggregate: unseen_queries_aggregate
    __typename: 'query_root'
}


/** columns and relationships of "question_composite_question" */
export interface question_composite_question {
    description: Scalars['String']
    narrative: Scalars['String']
    position: Scalars['bigint']
    properties?: Scalars['String']
    /** An object relationship */
    question: questions
    /** An object relationship */
    questionByQuestionParentId: questions
    question_child_id: Scalars['bigint']
    question_parent_id: Scalars['bigint']
    row: Scalars['bigint']
    title: Scalars['String']
    __typename: 'question_composite_question'
}


/** aggregated selection of "question_composite_question" */
export interface question_composite_question_aggregate {
    aggregate?: question_composite_question_aggregate_fields
    nodes: question_composite_question[]
    __typename: 'question_composite_question_aggregate'
}


/** aggregate fields of "question_composite_question" */
export interface question_composite_question_aggregate_fields {
    avg?: question_composite_question_avg_fields
    count: Scalars['Int']
    max?: question_composite_question_max_fields
    min?: question_composite_question_min_fields
    stddev?: question_composite_question_stddev_fields
    stddev_pop?: question_composite_question_stddev_pop_fields
    stddev_samp?: question_composite_question_stddev_samp_fields
    sum?: question_composite_question_sum_fields
    var_pop?: question_composite_question_var_pop_fields
    var_samp?: question_composite_question_var_samp_fields
    variance?: question_composite_question_variance_fields
    __typename: 'question_composite_question_aggregate_fields'
}


/** aggregate avg on columns */
export interface question_composite_question_avg_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_avg_fields'
}


/** unique or primary key constraints on table "question_composite_question" */
export type question_composite_question_constraint = 'idx_38685_quest_comp_quest_parent_child'


/** aggregate max on columns */
export interface question_composite_question_max_fields {
    description?: Scalars['String']
    narrative?: Scalars['String']
    position?: Scalars['bigint']
    properties?: Scalars['String']
    question_child_id?: Scalars['bigint']
    question_parent_id?: Scalars['bigint']
    row?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'question_composite_question_max_fields'
}


/** aggregate min on columns */
export interface question_composite_question_min_fields {
    description?: Scalars['String']
    narrative?: Scalars['String']
    position?: Scalars['bigint']
    properties?: Scalars['String']
    question_child_id?: Scalars['bigint']
    question_parent_id?: Scalars['bigint']
    row?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'question_composite_question_min_fields'
}


/** response of any mutation on the table "question_composite_question" */
export interface question_composite_question_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: question_composite_question[]
    __typename: 'question_composite_question_mutation_response'
}


/** select columns of table "question_composite_question" */
export type question_composite_question_select_column = 'description' | 'narrative' | 'position' | 'properties' | 'question_child_id' | 'question_parent_id' | 'row' | 'title'


/** aggregate stddev on columns */
export interface question_composite_question_stddev_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface question_composite_question_stddev_pop_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface question_composite_question_stddev_samp_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface question_composite_question_sum_fields {
    position?: Scalars['bigint']
    question_child_id?: Scalars['bigint']
    question_parent_id?: Scalars['bigint']
    row?: Scalars['bigint']
    __typename: 'question_composite_question_sum_fields'
}


/** update columns of table "question_composite_question" */
export type question_composite_question_update_column = 'description' | 'narrative' | 'position' | 'properties' | 'question_child_id' | 'question_parent_id' | 'row' | 'title'


/** aggregate var_pop on columns */
export interface question_composite_question_var_pop_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface question_composite_question_var_samp_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_var_samp_fields'
}


/** aggregate variance on columns */
export interface question_composite_question_variance_fields {
    position?: Scalars['Float']
    question_child_id?: Scalars['Float']
    question_parent_id?: Scalars['Float']
    row?: Scalars['Float']
    __typename: 'question_composite_question_variance_fields'
}


/** columns and relationships of "question_template" */
export interface question_template {
    description: Scalars['String']
    narrative: Scalars['String']
    position: Scalars['bigint']
    properties?: Scalars['jsonb']
    /** An object relationship */
    question: questions
    question_id: Scalars['bigint']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    title: Scalars['String']
    __typename: 'question_template'
}


/** aggregated selection of "question_template" */
export interface question_template_aggregate {
    aggregate?: question_template_aggregate_fields
    nodes: question_template[]
    __typename: 'question_template_aggregate'
}


/** aggregate fields of "question_template" */
export interface question_template_aggregate_fields {
    avg?: question_template_avg_fields
    count: Scalars['Int']
    max?: question_template_max_fields
    min?: question_template_min_fields
    stddev?: question_template_stddev_fields
    stddev_pop?: question_template_stddev_pop_fields
    stddev_samp?: question_template_stddev_samp_fields
    sum?: question_template_sum_fields
    var_pop?: question_template_var_pop_fields
    var_samp?: question_template_var_samp_fields
    variance?: question_template_variance_fields
    __typename: 'question_template_aggregate_fields'
}


/** aggregate avg on columns */
export interface question_template_avg_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_avg_fields'
}


/** unique or primary key constraints on table "question_template" */
export type question_template_constraint = 'idx_38691_question_template_template_id_question_id_unique'


/** aggregate max on columns */
export interface question_template_max_fields {
    description?: Scalars['String']
    narrative?: Scalars['String']
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'question_template_max_fields'
}


/** aggregate min on columns */
export interface question_template_min_fields {
    description?: Scalars['String']
    narrative?: Scalars['String']
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    title?: Scalars['String']
    __typename: 'question_template_min_fields'
}


/** response of any mutation on the table "question_template" */
export interface question_template_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: question_template[]
    __typename: 'question_template_mutation_response'
}


/** select columns of table "question_template" */
export type question_template_select_column = 'description' | 'narrative' | 'position' | 'properties' | 'question_id' | 'template_id' | 'title'


/** aggregate stddev on columns */
export interface question_template_stddev_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface question_template_stddev_pop_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface question_template_stddev_samp_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface question_template_sum_fields {
    position?: Scalars['bigint']
    question_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'question_template_sum_fields'
}


/** update columns of table "question_template" */
export type question_template_update_column = 'description' | 'narrative' | 'position' | 'properties' | 'question_id' | 'template_id' | 'title'


/** aggregate var_pop on columns */
export interface question_template_var_pop_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface question_template_var_samp_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_var_samp_fields'
}


/** aggregate variance on columns */
export interface question_template_variance_fields {
    position?: Scalars['Float']
    question_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'question_template_variance_fields'
}


/** columns and relationships of "questions" */
export interface questions {
    /** An array relationship */
    anonymous_template_questions: anonymous_template_question[]
    /** An aggregate relationship */
    anonymous_template_questions_aggregate: anonymous_template_question_aggregate
    created_at?: Scalars['timestamptz']
    description: Scalars['String']
    external_key_id: Scalars['String']
    id: Scalars['bigint']
    properties: Scalars['jsonb']
    /** converts proterties::text into jsonb */
    props?: Scalars['jsonb']
    /** An array relationship */
    question_composite_childs: question_composite_question[]
    /** An aggregate relationship */
    question_composite_childs_aggregate: question_composite_question_aggregate
    /** An array relationship */
    question_composite_questions: question_composite_question[]
    /** An aggregate relationship */
    question_composite_questions_aggregate: question_composite_question_aggregate
    /** An array relationship */
    question_templates: question_template[]
    /** An aggregate relationship */
    question_templates_aggregate: question_template_aggregate
    question_uuid: Scalars['uuid']
    region: Scalars['String']
    title: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'questions'
}


/** aggregated selection of "questions" */
export interface questions_aggregate {
    aggregate?: questions_aggregate_fields
    nodes: questions[]
    __typename: 'questions_aggregate'
}


/** aggregate fields of "questions" */
export interface questions_aggregate_fields {
    avg?: questions_avg_fields
    count: Scalars['Int']
    max?: questions_max_fields
    min?: questions_min_fields
    stddev?: questions_stddev_fields
    stddev_pop?: questions_stddev_pop_fields
    stddev_samp?: questions_stddev_samp_fields
    sum?: questions_sum_fields
    var_pop?: questions_var_pop_fields
    var_samp?: questions_var_samp_fields
    variance?: questions_variance_fields
    __typename: 'questions_aggregate_fields'
}


/** aggregate avg on columns */
export interface questions_avg_fields {
    id?: Scalars['Float']
    __typename: 'questions_avg_fields'
}


/** unique or primary key constraints on table "questions" */
export type questions_constraint = 'idx_38677_primary' | 'idx_38677_questions_external_key_id_unique' | 'questions_question_uuid_key'


/** aggregate max on columns */
export interface questions_max_fields {
    created_at?: Scalars['timestamptz']
    description?: Scalars['String']
    external_key_id?: Scalars['String']
    id?: Scalars['bigint']
    question_uuid?: Scalars['uuid']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'questions_max_fields'
}


/** aggregate min on columns */
export interface questions_min_fields {
    created_at?: Scalars['timestamptz']
    description?: Scalars['String']
    external_key_id?: Scalars['String']
    id?: Scalars['bigint']
    question_uuid?: Scalars['uuid']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'questions_min_fields'
}


/** response of any mutation on the table "questions" */
export interface questions_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: questions[]
    __typename: 'questions_mutation_response'
}


/** select columns of table "questions" */
export type questions_select_column = 'created_at' | 'description' | 'external_key_id' | 'id' | 'properties' | 'question_uuid' | 'region' | 'title' | 'updated_at'


/** aggregate stddev on columns */
export interface questions_stddev_fields {
    id?: Scalars['Float']
    __typename: 'questions_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface questions_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'questions_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface questions_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'questions_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface questions_sum_fields {
    id?: Scalars['bigint']
    __typename: 'questions_sum_fields'
}


/** update columns of table "questions" */
export type questions_update_column = 'created_at' | 'description' | 'external_key_id' | 'id' | 'properties' | 'question_uuid' | 'region' | 'title' | 'updated_at'


/** aggregate var_pop on columns */
export interface questions_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'questions_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface questions_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'questions_var_samp_fields'
}


/** aggregate variance on columns */
export interface questions_variance_fields {
    id?: Scalars['Float']
    __typename: 'questions_variance_fields'
}


/** columns and relationships of "security_levels" */
export interface security_levels {
    comment?: Scalars['String']
    /** An array relationship */
    document_patients: document_patient[]
    /** An aggregate relationship */
    document_patients_aggregate: document_patient_aggregate
    name: Scalars['String']
    __typename: 'security_levels'
}


/** aggregated selection of "security_levels" */
export interface security_levels_aggregate {
    aggregate?: security_levels_aggregate_fields
    nodes: security_levels[]
    __typename: 'security_levels_aggregate'
}


/** aggregate fields of "security_levels" */
export interface security_levels_aggregate_fields {
    count: Scalars['Int']
    max?: security_levels_max_fields
    min?: security_levels_min_fields
    __typename: 'security_levels_aggregate_fields'
}


/** unique or primary key constraints on table "security_levels" */
export type security_levels_constraint = 'security_levels_pkey'


/** aggregate max on columns */
export interface security_levels_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'security_levels_max_fields'
}


/** aggregate min on columns */
export interface security_levels_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'security_levels_min_fields'
}


/** response of any mutation on the table "security_levels" */
export interface security_levels_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: security_levels[]
    __typename: 'security_levels_mutation_response'
}


/** select columns of table "security_levels" */
export type security_levels_select_column = 'comment' | 'name'


/** update columns of table "security_levels" */
export type security_levels_update_column = 'comment' | 'name'


/** columns and relationships of "settings" */
export interface settings {
    id: Scalars['bigint']
    key: Scalars['String']
    value: Scalars['String']
    __typename: 'settings'
}


/** aggregated selection of "settings" */
export interface settings_aggregate {
    aggregate?: settings_aggregate_fields
    nodes: settings[]
    __typename: 'settings_aggregate'
}


/** aggregate fields of "settings" */
export interface settings_aggregate_fields {
    avg?: settings_avg_fields
    count: Scalars['Int']
    max?: settings_max_fields
    min?: settings_min_fields
    stddev?: settings_stddev_fields
    stddev_pop?: settings_stddev_pop_fields
    stddev_samp?: settings_stddev_samp_fields
    sum?: settings_sum_fields
    var_pop?: settings_var_pop_fields
    var_samp?: settings_var_samp_fields
    variance?: settings_variance_fields
    __typename: 'settings_aggregate_fields'
}


/** aggregate avg on columns */
export interface settings_avg_fields {
    id?: Scalars['Float']
    __typename: 'settings_avg_fields'
}


/** unique or primary key constraints on table "settings" */
export type settings_constraint = 'idx_38699_primary' | 'idx_38699_settings_key_unique'


/** aggregate max on columns */
export interface settings_max_fields {
    id?: Scalars['bigint']
    key?: Scalars['String']
    value?: Scalars['String']
    __typename: 'settings_max_fields'
}


/** aggregate min on columns */
export interface settings_min_fields {
    id?: Scalars['bigint']
    key?: Scalars['String']
    value?: Scalars['String']
    __typename: 'settings_min_fields'
}


/** response of any mutation on the table "settings" */
export interface settings_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: settings[]
    __typename: 'settings_mutation_response'
}


/** select columns of table "settings" */
export type settings_select_column = 'id' | 'key' | 'value'


/** aggregate stddev on columns */
export interface settings_stddev_fields {
    id?: Scalars['Float']
    __typename: 'settings_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface settings_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'settings_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface settings_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'settings_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface settings_sum_fields {
    id?: Scalars['bigint']
    __typename: 'settings_sum_fields'
}


/** update columns of table "settings" */
export type settings_update_column = 'id' | 'key' | 'value'


/** aggregate var_pop on columns */
export interface settings_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'settings_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface settings_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'settings_var_samp_fields'
}


/** aggregate variance on columns */
export interface settings_variance_fields {
    id?: Scalars['Float']
    __typename: 'settings_variance_fields'
}


/** columns and relationships of "shortcuts" */
export interface shortcuts {
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    description: Scalars['String']
    id: Scalars['String']
    link: Scalars['String']
    /** An array relationship */
    projects: projects[]
    /** An aggregate relationship */
    projects_aggregate: projects_aggregate
    title: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'shortcuts'
}


/** aggregated selection of "shortcuts" */
export interface shortcuts_aggregate {
    aggregate?: shortcuts_aggregate_fields
    nodes: shortcuts[]
    __typename: 'shortcuts_aggregate'
}


/** aggregate fields of "shortcuts" */
export interface shortcuts_aggregate_fields {
    count: Scalars['Int']
    max?: shortcuts_max_fields
    min?: shortcuts_min_fields
    __typename: 'shortcuts_aggregate_fields'
}


/** unique or primary key constraints on table "shortcuts" */
export type shortcuts_constraint = 'idx_38706_primary'


/** aggregate max on columns */
export interface shortcuts_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['String']
    link?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'shortcuts_max_fields'
}


/** aggregate min on columns */
export interface shortcuts_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['String']
    link?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'shortcuts_min_fields'
}


/** response of any mutation on the table "shortcuts" */
export interface shortcuts_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: shortcuts[]
    __typename: 'shortcuts_mutation_response'
}


/** select columns of table "shortcuts" */
export type shortcuts_select_column = 'created_at' | 'customer_id' | 'description' | 'id' | 'link' | 'title' | 'updated_at'


/** update columns of table "shortcuts" */
export type shortcuts_update_column = 'created_at' | 'customer_id' | 'description' | 'id' | 'link' | 'title' | 'updated_at'


/** columns and relationships of "sms" */
export interface sms {
    content: Scalars['String']
    create_user: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An array relationship */
    document_sms: document_sms[]
    /** An aggregate relationship */
    document_sms_aggregate: document_sms_aggregate
    id: Scalars['bigint']
    message_id: Scalars['String']
    /** An object relationship */
    query?: queries
    query_id?: Scalars['bigint']
    region: Scalars['String']
    /** An object relationship */
    sms_template?: sms_templates
    sms_template_id?: Scalars['bigint']
    soknad_id?: Scalars['String']
    tlfmobil: Scalars['String']
    uid: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'sms'
}


/** aggregated selection of "sms" */
export interface sms_aggregate {
    aggregate?: sms_aggregate_fields
    nodes: sms[]
    __typename: 'sms_aggregate'
}


/** aggregate fields of "sms" */
export interface sms_aggregate_fields {
    avg?: sms_avg_fields
    count: Scalars['Int']
    max?: sms_max_fields
    min?: sms_min_fields
    stddev?: sms_stddev_fields
    stddev_pop?: sms_stddev_pop_fields
    stddev_samp?: sms_stddev_samp_fields
    sum?: sms_sum_fields
    var_pop?: sms_var_pop_fields
    var_samp?: sms_var_samp_fields
    variance?: sms_variance_fields
    __typename: 'sms_aggregate_fields'
}


/** aggregate avg on columns */
export interface sms_avg_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_avg_fields'
}


/** unique or primary key constraints on table "sms" */
export type sms_constraint = 'idx_38714_primary'


/** aggregate max on columns */
export interface sms_max_fields {
    content?: Scalars['String']
    create_user?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    message_id?: Scalars['String']
    query_id?: Scalars['bigint']
    region?: Scalars['String']
    sms_template_id?: Scalars['bigint']
    soknad_id?: Scalars['String']
    tlfmobil?: Scalars['String']
    uid?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'sms_max_fields'
}


/** aggregate min on columns */
export interface sms_min_fields {
    content?: Scalars['String']
    create_user?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    message_id?: Scalars['String']
    query_id?: Scalars['bigint']
    region?: Scalars['String']
    sms_template_id?: Scalars['bigint']
    soknad_id?: Scalars['String']
    tlfmobil?: Scalars['String']
    uid?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'sms_min_fields'
}


/** response of any mutation on the table "sms" */
export interface sms_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: sms[]
    __typename: 'sms_mutation_response'
}


/** select columns of table "sms" */
export type sms_select_column = 'content' | 'create_user' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'message_id' | 'query_id' | 'region' | 'sms_template_id' | 'soknad_id' | 'tlfmobil' | 'uid' | 'updated_at'


/** aggregate stddev on columns */
export interface sms_stddev_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface sms_stddev_pop_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface sms_stddev_samp_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface sms_sum_fields {
    id?: Scalars['bigint']
    query_id?: Scalars['bigint']
    sms_template_id?: Scalars['bigint']
    __typename: 'sms_sum_fields'
}


/** columns and relationships of "sms_template_template" */
export interface sms_template_template {
    /** An object relationship */
    sms_template: sms_templates
    sms_template_id: Scalars['bigint']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    __typename: 'sms_template_template'
}


/** aggregated selection of "sms_template_template" */
export interface sms_template_template_aggregate {
    aggregate?: sms_template_template_aggregate_fields
    nodes: sms_template_template[]
    __typename: 'sms_template_template_aggregate'
}


/** aggregate fields of "sms_template_template" */
export interface sms_template_template_aggregate_fields {
    avg?: sms_template_template_avg_fields
    count: Scalars['Int']
    max?: sms_template_template_max_fields
    min?: sms_template_template_min_fields
    stddev?: sms_template_template_stddev_fields
    stddev_pop?: sms_template_template_stddev_pop_fields
    stddev_samp?: sms_template_template_stddev_samp_fields
    sum?: sms_template_template_sum_fields
    var_pop?: sms_template_template_var_pop_fields
    var_samp?: sms_template_template_var_samp_fields
    variance?: sms_template_template_variance_fields
    __typename: 'sms_template_template_aggregate_fields'
}


/** aggregate avg on columns */
export interface sms_template_template_avg_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_avg_fields'
}


/** unique or primary key constraints on table "sms_template_template" */
export type sms_template_template_constraint = 'idx_38733_primary'


/** aggregate max on columns */
export interface sms_template_template_max_fields {
    sms_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'sms_template_template_max_fields'
}


/** aggregate min on columns */
export interface sms_template_template_min_fields {
    sms_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'sms_template_template_min_fields'
}


/** response of any mutation on the table "sms_template_template" */
export interface sms_template_template_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: sms_template_template[]
    __typename: 'sms_template_template_mutation_response'
}


/** select columns of table "sms_template_template" */
export type sms_template_template_select_column = 'sms_template_id' | 'template_id'


/** aggregate stddev on columns */
export interface sms_template_template_stddev_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface sms_template_template_stddev_pop_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface sms_template_template_stddev_samp_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface sms_template_template_sum_fields {
    sms_template_id?: Scalars['bigint']
    template_id?: Scalars['bigint']
    __typename: 'sms_template_template_sum_fields'
}


/** update columns of table "sms_template_template" */
export type sms_template_template_update_column = 'sms_template_id' | 'template_id'


/** aggregate var_pop on columns */
export interface sms_template_template_var_pop_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface sms_template_template_var_samp_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_var_samp_fields'
}


/** aggregate variance on columns */
export interface sms_template_template_variance_fields {
    sms_template_id?: Scalars['Float']
    template_id?: Scalars['Float']
    __typename: 'sms_template_template_variance_fields'
}


/** columns and relationships of "sms_templates" */
export interface sms_templates {
    active: Scalars['Boolean']
    category: categories_enum
    /** An object relationship */
    categoryByCategory: categories
    content: Scalars['String']
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    id: Scalars['bigint']
    region: Scalars['String']
    /** An array relationship */
    sms: sms[]
    /** An aggregate relationship */
    sms_aggregate: sms_aggregate
    /** An array relationship */
    sms_template_templates: sms_template_template[]
    /** An aggregate relationship */
    sms_template_templates_aggregate: sms_template_template_aggregate
    title: Scalars['String']
    updated_at: Scalars['timestamptz']
    __typename: 'sms_templates'
}


/** aggregated selection of "sms_templates" */
export interface sms_templates_aggregate {
    aggregate?: sms_templates_aggregate_fields
    nodes: sms_templates[]
    __typename: 'sms_templates_aggregate'
}


/** aggregate fields of "sms_templates" */
export interface sms_templates_aggregate_fields {
    avg?: sms_templates_avg_fields
    count: Scalars['Int']
    max?: sms_templates_max_fields
    min?: sms_templates_min_fields
    stddev?: sms_templates_stddev_fields
    stddev_pop?: sms_templates_stddev_pop_fields
    stddev_samp?: sms_templates_stddev_samp_fields
    sum?: sms_templates_sum_fields
    var_pop?: sms_templates_var_pop_fields
    var_samp?: sms_templates_var_samp_fields
    variance?: sms_templates_variance_fields
    __typename: 'sms_templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface sms_templates_avg_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_avg_fields'
}


/** unique or primary key constraints on table "sms_templates" */
export type sms_templates_constraint = 'idx_38724_primary'


/** aggregate max on columns */
export interface sms_templates_max_fields {
    content?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'sms_templates_max_fields'
}


/** aggregate min on columns */
export interface sms_templates_min_fields {
    content?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['bigint']
    region?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'sms_templates_min_fields'
}


/** response of any mutation on the table "sms_templates" */
export interface sms_templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: sms_templates[]
    __typename: 'sms_templates_mutation_response'
}


/** select columns of table "sms_templates" */
export type sms_templates_select_column = 'active' | 'category' | 'content' | 'created_at' | 'customer_id' | 'id' | 'region' | 'title' | 'updated_at'


/** select "sms_templates_aggregate_bool_exp_bool_and_arguments_columns" columns of table "sms_templates" */
export type sms_templates_select_column_sms_templates_aggregate_bool_exp_bool_and_arguments_columns = 'active'


/** select "sms_templates_aggregate_bool_exp_bool_or_arguments_columns" columns of table "sms_templates" */
export type sms_templates_select_column_sms_templates_aggregate_bool_exp_bool_or_arguments_columns = 'active'


/** aggregate stddev on columns */
export interface sms_templates_stddev_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface sms_templates_stddev_pop_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface sms_templates_stddev_samp_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface sms_templates_sum_fields {
    id?: Scalars['bigint']
    __typename: 'sms_templates_sum_fields'
}


/** update columns of table "sms_templates" */
export type sms_templates_update_column = 'active' | 'category' | 'content' | 'created_at' | 'customer_id' | 'id' | 'region' | 'title' | 'updated_at'


/** aggregate var_pop on columns */
export interface sms_templates_var_pop_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface sms_templates_var_samp_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface sms_templates_variance_fields {
    id?: Scalars['Float']
    __typename: 'sms_templates_variance_fields'
}


/** update columns of table "sms" */
export type sms_update_column = 'content' | 'create_user' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'message_id' | 'query_id' | 'region' | 'sms_template_id' | 'soknad_id' | 'tlfmobil' | 'uid' | 'updated_at'


/** aggregate var_pop on columns */
export interface sms_var_pop_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface sms_var_samp_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_var_samp_fields'
}


/** aggregate variance on columns */
export interface sms_variance_fields {
    id?: Scalars['Float']
    query_id?: Scalars['Float']
    sms_template_id?: Scalars['Float']
    __typename: 'sms_variance_fields'
}


/** columns and relationships of "status" */
export interface status {
    comment?: Scalars['String']
    name: Scalars['String']
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    __typename: 'status'
}


/** aggregated selection of "status" */
export interface status_aggregate {
    aggregate?: status_aggregate_fields
    nodes: status[]
    __typename: 'status_aggregate'
}


/** aggregate fields of "status" */
export interface status_aggregate_fields {
    count: Scalars['Int']
    max?: status_max_fields
    min?: status_min_fields
    __typename: 'status_aggregate_fields'
}


/** unique or primary key constraints on table "status" */
export type status_constraint = 'status_pkey'

export type status_enum = 'AWAITING_REPLY' | 'COMPLETED' | 'EXPIRED' | 'INBOUND' | 'IN_PROGRESS' | 'PROCESSED' | 'REJECTED'


/** aggregate max on columns */
export interface status_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'status_max_fields'
}


/** aggregate min on columns */
export interface status_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'status_min_fields'
}


/** response of any mutation on the table "status" */
export interface status_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: status[]
    __typename: 'status_mutation_response'
}


/** select columns of table "status" */
export type status_select_column = 'comment' | 'name'


/** update columns of table "status" */
export type status_update_column = 'comment' | 'name'

export interface subscription_root {
    /** fetch data from the table: "DocKladd_properties" */
    DocKladd_properties: DocKladd_properties[]
    /** fetch aggregated fields from the table: "DocKladd_properties" */
    DocKladd_properties_aggregate: DocKladd_properties_aggregate
    /** fetch data from the table: "DocKladd_properties" using primary key columns */
    DocKladd_properties_by_pk?: DocKladd_properties
    /** fetch data from the table in a streaming manner: "DocKladd_properties" */
    DocKladd_properties_stream: DocKladd_properties[]
    /** An array relationship */
    DocKladd_questions: DocKladd_questions[]
    /** An aggregate relationship */
    DocKladd_questions_aggregate: DocKladd_questions_aggregate
    /** fetch data from the table: "DocKladd_questions" using primary key columns */
    DocKladd_questions_by_pk?: DocKladd_questions
    /** fetch data from the table in a streaming manner: "DocKladd_questions" */
    DocKladd_questions_stream: DocKladd_questions[]
    /** fetch data from the table: "accessible" */
    accessible: accessible[]
    /** fetch aggregated fields from the table: "accessible" */
    accessible_aggregate: accessible_aggregate
    /** fetch data from the table: "accessible" using primary key columns */
    accessible_by_pk?: accessible
    /** fetch data from the table in a streaming manner: "accessible" */
    accessible_stream: accessible[]
    /** An array relationship */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate: adopus_AdgangLinjer_aggregate
    /** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
    adopus_AdgangLinjer_by_pk?: adopus_AdgangLinjer
    /** fetch data from the table in a streaming manner: "adopus_AdgangLinjer" */
    adopus_AdgangLinjer_stream: adopus_AdgangLinjer[]
    /** An array relationship */
    anonymous_answers: anonymous_answers[]
    /** An aggregate relationship */
    anonymous_answers_aggregate: anonymous_answers_aggregate
    /** fetch data from the table: "anonymous_answers" using primary key columns */
    anonymous_answers_by_pk?: anonymous_answers
    /** fetch data from the table in a streaming manner: "anonymous_answers" */
    anonymous_answers_stream: anonymous_answers[]
    /** fetch data from the table: "anonymous_invitations" */
    anonymous_invitations: anonymous_invitations[]
    /** fetch aggregated fields from the table: "anonymous_invitations" */
    anonymous_invitations_aggregate: anonymous_invitations_aggregate
    /** fetch data from the table: "anonymous_invitations" using primary key columns */
    anonymous_invitations_by_pk?: anonymous_invitations
    /** fetch data from the table in a streaming manner: "anonymous_invitations" */
    anonymous_invitations_stream: anonymous_invitations[]
    /** An array relationship */
    anonymous_queries: anonymous_queries[]
    /** An aggregate relationship */
    anonymous_queries_aggregate: anonymous_queries_aggregate
    /** fetch data from the table: "anonymous_queries" using primary key columns */
    anonymous_queries_by_pk?: anonymous_queries
    /** fetch data from the table in a streaming manner: "anonymous_queries" */
    anonymous_queries_stream: anonymous_queries[]
    /** An array relationship */
    anonymous_sms: anonymous_sms[]
    /** An aggregate relationship */
    anonymous_sms_aggregate: anonymous_sms_aggregate
    /** fetch data from the table: "anonymous_sms" using primary key columns */
    anonymous_sms_by_pk?: anonymous_sms
    /** fetch data from the table in a streaming manner: "anonymous_sms" */
    anonymous_sms_stream: anonymous_sms[]
    /** fetch data from the table: "anonymous_template_question" */
    anonymous_template_question: anonymous_template_question[]
    /** fetch aggregated fields from the table: "anonymous_template_question" */
    anonymous_template_question_aggregate: anonymous_template_question_aggregate
    /** fetch data from the table in a streaming manner: "anonymous_template_question" */
    anonymous_template_question_stream: anonymous_template_question[]
    /** fetch data from the table: "anonymous_templates" */
    anonymous_templates: anonymous_templates[]
    /** fetch aggregated fields from the table: "anonymous_templates" */
    anonymous_templates_aggregate: anonymous_templates_aggregate
    /** fetch data from the table: "anonymous_templates" using primary key columns */
    anonymous_templates_by_pk?: anonymous_templates
    /** fetch data from the table in a streaming manner: "anonymous_templates" */
    anonymous_templates_stream: anonymous_templates[]
    /** fetch data from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel: artifact_package_artifact_parcel[]
    /** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_aggregate: artifact_package_artifact_parcel_aggregate
    /** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
    artifact_package_artifact_parcel_by_pk?: artifact_package_artifact_parcel
    /** fetch data from the table in a streaming manner: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_stream: artifact_package_artifact_parcel[]
    /** fetch data from the table: "artifact_package_cron" */
    artifact_package_cron: artifact_package_cron[]
    /** fetch aggregated fields from the table: "artifact_package_cron" */
    artifact_package_cron_aggregate: artifact_package_cron_aggregate
    /** fetch data from the table: "artifact_package_cron" using primary key columns */
    artifact_package_cron_by_pk?: artifact_package_cron
    /** fetch data from the table in a streaming manner: "artifact_package_cron" */
    artifact_package_cron_stream: artifact_package_cron[]
    /** fetch data from the table: "artifact_package_groups" */
    artifact_package_groups: artifact_package_groups[]
    /** fetch aggregated fields from the table: "artifact_package_groups" */
    artifact_package_groups_aggregate: artifact_package_groups_aggregate
    /** fetch data from the table: "artifact_package_groups" using primary key columns */
    artifact_package_groups_by_pk?: artifact_package_groups
    /** fetch data from the table in a streaming manner: "artifact_package_groups" */
    artifact_package_groups_stream: artifact_package_groups[]
    /** An array relationship */
    artifact_packages: artifact_packages[]
    /** An aggregate relationship */
    artifact_packages_aggregate: artifact_packages_aggregate
    /** fetch data from the table: "artifact_packages" using primary key columns */
    artifact_packages_by_pk?: artifact_packages
    /** fetch data from the table in a streaming manner: "artifact_packages" */
    artifact_packages_stream: artifact_packages[]
    /** fetch data from the table: "artifact_parcels" */
    artifact_parcels: artifact_parcels[]
    /** fetch aggregated fields from the table: "artifact_parcels" */
    artifact_parcels_aggregate: artifact_parcels_aggregate
    /** fetch data from the table: "artifact_parcels" using primary key columns */
    artifact_parcels_by_pk?: artifact_parcels
    /** fetch data from the table in a streaming manner: "artifact_parcels" */
    artifact_parcels_stream: artifact_parcels[]
    /** fetch data from the table: "categories" */
    categories: categories[]
    /** fetch aggregated fields from the table: "categories" */
    categories_aggregate: categories_aggregate
    /** fetch data from the table: "categories" using primary key columns */
    categories_by_pk?: categories
    /** fetch data from the table in a streaming manner: "categories" */
    categories_stream: categories[]
    /** An array relationship */
    consent_approval_rejection_reasons: consent_approval_rejection_reasons[]
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate: consent_approval_rejection_reasons_aggregate
    /** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
    consent_approval_rejection_reasons_by_pk?: consent_approval_rejection_reasons
    /** fetch data from the table in a streaming manner: "consent_approval_rejection_reasons" */
    consent_approval_rejection_reasons_stream: consent_approval_rejection_reasons[]
    /** fetch data from the table: "consent_patient" */
    consent_patient: consent_patient[]
    /** fetch aggregated fields from the table: "consent_patient" */
    consent_patient_aggregate: consent_patient_aggregate
    /** fetch data from the table: "consent_patient" using primary key columns */
    consent_patient_by_pk?: consent_patient
    /** fetch data from the table in a streaming manner: "consent_patient" */
    consent_patient_stream: consent_patient[]
    /** fetch data from the table: "consent_status" */
    consent_status: consent_status[]
    /** fetch aggregated fields from the table: "consent_status" */
    consent_status_aggregate: consent_status_aggregate
    /** fetch data from the table: "consent_status" using primary key columns */
    consent_status_by_pk?: consent_status
    /** fetch data from the table in a streaming manner: "consent_status" */
    consent_status_stream: consent_status[]
    /** fetch data from the table: "consent_template_to_template" */
    consent_template_to_template: consent_template_to_template[]
    /** fetch aggregated fields from the table: "consent_template_to_template" */
    consent_template_to_template_aggregate: consent_template_to_template_aggregate
    /** fetch data from the table in a streaming manner: "consent_template_to_template" */
    consent_template_to_template_stream: consent_template_to_template[]
    /** An array relationship */
    consent_templates: consent_templates[]
    /** An aggregate relationship */
    consent_templates_aggregate: consent_templates_aggregate
    /** fetch data from the table: "consent_templates" using primary key columns */
    consent_templates_by_pk?: consent_templates
    /** fetch data from the table in a streaming manner: "consent_templates" */
    consent_templates_stream: consent_templates[]
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    /** fetch data from the table: "consents" using primary key columns */
    consents_by_pk?: consents
    /** fetch data from the table in a streaming manner: "consents" */
    consents_stream: consents[]
    /** fetch data from the table: "context_group_context" */
    context_group_context: context_group_context[]
    /** fetch aggregated fields from the table: "context_group_context" */
    context_group_context_aggregate: context_group_context_aggregate
    /** fetch data from the table: "context_group_context" using primary key columns */
    context_group_context_by_pk?: context_group_context
    /** fetch data from the table in a streaming manner: "context_group_context" */
    context_group_context_stream: context_group_context[]
    /** fetch data from the table: "contexts" */
    contexts: contexts[]
    /** fetch aggregated fields from the table: "contexts" */
    contexts_aggregate: contexts_aggregate
    /** fetch data from the table: "contexts" using primary key columns */
    contexts_by_pk?: contexts
    /** fetch data from the table in a streaming manner: "contexts" */
    contexts_stream: contexts[]
    /** fetch data from the table: "custom_db_nodes" */
    custom_db_nodes: custom_db_nodes[]
    /** fetch aggregated fields from the table: "custom_db_nodes" */
    custom_db_nodes_aggregate: custom_db_nodes_aggregate
    /** fetch data from the table: "custom_db_nodes" using primary key columns */
    custom_db_nodes_by_pk?: custom_db_nodes
    /** fetch data from the table in a streaming manner: "custom_db_nodes" */
    custom_db_nodes_stream: custom_db_nodes[]
    /** fetch data from the table: "directory_customers" */
    directory_customers: directory_customers[]
    /** fetch aggregated fields from the table: "directory_customers" */
    directory_customers_aggregate: directory_customers_aggregate
    /** fetch data from the table: "directory_customers" using primary key columns */
    directory_customers_by_pk?: directory_customers
    /** fetch data from the table in a streaming manner: "directory_customers" */
    directory_customers_stream: directory_customers[]
    /** fetch data from the table: "directory_user_name" */
    directory_user_name: directory_user_name[]
    /** fetch aggregated fields from the table: "directory_user_name" */
    directory_user_name_aggregate: directory_user_name_aggregate
    /** fetch data from the table: "directory_user_name" using primary key columns */
    directory_user_name_by_pk?: directory_user_name
    /** fetch data from the table in a streaming manner: "directory_user_name" */
    directory_user_name_stream: directory_user_name[]
    /** fetch data from the table: "document_patient" */
    document_patient: document_patient[]
    /** fetch aggregated fields from the table: "document_patient" */
    document_patient_aggregate: document_patient_aggregate
    /** fetch data from the table: "document_patient" using primary key columns */
    document_patient_by_pk?: document_patient
    /** fetch data from the table in a streaming manner: "document_patient" */
    document_patient_stream: document_patient[]
    /** An array relationship */
    document_sms: document_sms[]
    /** An aggregate relationship */
    document_sms_aggregate: document_sms_aggregate
    /** fetch data from the table in a streaming manner: "document_sms" */
    document_sms_stream: document_sms[]
    /** An array relationship */
    documents: documents[]
    /** An aggregate relationship */
    documents_aggregate: documents_aggregate
    /** fetch data from the table: "documents" using primary key columns */
    documents_by_pk?: documents
    /** fetch data from the table: "documents_overview" */
    documents_overview: documents_overview[]
    /** fetch aggregated fields from the table: "documents_overview" */
    documents_overview_aggregate: documents_overview_aggregate
    /** fetch data from the table in a streaming manner: "documents_overview" */
    documents_overview_stream: documents_overview[]
    /** fetch data from the table in a streaming manner: "documents" */
    documents_stream: documents[]
    /** fetch data from the table: "event_artifact_package" */
    event_artifact_package: event_artifact_package[]
    /** fetch aggregated fields from the table: "event_artifact_package" */
    event_artifact_package_aggregate: event_artifact_package_aggregate
    /** fetch data from the table: "event_artifact_package" using primary key columns */
    event_artifact_package_by_pk?: event_artifact_package
    /** fetch data from the table in a streaming manner: "event_artifact_package" */
    event_artifact_package_stream: event_artifact_package[]
    /** An array relationship */
    favorite_templates_order: favorite_templates_order[]
    /** An aggregate relationship */
    favorite_templates_order_aggregate: favorite_templates_order_aggregate
    /** fetch data from the table: "favorite_templates_order" using primary key columns */
    favorite_templates_order_by_pk?: favorite_templates_order
    /** fetch data from the table in a streaming manner: "favorite_templates_order" */
    favorite_templates_order_stream: favorite_templates_order[]
    /** An array relationship */
    favorites: favorites[]
    /** An aggregate relationship */
    favorites_aggregate: favorites_aggregate
    /** fetch data from the table: "favorites" using primary key columns */
    favorites_by_pk?: favorites
    /** fetch data from the table in a streaming manner: "favorites" */
    favorites_stream: favorites[]
    /** fetch data from the table: "filter_names" */
    filter_names: filter_names[]
    /** fetch aggregated fields from the table: "filter_names" */
    filter_names_aggregate: filter_names_aggregate
    /** fetch data from the table: "filter_names" using primary key columns */
    filter_names_by_pk?: filter_names
    /** fetch data from the table in a streaming manner: "filter_names" */
    filter_names_stream: filter_names[]
    /** An array relationship */
    genesis_consent_permissions: genesis_consent_permissions[]
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate: genesis_consent_permissions_aggregate
    /** fetch data from the table: "genesis_consent_permissions" using primary key columns */
    genesis_consent_permissions_by_pk?: genesis_consent_permissions
    /** fetch data from the table in a streaming manner: "genesis_consent_permissions" */
    genesis_consent_permissions_stream: genesis_consent_permissions[]
    /** An array relationship */
    genesis_consent_templates: genesis_consent_templates[]
    /** An aggregate relationship */
    genesis_consent_templates_aggregate: genesis_consent_templates_aggregate
    /** fetch data from the table: "genesis_consent_templates" using primary key columns */
    genesis_consent_templates_by_pk?: genesis_consent_templates
    /** fetch data from the table in a streaming manner: "genesis_consent_templates" */
    genesis_consent_templates_stream: genesis_consent_templates[]
    /** An array relationship */
    genesis_denied_permissions: genesis_denied_permissions[]
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate: genesis_denied_permissions_aggregate
    /** fetch data from the table: "genesis_denied_permissions" using primary key columns */
    genesis_denied_permissions_by_pk?: genesis_denied_permissions
    /** fetch data from the table in a streaming manner: "genesis_denied_permissions" */
    genesis_denied_permissions_stream: genesis_denied_permissions[]
    /** An array relationship */
    genesis_templates: genesis_templates[]
    /** An aggregate relationship */
    genesis_templates_aggregate: genesis_templates_aggregate
    /** fetch data from the table: "genesis_templates" using primary key columns */
    genesis_templates_by_pk?: genesis_templates
    /** fetch data from the table in a streaming manner: "genesis_templates" */
    genesis_templates_stream: genesis_templates[]
    /** fetch data from the table: "group_context" */
    group_context: group_context[]
    /** fetch aggregated fields from the table: "group_context" */
    group_context_aggregate: group_context_aggregate
    /** fetch data from the table: "group_context" using primary key columns */
    group_context_by_pk?: group_context
    /** An array relationship */
    group_context_filters: group_context_filters[]
    /** An aggregate relationship */
    group_context_filters_aggregate: group_context_filters_aggregate
    /** fetch data from the table: "group_context_filters" using primary key columns */
    group_context_filters_by_pk?: group_context_filters
    /** fetch data from the table in a streaming manner: "group_context_filters" */
    group_context_filters_stream: group_context_filters[]
    /** fetch data from the table in a streaming manner: "group_context" */
    group_context_stream: group_context[]
    /** fetch data from the table: "groups" */
    groups: groups[]
    /** fetch aggregated fields from the table: "groups" */
    groups_aggregate: groups_aggregate
    /** fetch data from the table: "groups" using primary key columns */
    groups_by_pk?: groups
    /** fetch data from the table in a streaming manner: "groups" */
    groups_stream: groups[]
    /** fetch data from the table: "initiators" */
    initiators: initiators[]
    /** fetch aggregated fields from the table: "initiators" */
    initiators_aggregate: initiators_aggregate
    /** fetch data from the table: "initiators" using primary key columns */
    initiators_by_pk?: initiators
    /** fetch data from the table in a streaming manner: "initiators" */
    initiators_stream: initiators[]
    /** fetch data from the table: "migrations" */
    migrations: migrations[]
    /** fetch aggregated fields from the table: "migrations" */
    migrations_aggregate: migrations_aggregate
    /** fetch data from the table: "migrations" using primary key columns */
    migrations_by_pk?: migrations
    /** fetch data from the table in a streaming manner: "migrations" */
    migrations_stream: migrations[]
    /** fetch data from the table: "organization_qnr_widget" */
    organization_qnr_widget: organization_qnr_widget[]
    /** fetch aggregated fields from the table: "organization_qnr_widget" */
    organization_qnr_widget_aggregate: organization_qnr_widget_aggregate
    /** fetch data from the table: "organization_qnr_widget" using primary key columns */
    organization_qnr_widget_by_pk?: organization_qnr_widget
    /** fetch data from the table in a streaming manner: "organization_qnr_widget" */
    organization_qnr_widget_stream: organization_qnr_widget[]
    /** An array relationship */
    projects: projects[]
    /** An aggregate relationship */
    projects_aggregate: projects_aggregate
    /** fetch data from the table: "projects" using primary key columns */
    projects_by_pk?: projects
    /** fetch data from the table in a streaming manner: "projects" */
    projects_stream: projects[]
    /** An array relationship */
    qnr_template_genesis_overrides: qnr_template_genesis_overrides[]
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate: qnr_template_genesis_overrides_aggregate
    /** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
    qnr_template_genesis_overrides_by_pk?: qnr_template_genesis_overrides
    /** fetch data from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log: qnr_template_genesis_overrides_log[]
    /** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_aggregate: qnr_template_genesis_overrides_log_aggregate
    /** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
    qnr_template_genesis_overrides_log_by_pk?: qnr_template_genesis_overrides_log
    /** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_stream: qnr_template_genesis_overrides_log[]
    /** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides" */
    qnr_template_genesis_overrides_stream: qnr_template_genesis_overrides[]
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    /** fetch data from the table: "queries" using primary key columns */
    queries_by_pk?: queries
    /** fetch data from the table: "queries_cache" */
    queries_cache: queries_cache[]
    /** fetch aggregated fields from the table: "queries_cache" */
    queries_cache_aggregate: queries_cache_aggregate
    /** fetch data from the table: "queries_cache" using primary key columns */
    queries_cache_by_pk?: queries_cache
    /** fetch data from the table in a streaming manner: "queries_cache" */
    queries_cache_stream: queries_cache[]
    /** An array relationship */
    queries_error: queries_error[]
    /** An aggregate relationship */
    queries_error_aggregate: queries_error_aggregate
    /** fetch data from the table: "queries_error" using primary key columns */
    queries_error_by_pk?: queries_error
    /** fetch data from the table in a streaming manner: "queries_error" */
    queries_error_stream: queries_error[]
    /** An array relationship */
    queries_log: queries_log[]
    /** An aggregate relationship */
    queries_log_aggregate: queries_log_aggregate
    /** fetch data from the table: "queries_log" using primary key columns */
    queries_log_by_pk?: queries_log
    /** fetch data from the table in a streaming manner: "queries_log" */
    queries_log_stream: queries_log[]
    /** fetch data from the table in a streaming manner: "queries" */
    queries_stream: queries[]
    /** fetch data from the table: "queries_templates" */
    queries_templates: queries_templates[]
    /** fetch aggregated fields from the table: "queries_templates" */
    queries_templates_aggregate: queries_templates_aggregate
    /** fetch data from the table in a streaming manner: "queries_templates" */
    queries_templates_stream: queries_templates[]
    /** fetch data from the table: "question_composite_question" */
    question_composite_question: question_composite_question[]
    /** fetch aggregated fields from the table: "question_composite_question" */
    question_composite_question_aggregate: question_composite_question_aggregate
    /** fetch data from the table in a streaming manner: "question_composite_question" */
    question_composite_question_stream: question_composite_question[]
    /** fetch data from the table: "question_template" */
    question_template: question_template[]
    /** fetch aggregated fields from the table: "question_template" */
    question_template_aggregate: question_template_aggregate
    /** fetch data from the table in a streaming manner: "question_template" */
    question_template_stream: question_template[]
    /** fetch data from the table: "questions" */
    questions: questions[]
    /** fetch aggregated fields from the table: "questions" */
    questions_aggregate: questions_aggregate
    /** fetch data from the table: "questions" using primary key columns */
    questions_by_pk?: questions
    /** fetch data from the table in a streaming manner: "questions" */
    questions_stream: questions[]
    /** execute function "search_document_patient" which returns "documents_overview" */
    search_document_patient: documents_overview[]
    /** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
    search_document_patient_aggregate: documents_overview_aggregate
    /** fetch data from the table: "security_levels" */
    security_levels: security_levels[]
    /** fetch aggregated fields from the table: "security_levels" */
    security_levels_aggregate: security_levels_aggregate
    /** fetch data from the table: "security_levels" using primary key columns */
    security_levels_by_pk?: security_levels
    /** fetch data from the table in a streaming manner: "security_levels" */
    security_levels_stream: security_levels[]
    /** fetch data from the table: "settings" */
    settings: settings[]
    /** fetch aggregated fields from the table: "settings" */
    settings_aggregate: settings_aggregate
    /** fetch data from the table: "settings" using primary key columns */
    settings_by_pk?: settings
    /** fetch data from the table in a streaming manner: "settings" */
    settings_stream: settings[]
    /** fetch data from the table: "shortcuts" */
    shortcuts: shortcuts[]
    /** fetch aggregated fields from the table: "shortcuts" */
    shortcuts_aggregate: shortcuts_aggregate
    /** fetch data from the table: "shortcuts" using primary key columns */
    shortcuts_by_pk?: shortcuts
    /** fetch data from the table in a streaming manner: "shortcuts" */
    shortcuts_stream: shortcuts[]
    /** An array relationship */
    sms: sms[]
    /** An aggregate relationship */
    sms_aggregate: sms_aggregate
    /** fetch data from the table: "sms" using primary key columns */
    sms_by_pk?: sms
    /** fetch data from the table in a streaming manner: "sms" */
    sms_stream: sms[]
    /** fetch data from the table: "sms_template_template" */
    sms_template_template: sms_template_template[]
    /** fetch aggregated fields from the table: "sms_template_template" */
    sms_template_template_aggregate: sms_template_template_aggregate
    /** fetch data from the table: "sms_template_template" using primary key columns */
    sms_template_template_by_pk?: sms_template_template
    /** fetch data from the table in a streaming manner: "sms_template_template" */
    sms_template_template_stream: sms_template_template[]
    /** An array relationship */
    sms_templates: sms_templates[]
    /** An aggregate relationship */
    sms_templates_aggregate: sms_templates_aggregate
    /** fetch data from the table: "sms_templates" using primary key columns */
    sms_templates_by_pk?: sms_templates
    /** fetch data from the table in a streaming manner: "sms_templates" */
    sms_templates_stream: sms_templates[]
    /** fetch data from the table: "status" */
    status: status[]
    /** fetch aggregated fields from the table: "status" */
    status_aggregate: status_aggregate
    /** fetch data from the table: "status" using primary key columns */
    status_by_pk?: status
    /** fetch data from the table in a streaming manner: "status" */
    status_stream: status[]
    /** fetch data from the table: "table_names" */
    table_names: table_names[]
    /** fetch aggregated fields from the table: "table_names" */
    table_names_aggregate: table_names_aggregate
    /** fetch data from the table: "table_names" using primary key columns */
    table_names_by_pk?: table_names
    /** fetch data from the table in a streaming manner: "table_names" */
    table_names_stream: table_names[]
    /** fetch data from the table: "template_artifact_parcel" */
    template_artifact_parcel: template_artifact_parcel[]
    /** fetch aggregated fields from the table: "template_artifact_parcel" */
    template_artifact_parcel_aggregate: template_artifact_parcel_aggregate
    /** fetch data from the table: "template_artifact_parcel" using primary key columns */
    template_artifact_parcel_by_pk?: template_artifact_parcel
    /** fetch data from the table in a streaming manner: "template_artifact_parcel" */
    template_artifact_parcel_stream: template_artifact_parcel[]
    /** fetch data from the table: "template_cache" */
    template_cache: template_cache[]
    /** fetch data from the table: "template_cache_access" */
    template_cache_access: template_cache_access[]
    /** fetch aggregated fields from the table: "template_cache_access" */
    template_cache_access_aggregate: template_cache_access_aggregate
    /** fetch data from the table: "template_cache_access" using primary key columns */
    template_cache_access_by_pk?: template_cache_access
    /** fetch data from the table in a streaming manner: "template_cache_access" */
    template_cache_access_stream: template_cache_access[]
    /** fetch aggregated fields from the table: "template_cache" */
    template_cache_aggregate: template_cache_aggregate
    /** fetch data from the table: "template_cache" using primary key columns */
    template_cache_by_pk?: template_cache
    /** fetch data from the table in a streaming manner: "template_cache" */
    template_cache_stream: template_cache[]
    /** fetch data from the table: "template_flags" */
    template_flags: template_flags[]
    /** fetch aggregated fields from the table: "template_flags" */
    template_flags_aggregate: template_flags_aggregate
    /** fetch data from the table in a streaming manner: "template_flags" */
    template_flags_stream: template_flags[]
    /** An array relationship */
    template_journal_roles: template_journal_roles[]
    /** An aggregate relationship */
    template_journal_roles_aggregate: template_journal_roles_aggregate
    /** fetch data from the table: "template_journal_roles" using primary key columns */
    template_journal_roles_by_pk?: template_journal_roles
    /** fetch data from the table in a streaming manner: "template_journal_roles" */
    template_journal_roles_stream: template_journal_roles[]
    /** An array relationship */
    template_offer_types: template_offer_types[]
    /** An aggregate relationship */
    template_offer_types_aggregate: template_offer_types_aggregate
    /** fetch data from the table: "template_offer_types" using primary key columns */
    template_offer_types_by_pk?: template_offer_types
    /** fetch data from the table in a streaming manner: "template_offer_types" */
    template_offer_types_stream: template_offer_types[]
    /** An array relationship */
    template_offers: template_offers[]
    /** An aggregate relationship */
    template_offers_aggregate: template_offers_aggregate
    /** fetch data from the table: "template_offers" using primary key columns */
    template_offers_by_pk?: template_offers
    /** fetch data from the table in a streaming manner: "template_offers" */
    template_offers_stream: template_offers[]
    /** An array relationship */
    templates: templates[]
    /** An aggregate relationship */
    templates_aggregate: templates_aggregate
    /** fetch data from the table: "templates" using primary key columns */
    templates_by_pk?: templates
    /** fetch data from the table in a streaming manner: "templates" */
    templates_stream: templates[]
    /** fetch data from the table: "types" */
    types: types[]
    /** fetch aggregated fields from the table: "types" */
    types_aggregate: types_aggregate
    /** fetch data from the table: "types" using primary key columns */
    types_by_pk?: types
    /** fetch data from the table in a streaming manner: "types" */
    types_stream: types[]
    /** fetch data from the table: "unseen_documents" */
    unseen_documents: unseen_documents[]
    /** fetch aggregated fields from the table: "unseen_documents" */
    unseen_documents_aggregate: unseen_documents_aggregate
    /** fetch data from the table in a streaming manner: "unseen_documents" */
    unseen_documents_stream: unseen_documents[]
    /** fetch data from the table: "unseen_queries" */
    unseen_queries: unseen_queries[]
    /** fetch aggregated fields from the table: "unseen_queries" */
    unseen_queries_aggregate: unseen_queries_aggregate
    /** fetch data from the table in a streaming manner: "unseen_queries" */
    unseen_queries_stream: unseen_queries[]
    __typename: 'subscription_root'
}


/** columns and relationships of "table_names" */
export interface table_names {
    description?: Scalars['String']
    /** An array relationship */
    favorites: favorites[]
    /** An aggregate relationship */
    favorites_aggregate: favorites_aggregate
    name: Scalars['String']
    __typename: 'table_names'
}


/** aggregated selection of "table_names" */
export interface table_names_aggregate {
    aggregate?: table_names_aggregate_fields
    nodes: table_names[]
    __typename: 'table_names_aggregate'
}


/** aggregate fields of "table_names" */
export interface table_names_aggregate_fields {
    count: Scalars['Int']
    max?: table_names_max_fields
    min?: table_names_min_fields
    __typename: 'table_names_aggregate_fields'
}


/** unique or primary key constraints on table "table_names" */
export type table_names_constraint = 'table_names_pkey'

export type table_names_enum = 'genesis_consent_permissions' | 'genesis_templates_permissions' | 'templates'


/** aggregate max on columns */
export interface table_names_max_fields {
    description?: Scalars['String']
    name?: Scalars['String']
    __typename: 'table_names_max_fields'
}


/** aggregate min on columns */
export interface table_names_min_fields {
    description?: Scalars['String']
    name?: Scalars['String']
    __typename: 'table_names_min_fields'
}


/** response of any mutation on the table "table_names" */
export interface table_names_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: table_names[]
    __typename: 'table_names_mutation_response'
}


/** select columns of table "table_names" */
export type table_names_select_column = 'description' | 'name'


/** update columns of table "table_names" */
export type table_names_update_column = 'description' | 'name'


/** columns and relationships of "template_artifact_parcel" */
export interface template_artifact_parcel {
    /** An object relationship */
    artifact_parcel: artifact_parcels
    artifact_parcel_id: Scalars['uuid']
    /** An object relationship */
    template: templates
    template_id: Scalars['bigint']
    __typename: 'template_artifact_parcel'
}


/** aggregated selection of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate {
    aggregate?: template_artifact_parcel_aggregate_fields
    nodes: template_artifact_parcel[]
    __typename: 'template_artifact_parcel_aggregate'
}


/** aggregate fields of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate_fields {
    avg?: template_artifact_parcel_avg_fields
    count: Scalars['Int']
    max?: template_artifact_parcel_max_fields
    min?: template_artifact_parcel_min_fields
    stddev?: template_artifact_parcel_stddev_fields
    stddev_pop?: template_artifact_parcel_stddev_pop_fields
    stddev_samp?: template_artifact_parcel_stddev_samp_fields
    sum?: template_artifact_parcel_sum_fields
    var_pop?: template_artifact_parcel_var_pop_fields
    var_samp?: template_artifact_parcel_var_samp_fields
    variance?: template_artifact_parcel_variance_fields
    __typename: 'template_artifact_parcel_aggregate_fields'
}


/** aggregate avg on columns */
export interface template_artifact_parcel_avg_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_avg_fields'
}


/** unique or primary key constraints on table "template_artifact_parcel" */
export type template_artifact_parcel_constraint = 'template_artifact_parcel_pkey'


/** aggregate max on columns */
export interface template_artifact_parcel_max_fields {
    artifact_parcel_id?: Scalars['uuid']
    template_id?: Scalars['bigint']
    __typename: 'template_artifact_parcel_max_fields'
}


/** aggregate min on columns */
export interface template_artifact_parcel_min_fields {
    artifact_parcel_id?: Scalars['uuid']
    template_id?: Scalars['bigint']
    __typename: 'template_artifact_parcel_min_fields'
}


/** response of any mutation on the table "template_artifact_parcel" */
export interface template_artifact_parcel_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_artifact_parcel[]
    __typename: 'template_artifact_parcel_mutation_response'
}


/** select columns of table "template_artifact_parcel" */
export type template_artifact_parcel_select_column = 'artifact_parcel_id' | 'template_id'


/** aggregate stddev on columns */
export interface template_artifact_parcel_stddev_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface template_artifact_parcel_stddev_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface template_artifact_parcel_stddev_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface template_artifact_parcel_sum_fields {
    template_id?: Scalars['bigint']
    __typename: 'template_artifact_parcel_sum_fields'
}


/** update columns of table "template_artifact_parcel" */
export type template_artifact_parcel_update_column = 'artifact_parcel_id' | 'template_id'


/** aggregate var_pop on columns */
export interface template_artifact_parcel_var_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface template_artifact_parcel_var_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_var_samp_fields'
}


/** aggregate variance on columns */
export interface template_artifact_parcel_variance_fields {
    template_id?: Scalars['Float']
    __typename: 'template_artifact_parcel_variance_fields'
}


/** columns and relationships of "template_cache" */
export interface template_cache {
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    data: Scalars['jsonb']
    /** An object relationship */
    directory_customers?: directory_customers
    show: Scalars['Boolean']
    /** An object relationship */
    template: templates
    /** An array relationship */
    template_cache_accesses: template_cache_access[]
    /** An aggregate relationship */
    template_cache_accesses_aggregate: template_cache_access_aggregate
    template_uuid: Scalars['uuid']
    updated_at: Scalars['timestamptz']
    __typename: 'template_cache'
}


/** columns and relationships of "template_cache_access" */
export interface template_cache_access {
    customer_id: Scalars['uuid']
    /** An object relationship */
    template_cache: template_cache
    template_uuid: Scalars['uuid']
    __typename: 'template_cache_access'
}


/** aggregated selection of "template_cache_access" */
export interface template_cache_access_aggregate {
    aggregate?: template_cache_access_aggregate_fields
    nodes: template_cache_access[]
    __typename: 'template_cache_access_aggregate'
}


/** aggregate fields of "template_cache_access" */
export interface template_cache_access_aggregate_fields {
    count: Scalars['Int']
    max?: template_cache_access_max_fields
    min?: template_cache_access_min_fields
    __typename: 'template_cache_access_aggregate_fields'
}


/** unique or primary key constraints on table "template_cache_access" */
export type template_cache_access_constraint = 'template_cache_access_pkey'


/** aggregate max on columns */
export interface template_cache_access_max_fields {
    customer_id?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    __typename: 'template_cache_access_max_fields'
}


/** aggregate min on columns */
export interface template_cache_access_min_fields {
    customer_id?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    __typename: 'template_cache_access_min_fields'
}


/** response of any mutation on the table "template_cache_access" */
export interface template_cache_access_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_cache_access[]
    __typename: 'template_cache_access_mutation_response'
}


/** select columns of table "template_cache_access" */
export type template_cache_access_select_column = 'customer_id' | 'template_uuid'


/** update columns of table "template_cache_access" */
export type template_cache_access_update_column = 'customer_id' | 'template_uuid'


/** aggregated selection of "template_cache" */
export interface template_cache_aggregate {
    aggregate?: template_cache_aggregate_fields
    nodes: template_cache[]
    __typename: 'template_cache_aggregate'
}


/** aggregate fields of "template_cache" */
export interface template_cache_aggregate_fields {
    count: Scalars['Int']
    max?: template_cache_max_fields
    min?: template_cache_min_fields
    __typename: 'template_cache_aggregate_fields'
}


/** unique or primary key constraints on table "template_cache" */
export type template_cache_constraint = 'template_cache_pkey'


/** aggregate max on columns */
export interface template_cache_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    __typename: 'template_cache_max_fields'
}


/** aggregate min on columns */
export interface template_cache_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    template_uuid?: Scalars['uuid']
    updated_at?: Scalars['timestamptz']
    __typename: 'template_cache_min_fields'
}


/** response of any mutation on the table "template_cache" */
export interface template_cache_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_cache[]
    __typename: 'template_cache_mutation_response'
}


/** select columns of table "template_cache" */
export type template_cache_select_column = 'created_at' | 'customer_id' | 'data' | 'show' | 'template_uuid' | 'updated_at'


/** update columns of table "template_cache" */
export type template_cache_update_column = 'created_at' | 'customer_id' | 'data' | 'show' | 'template_uuid' | 'updated_at'


/** columns and relationships of "template_flags" */
export interface template_flags {
    ask_for_phone_nr?: Scalars['Boolean']
    auto_import?: Scalars['Boolean']
    collapse_all?: Scalars['Boolean']
    continuous?: Scalars['Boolean']
    generate_on_start?: Scalars['Boolean']
    genesis?: Scalars['Boolean']
    import_pdf?: Scalars['Boolean']
    reg_new_activity?: Scalars['Boolean']
    rejectable?: Scalars['Boolean']
    shareable?: Scalars['Boolean']
    soknadid_required?: Scalars['Boolean']
    template_id?: Scalars['bigint']
    /** An object relationship */
    templates?: templates
    user_context_me?: Scalars['Boolean']
    __typename: 'template_flags'
}


/** aggregated selection of "template_flags" */
export interface template_flags_aggregate {
    aggregate?: template_flags_aggregate_fields
    nodes: template_flags[]
    __typename: 'template_flags_aggregate'
}


/** aggregate fields of "template_flags" */
export interface template_flags_aggregate_fields {
    avg?: template_flags_avg_fields
    count: Scalars['Int']
    max?: template_flags_max_fields
    min?: template_flags_min_fields
    stddev?: template_flags_stddev_fields
    stddev_pop?: template_flags_stddev_pop_fields
    stddev_samp?: template_flags_stddev_samp_fields
    sum?: template_flags_sum_fields
    var_pop?: template_flags_var_pop_fields
    var_samp?: template_flags_var_samp_fields
    variance?: template_flags_variance_fields
    __typename: 'template_flags_aggregate_fields'
}


/** aggregate avg on columns */
export interface template_flags_avg_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_avg_fields'
}


/** aggregate max on columns */
export interface template_flags_max_fields {
    template_id?: Scalars['bigint']
    __typename: 'template_flags_max_fields'
}


/** aggregate min on columns */
export interface template_flags_min_fields {
    template_id?: Scalars['bigint']
    __typename: 'template_flags_min_fields'
}


/** response of any mutation on the table "template_flags" */
export interface template_flags_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_flags[]
    __typename: 'template_flags_mutation_response'
}


/** select columns of table "template_flags" */
export type template_flags_select_column = 'ask_for_phone_nr' | 'auto_import' | 'collapse_all' | 'continuous' | 'generate_on_start' | 'genesis' | 'import_pdf' | 'reg_new_activity' | 'rejectable' | 'shareable' | 'soknadid_required' | 'template_id' | 'user_context_me'


/** aggregate stddev on columns */
export interface template_flags_stddev_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface template_flags_stddev_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface template_flags_stddev_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface template_flags_sum_fields {
    template_id?: Scalars['bigint']
    __typename: 'template_flags_sum_fields'
}


/** aggregate var_pop on columns */
export interface template_flags_var_pop_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface template_flags_var_samp_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_var_samp_fields'
}


/** aggregate variance on columns */
export interface template_flags_variance_fields {
    template_id?: Scalars['Float']
    __typename: 'template_flags_variance_fields'
}


/** @deprecated - do not use this table! Was moved to templates.journal_roles! */
export interface template_journal_roles {
    role: Scalars['String']
    /** An object relationship */
    template?: templates
    template_uuid: Scalars['uuid']
    __typename: 'template_journal_roles'
}


/** aggregated selection of "template_journal_roles" */
export interface template_journal_roles_aggregate {
    aggregate?: template_journal_roles_aggregate_fields
    nodes: template_journal_roles[]
    __typename: 'template_journal_roles_aggregate'
}


/** aggregate fields of "template_journal_roles" */
export interface template_journal_roles_aggregate_fields {
    count: Scalars['Int']
    max?: template_journal_roles_max_fields
    min?: template_journal_roles_min_fields
    __typename: 'template_journal_roles_aggregate_fields'
}


/** unique or primary key constraints on table "template_journal_roles" */
export type template_journal_roles_constraint = 'template_journal_roles_pkey'


/** aggregate max on columns */
export interface template_journal_roles_max_fields {
    role?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_journal_roles_max_fields'
}


/** aggregate min on columns */
export interface template_journal_roles_min_fields {
    role?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_journal_roles_min_fields'
}


/** response of any mutation on the table "template_journal_roles" */
export interface template_journal_roles_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_journal_roles[]
    __typename: 'template_journal_roles_mutation_response'
}


/** select columns of table "template_journal_roles" */
export type template_journal_roles_select_column = 'role' | 'template_uuid'


/** update columns of table "template_journal_roles" */
export type template_journal_roles_update_column = 'role' | 'template_uuid'


/** @deprecated - Do not use this table! Was moved to templates.offer_types'JSONB! */
export interface template_offer_types {
    offer_type: Scalars['String']
    /** An object relationship */
    template: templates
    template_uuid: Scalars['uuid']
    __typename: 'template_offer_types'
}


/** aggregated selection of "template_offer_types" */
export interface template_offer_types_aggregate {
    aggregate?: template_offer_types_aggregate_fields
    nodes: template_offer_types[]
    __typename: 'template_offer_types_aggregate'
}


/** aggregate fields of "template_offer_types" */
export interface template_offer_types_aggregate_fields {
    count: Scalars['Int']
    max?: template_offer_types_max_fields
    min?: template_offer_types_min_fields
    __typename: 'template_offer_types_aggregate_fields'
}


/** unique or primary key constraints on table "template_offer_types" */
export type template_offer_types_constraint = 'template_offer_types_pkey'


/** aggregate max on columns */
export interface template_offer_types_max_fields {
    offer_type?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_offer_types_max_fields'
}


/** aggregate min on columns */
export interface template_offer_types_min_fields {
    offer_type?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_offer_types_min_fields'
}


/** response of any mutation on the table "template_offer_types" */
export interface template_offer_types_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_offer_types[]
    __typename: 'template_offer_types_mutation_response'
}


/** select columns of table "template_offer_types" */
export type template_offer_types_select_column = 'offer_type' | 'template_uuid'


/** update columns of table "template_offer_types" */
export type template_offer_types_update_column = 'offer_type' | 'template_uuid'


/** @deprecated - do not use this table! was moved into templates.offers'JSONB field */
export interface template_offers {
    offer: Scalars['String']
    /** An object relationship */
    template: templates
    template_uuid: Scalars['uuid']
    __typename: 'template_offers'
}


/** aggregated selection of "template_offers" */
export interface template_offers_aggregate {
    aggregate?: template_offers_aggregate_fields
    nodes: template_offers[]
    __typename: 'template_offers_aggregate'
}


/** aggregate fields of "template_offers" */
export interface template_offers_aggregate_fields {
    count: Scalars['Int']
    max?: template_offers_max_fields
    min?: template_offers_min_fields
    __typename: 'template_offers_aggregate_fields'
}


/** unique or primary key constraints on table "template_offers" */
export type template_offers_constraint = 'template_offers_pkey'


/** aggregate max on columns */
export interface template_offers_max_fields {
    offer?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_offers_max_fields'
}


/** aggregate min on columns */
export interface template_offers_min_fields {
    offer?: Scalars['String']
    template_uuid?: Scalars['uuid']
    __typename: 'template_offers_min_fields'
}


/** response of any mutation on the table "template_offers" */
export interface template_offers_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: template_offers[]
    __typename: 'template_offers_mutation_response'
}


/** select columns of table "template_offers" */
export type template_offers_select_column = 'offer' | 'template_uuid'


/** update columns of table "template_offers" */
export type template_offers_update_column = 'offer' | 'template_uuid'


/** columns and relationships of "templates" */
export interface templates {
    accessible?: accessible_enum
    /** An object relationship */
    accessibleByAccessible?: accessible
    archived: Scalars['Boolean']
    attributes: Scalars['jsonb']
    changed_by?: Scalars['String']
    /** An array relationship */
    consent_template_to_templates: consent_template_to_template[]
    /** An aggregate relationship */
    consent_template_to_templates_aggregate: consent_template_to_template_aggregate
    context?: Scalars['String']
    /** An object relationship */
    context_by_name?: contexts
    created_at: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directory_customers?: directory_customers
    /** An array relationship */
    favorite_templates_order: favorite_templates_order[]
    /** An aggregate relationship */
    favorite_templates_order_aggregate: favorite_templates_order_aggregate
    /** An object relationship */
    flags?: template_flags
    /** An array relationship */
    genesis_denied_permissions: genesis_denied_permissions[]
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate: genesis_denied_permissions_aggregate
    /** An array relationship */
    genesis_templates: genesis_templates[]
    /** An aggregate relationship */
    genesis_templates_aggregate: genesis_templates_aggregate
    hide: Scalars['Boolean']
    id: Scalars['bigint']
    journal_roles?: Scalars['jsonb']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Int']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Int']
    offer_types?: Scalars['jsonb']
    offers?: Scalars['jsonb']
    plan_category?: Scalars['Int']
    /** An array relationship */
    qnr_template_genesis_overrides: qnr_template_genesis_overrides[]
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate: qnr_template_genesis_overrides_aggregate
    /** An array relationship */
    queries: queries[]
    /** An aggregate relationship */
    queries_aggregate: queries_aggregate
    /** An array relationship */
    question_templates: question_template[]
    /** An aggregate relationship */
    question_templates_aggregate: question_template_aggregate
    region: Scalars['String']
    settings_ui?: Scalars['jsonb']
    /** An array relationship */
    sms_template_templates: sms_template_template[]
    /** An aggregate relationship */
    sms_template_templates_aggregate: sms_template_template_aggregate
    /** An array relationship */
    template_artifact_parcels: template_artifact_parcel[]
    /** An aggregate relationship */
    template_artifact_parcels_aggregate: template_artifact_parcel_aggregate
    /** An object relationship */
    template_cache?: template_cache
    /** An array relationship */
    template_journal_roles: template_journal_roles[]
    /** An aggregate relationship */
    template_journal_roles_aggregate: template_journal_roles_aggregate
    /** An array relationship */
    template_offer_types: template_offer_types[]
    /** An aggregate relationship */
    template_offer_types_aggregate: template_offer_types_aggregate
    /** An array relationship */
    template_offers: template_offers[]
    /** An aggregate relationship */
    template_offers_aggregate: template_offers_aggregate
    template_uuid: Scalars['uuid']
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: Scalars['String']
    title: Scalars['String']
    updated_at: Scalars['timestamptz']
    valid_days: Scalars['Int']
    __typename: 'templates'
}


/** aggregated selection of "templates" */
export interface templates_aggregate {
    aggregate?: templates_aggregate_fields
    nodes: templates[]
    __typename: 'templates_aggregate'
}


/** aggregate fields of "templates" */
export interface templates_aggregate_fields {
    avg?: templates_avg_fields
    count: Scalars['Int']
    max?: templates_max_fields
    min?: templates_min_fields
    stddev?: templates_stddev_fields
    stddev_pop?: templates_stddev_pop_fields
    stddev_samp?: templates_stddev_samp_fields
    sum?: templates_sum_fields
    var_pop?: templates_var_pop_fields
    var_samp?: templates_var_samp_fields
    variance?: templates_variance_fields
    __typename: 'templates_aggregate_fields'
}


/** aggregate avg on columns */
export interface templates_avg_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_avg_fields'
}


/** unique or primary key constraints on table "templates" */
export type templates_constraint = 'idx_38738_primary' | 'templates_template_uuid_key'


/** aggregate max on columns */
export interface templates_max_fields {
    changed_by?: Scalars['String']
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Int']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Int']
    plan_category?: Scalars['Int']
    region?: Scalars['String']
    template_uuid?: Scalars['uuid']
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_days?: Scalars['Int']
    __typename: 'templates_max_fields'
}


/** aggregate min on columns */
export interface templates_min_fields {
    changed_by?: Scalars['String']
    context?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['bigint']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Int']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Int']
    plan_category?: Scalars['Int']
    region?: Scalars['String']
    template_uuid?: Scalars['uuid']
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: Scalars['String']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    valid_days?: Scalars['Int']
    __typename: 'templates_min_fields'
}


/** response of any mutation on the table "templates" */
export interface templates_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: templates[]
    __typename: 'templates_mutation_response'
}


/** select columns of table "templates" */
export type templates_select_column = 'accessible' | 'archived' | 'attributes' | 'changed_by' | 'context' | 'created_at' | 'customer_id' | 'deleted_at' | 'hide' | 'id' | 'journal_roles' | 'offer' | 'offer_type' | 'offer_types' | 'offers' | 'plan_category' | 'region' | 'settings_ui' | 'template_uuid' | 'therapist_role' | 'title' | 'updated_at' | 'valid_days'


/** select "templates_aggregate_bool_exp_bool_and_arguments_columns" columns of table "templates" */
export type templates_select_column_templates_aggregate_bool_exp_bool_and_arguments_columns = 'archived' | 'hide'


/** select "templates_aggregate_bool_exp_bool_or_arguments_columns" columns of table "templates" */
export type templates_select_column_templates_aggregate_bool_exp_bool_or_arguments_columns = 'archived' | 'hide'


/** aggregate stddev on columns */
export interface templates_stddev_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface templates_stddev_pop_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface templates_stddev_samp_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface templates_sum_fields {
    id?: Scalars['bigint']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Int']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Int']
    plan_category?: Scalars['Int']
    valid_days?: Scalars['Int']
    __typename: 'templates_sum_fields'
}


/** update columns of table "templates" */
export type templates_update_column = 'accessible' | 'archived' | 'attributes' | 'changed_by' | 'context' | 'created_at' | 'customer_id' | 'deleted_at' | 'hide' | 'id' | 'journal_roles' | 'offer' | 'offer_type' | 'offer_types' | 'offers' | 'plan_category' | 'region' | 'settings_ui' | 'template_uuid' | 'therapist_role' | 'title' | 'updated_at' | 'valid_days'


/** aggregate var_pop on columns */
export interface templates_var_pop_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface templates_var_samp_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_var_samp_fields'
}


/** aggregate variance on columns */
export interface templates_variance_fields {
    id?: Scalars['Float']
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: Scalars['Float']
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: Scalars['Float']
    plan_category?: Scalars['Float']
    valid_days?: Scalars['Float']
    __typename: 'templates_variance_fields'
}


/** columns and relationships of "types" */
export interface types {
    comment?: Scalars['String']
    /** An array relationship */
    consent_templates: consent_templates[]
    /** An aggregate relationship */
    consent_templates_aggregate: consent_templates_aggregate
    /** An array relationship */
    consents: consents[]
    /** An aggregate relationship */
    consents_aggregate: consents_aggregate
    name: Scalars['String']
    __typename: 'types'
}


/** aggregated selection of "types" */
export interface types_aggregate {
    aggregate?: types_aggregate_fields
    nodes: types[]
    __typename: 'types_aggregate'
}


/** aggregate fields of "types" */
export interface types_aggregate_fields {
    count: Scalars['Int']
    max?: types_max_fields
    min?: types_min_fields
    __typename: 'types_aggregate_fields'
}


/** unique or primary key constraints on table "types" */
export type types_constraint = 'types_pkey'

export type types_enum = 'MANDATORY' | 'OPTIONAL'


/** aggregate max on columns */
export interface types_max_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'types_max_fields'
}


/** aggregate min on columns */
export interface types_min_fields {
    comment?: Scalars['String']
    name?: Scalars['String']
    __typename: 'types_min_fields'
}


/** response of any mutation on the table "types" */
export interface types_mutation_response {
    /** number of rows affected by the mutation */
    affected_rows: Scalars['Int']
    /** data from the rows affected by the mutation */
    returning: types[]
    __typename: 'types_mutation_response'
}


/** select columns of table "types" */
export type types_select_column = 'comment' | 'name'


/** update columns of table "types" */
export type types_update_column = 'comment' | 'name'


/** columns and relationships of "unseen_documents" */
export interface unseen_documents {
    archived?: Scalars['Boolean']
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_documents'
}


/** aggregated selection of "unseen_documents" */
export interface unseen_documents_aggregate {
    aggregate?: unseen_documents_aggregate_fields
    nodes: unseen_documents[]
    __typename: 'unseen_documents_aggregate'
}


/** aggregate fields of "unseen_documents" */
export interface unseen_documents_aggregate_fields {
    avg?: unseen_documents_avg_fields
    count: Scalars['Int']
    max?: unseen_documents_max_fields
    min?: unseen_documents_min_fields
    stddev?: unseen_documents_stddev_fields
    stddev_pop?: unseen_documents_stddev_pop_fields
    stddev_samp?: unseen_documents_stddev_samp_fields
    sum?: unseen_documents_sum_fields
    var_pop?: unseen_documents_var_pop_fields
    var_samp?: unseen_documents_var_samp_fields
    variance?: unseen_documents_variance_fields
    __typename: 'unseen_documents_aggregate_fields'
}


/** aggregate avg on columns */
export interface unseen_documents_avg_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_avg_fields'
}


/** aggregate max on columns */
export interface unseen_documents_max_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_documents_max_fields'
}


/** aggregate min on columns */
export interface unseen_documents_min_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_documents_min_fields'
}


/** select columns of table "unseen_documents" */
export type unseen_documents_select_column = 'archived' | 'customer_id' | 'initiator' | 'patient_id' | 'soknad_id' | 'total'


/** aggregate stddev on columns */
export interface unseen_documents_stddev_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface unseen_documents_stddev_pop_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface unseen_documents_stddev_samp_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface unseen_documents_sum_fields {
    total?: Scalars['bigint']
    __typename: 'unseen_documents_sum_fields'
}


/** aggregate var_pop on columns */
export interface unseen_documents_var_pop_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface unseen_documents_var_samp_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_var_samp_fields'
}


/** aggregate variance on columns */
export interface unseen_documents_variance_fields {
    total?: Scalars['Float']
    __typename: 'unseen_documents_variance_fields'
}


/** columns and relationships of "unseen_queries" */
export interface unseen_queries {
    archived?: Scalars['Boolean']
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_queries'
}


/** aggregated selection of "unseen_queries" */
export interface unseen_queries_aggregate {
    aggregate?: unseen_queries_aggregate_fields
    nodes: unseen_queries[]
    __typename: 'unseen_queries_aggregate'
}


/** aggregate fields of "unseen_queries" */
export interface unseen_queries_aggregate_fields {
    avg?: unseen_queries_avg_fields
    count: Scalars['Int']
    max?: unseen_queries_max_fields
    min?: unseen_queries_min_fields
    stddev?: unseen_queries_stddev_fields
    stddev_pop?: unseen_queries_stddev_pop_fields
    stddev_samp?: unseen_queries_stddev_samp_fields
    sum?: unseen_queries_sum_fields
    var_pop?: unseen_queries_var_pop_fields
    var_samp?: unseen_queries_var_samp_fields
    variance?: unseen_queries_variance_fields
    __typename: 'unseen_queries_aggregate_fields'
}


/** aggregate avg on columns */
export interface unseen_queries_avg_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_avg_fields'
}


/** aggregate max on columns */
export interface unseen_queries_max_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_queries_max_fields'
}


/** aggregate min on columns */
export interface unseen_queries_min_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    total?: Scalars['bigint']
    __typename: 'unseen_queries_min_fields'
}


/** select columns of table "unseen_queries" */
export type unseen_queries_select_column = 'archived' | 'customer_id' | 'initiator' | 'patient_id' | 'soknad_id' | 'total'


/** aggregate stddev on columns */
export interface unseen_queries_stddev_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_stddev_fields'
}


/** aggregate stddev_pop on columns */
export interface unseen_queries_stddev_pop_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_stddev_pop_fields'
}


/** aggregate stddev_samp on columns */
export interface unseen_queries_stddev_samp_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_stddev_samp_fields'
}


/** aggregate sum on columns */
export interface unseen_queries_sum_fields {
    total?: Scalars['bigint']
    __typename: 'unseen_queries_sum_fields'
}


/** aggregate var_pop on columns */
export interface unseen_queries_var_pop_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_var_pop_fields'
}


/** aggregate var_samp on columns */
export interface unseen_queries_var_samp_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_var_samp_fields'
}


/** aggregate variance on columns */
export interface unseen_queries_variance_fields {
    total?: Scalars['Float']
    __typename: 'unseen_queries_variance_fields'
}

export type Query = query_root
export type Mutation = mutation_root
export type Subscription = subscription_root


/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
export interface Boolean_comparison_exp {_eq?: (Scalars['Boolean'] | null),_gt?: (Scalars['Boolean'] | null),_gte?: (Scalars['Boolean'] | null),_in?: (Scalars['Boolean'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['Boolean'] | null),_lte?: (Scalars['Boolean'] | null),_neq?: (Scalars['Boolean'] | null),_nin?: (Scalars['Boolean'][] | null)}


/** columns and relationships of "DocKladd_properties" */
export interface DocKladd_propertiesRequest{
    active?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "DocKladd_properties" */
export interface DocKladd_properties_aggregateRequest{
    aggregate?: DocKladd_properties_aggregate_fieldsRequest
    nodes?: DocKladd_propertiesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "DocKladd_properties" */
export interface DocKladd_properties_aggregate_fieldsRequest{
    avg?: DocKladd_properties_avg_fieldsRequest
    count?: [{columns?: (DocKladd_properties_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: DocKladd_properties_max_fieldsRequest
    min?: DocKladd_properties_min_fieldsRequest
    stddev?: DocKladd_properties_stddev_fieldsRequest
    stddev_pop?: DocKladd_properties_stddev_pop_fieldsRequest
    stddev_samp?: DocKladd_properties_stddev_samp_fieldsRequest
    sum?: DocKladd_properties_sum_fieldsRequest
    var_pop?: DocKladd_properties_var_pop_fieldsRequest
    var_samp?: DocKladd_properties_var_samp_fieldsRequest
    variance?: DocKladd_properties_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface DocKladd_properties_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "DocKladd_properties". All fields are combined with a logical 'AND'. */
export interface DocKladd_properties_bool_exp {_and?: (DocKladd_properties_bool_exp[] | null),_not?: (DocKladd_properties_bool_exp | null),_or?: (DocKladd_properties_bool_exp[] | null),active?: (Boolean_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),id?: (Int_comparison_exp | null)}


/** input type for incrementing numeric columns in table "DocKladd_properties" */
export interface DocKladd_properties_inc_input {id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "DocKladd_properties" */
export interface DocKladd_properties_insert_input {active?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['Int'] | null)}


/** aggregate max on columns */
export interface DocKladd_properties_max_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface DocKladd_properties_min_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "DocKladd_properties" */
export interface DocKladd_properties_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: DocKladd_propertiesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "DocKladd_properties" */
export interface DocKladd_properties_on_conflict {constraint: DocKladd_properties_constraint,update_columns: DocKladd_properties_update_column[],where?: (DocKladd_properties_bool_exp | null)}


/** Ordering options when selecting data from "DocKladd_properties". */
export interface DocKladd_properties_order_by {active?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null)}


/** primary key columns input for table: DocKladd_properties */
export interface DocKladd_properties_pk_columns_input {customer_id: Scalars['uuid'],id: Scalars['Int']}


/** input type for updating data in table "DocKladd_properties" */
export interface DocKladd_properties_set_input {active?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['Int'] | null)}


/** aggregate stddev on columns */
export interface DocKladd_properties_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface DocKladd_properties_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface DocKladd_properties_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "DocKladd_properties" */
export interface DocKladd_properties_stream_cursor_input {
/** Stream column input with initial value */
initial_value: DocKladd_properties_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface DocKladd_properties_stream_cursor_value_input {active?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['Int'] | null)}


/** aggregate sum on columns */
export interface DocKladd_properties_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface DocKladd_properties_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (DocKladd_properties_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_properties_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_properties_bool_exp}


/** aggregate var_pop on columns */
export interface DocKladd_properties_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface DocKladd_properties_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface DocKladd_properties_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "DocKladd_questions" */
export interface DocKladd_questionsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    /** An object relationship */
    query?: queriesRequest
    query_id?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "DocKladd_questions" */
export interface DocKladd_questions_aggregateRequest{
    aggregate?: DocKladd_questions_aggregate_fieldsRequest
    nodes?: DocKladd_questionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface DocKladd_questions_aggregate_bool_exp {count?: (DocKladd_questions_aggregate_bool_exp_count | null)}

export interface DocKladd_questions_aggregate_bool_exp_count {arguments?: (DocKladd_questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (DocKladd_questions_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "DocKladd_questions" */
export interface DocKladd_questions_aggregate_fieldsRequest{
    count?: [{columns?: (DocKladd_questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: DocKladd_questions_max_fieldsRequest
    min?: DocKladd_questions_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "DocKladd_questions" */
export interface DocKladd_questions_aggregate_order_by {count?: (order_by | null),max?: (DocKladd_questions_max_order_by | null),min?: (DocKladd_questions_min_order_by | null)}


/** input type for inserting array relation for remote table "DocKladd_questions" */
export interface DocKladd_questions_arr_rel_insert_input {data: DocKladd_questions_insert_input[],
/** upsert condition */
on_conflict?: (DocKladd_questions_on_conflict | null)}


/** Boolean expression to filter rows from the table "DocKladd_questions". All fields are combined with a logical 'AND'. */
export interface DocKladd_questions_bool_exp {_and?: (DocKladd_questions_bool_exp[] | null),_not?: (DocKladd_questions_bool_exp | null),_or?: (DocKladd_questions_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),id?: (String_comparison_exp | null),query?: (queries_bool_exp | null),query_id?: (uuid_comparison_exp | null),question_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "DocKladd_questions" */
export interface DocKladd_questions_insert_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),query?: (queries_obj_rel_insert_input | null),query_id?: (Scalars['uuid'] | null),question_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface DocKladd_questions_max_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    query_id?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "DocKladd_questions" */
export interface DocKladd_questions_max_order_by {customer_id?: (order_by | null),id?: (order_by | null),query_id?: (order_by | null),question_id?: (order_by | null)}


/** aggregate min on columns */
export interface DocKladd_questions_min_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    query_id?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "DocKladd_questions" */
export interface DocKladd_questions_min_order_by {customer_id?: (order_by | null),id?: (order_by | null),query_id?: (order_by | null),question_id?: (order_by | null)}


/** response of any mutation on the table "DocKladd_questions" */
export interface DocKladd_questions_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: DocKladd_questionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "DocKladd_questions" */
export interface DocKladd_questions_on_conflict {constraint: DocKladd_questions_constraint,update_columns: DocKladd_questions_update_column[],where?: (DocKladd_questions_bool_exp | null)}


/** Ordering options when selecting data from "DocKladd_questions". */
export interface DocKladd_questions_order_by {customer_id?: (order_by | null),id?: (order_by | null),query?: (queries_order_by | null),query_id?: (order_by | null),question_id?: (order_by | null)}


/** primary key columns input for table: DocKladd_questions */
export interface DocKladd_questions_pk_columns_input {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}


/** input type for updating data in table "DocKladd_questions" */
export interface DocKladd_questions_set_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),query_id?: (Scalars['uuid'] | null),question_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "DocKladd_questions" */
export interface DocKladd_questions_stream_cursor_input {
/** Stream column input with initial value */
initial_value: DocKladd_questions_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface DocKladd_questions_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),query_id?: (Scalars['uuid'] | null),question_id?: (Scalars['uuid'] | null)}

export interface DocKladd_questions_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_questions_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_questions_bool_exp}


/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */
export interface Int_comparison_exp {_eq?: (Scalars['Int'] | null),_gt?: (Scalars['Int'] | null),_gte?: (Scalars['Int'] | null),_in?: (Scalars['Int'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['Int'] | null),_lte?: (Scalars['Int'] | null),_neq?: (Scalars['Int'] | null),_nin?: (Scalars['Int'][] | null)}

export interface NotificationInput {customer_id?: (Scalars['String'] | null),message?: (Scalars['String'] | null),region?: (Scalars['Int'] | null),sendSms?: (Scalars['Boolean'] | null),service: NotificationInputServiceEnum,subject_id: Scalars['String'],title?: (Scalars['String'] | null),trigger: NotificationInputTriggerEnum,user_id: Scalars['String']}

export interface NotificationOutputRequest{
    ids?: boolean | number
    message?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface Participant {recipient?: (Recipient | null),regarding?: (Recipient | null)}

export interface Recipient {activity_id?: (Scalars['String'] | null),directory_user_id?: (Scalars['String'] | null),full_name?: (Scalars['String'] | null),id?: (Scalars['String'] | null),mobile_phone?: (Scalars['String'] | null),national_id?: (Scalars['String'] | null)}

export interface SmsInput {content: Scalars['String'],source: Scalars['String'],tlfmobil: Scalars['String']}

export interface SmsOutputRequest{
    success?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
export interface String_array_comparison_exp {
/** is the array contained in the given array value */
_contained_in?: (Scalars['String'][] | null),
/** does the array contain the given value */
_contains?: (Scalars['String'][] | null),_eq?: (Scalars['String'][] | null),_gt?: (Scalars['String'][] | null),_gte?: (Scalars['String'][] | null),_in?: (Scalars['String'][][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['String'][] | null),_lte?: (Scalars['String'][] | null),_neq?: (Scalars['String'][] | null),_nin?: (Scalars['String'][][] | null)}


/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
export interface String_comparison_exp {_eq?: (Scalars['String'] | null),_gt?: (Scalars['String'] | null),_gte?: (Scalars['String'] | null),
/** does the column match the given case-insensitive pattern */
_ilike?: (Scalars['String'] | null),_in?: (Scalars['String'][] | null),
/** does the column match the given POSIX regular expression, case insensitive */
_iregex?: (Scalars['String'] | null),_is_null?: (Scalars['Boolean'] | null),
/** does the column match the given pattern */
_like?: (Scalars['String'] | null),_lt?: (Scalars['String'] | null),_lte?: (Scalars['String'] | null),_neq?: (Scalars['String'] | null),
/** does the column NOT match the given case-insensitive pattern */
_nilike?: (Scalars['String'] | null),_nin?: (Scalars['String'][] | null),
/** does the column NOT match the given POSIX regular expression, case insensitive */
_niregex?: (Scalars['String'] | null),
/** does the column NOT match the given pattern */
_nlike?: (Scalars['String'] | null),
/** does the column NOT match the given POSIX regular expression, case sensitive */
_nregex?: (Scalars['String'] | null),
/** does the column NOT match the given SQL regular expression */
_nsimilar?: (Scalars['String'] | null),
/** does the column match the given POSIX regular expression, case sensitive */
_regex?: (Scalars['String'] | null),
/** does the column match the given SQL regular expression */
_similar?: (Scalars['String'] | null)}


/** columns and relationships of "accessible" */
export interface accessibleRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    templates?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templatesRequest] | templatesRequest
    /** An aggregate relationship */
    templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templates_aggregateRequest] | templates_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "accessible" */
export interface accessible_aggregateRequest{
    aggregate?: accessible_aggregate_fieldsRequest
    nodes?: accessibleRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "accessible" */
export interface accessible_aggregate_fieldsRequest{
    count?: [{columns?: (accessible_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: accessible_max_fieldsRequest
    min?: accessible_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "accessible". All fields are combined with a logical 'AND'. */
export interface accessible_bool_exp {_and?: (accessible_bool_exp[] | null),_not?: (accessible_bool_exp | null),_or?: (accessible_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),templates?: (templates_bool_exp | null),templates_aggregate?: (templates_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "accessible_enum". All fields are combined with logical 'AND'. */
export interface accessible_enum_comparison_exp {_eq?: (accessible_enum | null),_in?: (accessible_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (accessible_enum | null),_nin?: (accessible_enum[] | null)}


/** input type for inserting data into table "accessible" */
export interface accessible_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),templates?: (templates_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface accessible_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface accessible_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "accessible" */
export interface accessible_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: accessibleRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "accessible" */
export interface accessible_obj_rel_insert_input {data: accessible_insert_input,
/** upsert condition */
on_conflict?: (accessible_on_conflict | null)}


/** on_conflict condition type for table "accessible" */
export interface accessible_on_conflict {constraint: accessible_constraint,update_columns: accessible_update_column[],where?: (accessible_bool_exp | null)}


/** Ordering options when selecting data from "accessible". */
export interface accessible_order_by {comment?: (order_by | null),name?: (order_by | null),templates_aggregate?: (templates_aggregate_order_by | null)}


/** primary key columns input for table: accessible */
export interface accessible_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "accessible" */
export interface accessible_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "accessible" */
export interface accessible_stream_cursor_input {
/** Stream column input with initial value */
initial_value: accessible_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface accessible_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface accessible_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (accessible_set_input | null),
/** filter the rows which have to be updated */
where: accessible_bool_exp}


/** permissions for therapist to access recipient */
export interface adopus_AdgangLinjerRequest{
    Adgangkode?: boolean | number
    BrukerNavn?: boolean | number
    Fradato?: boolean | number
    SoknadId?: boolean | number
    Tildato?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregateRequest{
    aggregate?: adopus_AdgangLinjer_aggregate_fieldsRequest
    nodes?: adopus_AdgangLinjerRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface adopus_AdgangLinjer_aggregate_bool_exp {count?: (adopus_AdgangLinjer_aggregate_bool_exp_count | null)}

export interface adopus_AdgangLinjer_aggregate_bool_exp_count {arguments?: (adopus_AdgangLinjer_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (adopus_AdgangLinjer_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate_fieldsRequest{
    avg?: adopus_AdgangLinjer_avg_fieldsRequest
    count?: [{columns?: (adopus_AdgangLinjer_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: adopus_AdgangLinjer_max_fieldsRequest
    min?: adopus_AdgangLinjer_min_fieldsRequest
    stddev?: adopus_AdgangLinjer_stddev_fieldsRequest
    stddev_pop?: adopus_AdgangLinjer_stddev_pop_fieldsRequest
    stddev_samp?: adopus_AdgangLinjer_stddev_samp_fieldsRequest
    sum?: adopus_AdgangLinjer_sum_fieldsRequest
    var_pop?: adopus_AdgangLinjer_var_pop_fieldsRequest
    var_samp?: adopus_AdgangLinjer_var_samp_fieldsRequest
    variance?: adopus_AdgangLinjer_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate_order_by {avg?: (adopus_AdgangLinjer_avg_order_by | null),count?: (order_by | null),max?: (adopus_AdgangLinjer_max_order_by | null),min?: (adopus_AdgangLinjer_min_order_by | null),stddev?: (adopus_AdgangLinjer_stddev_order_by | null),stddev_pop?: (adopus_AdgangLinjer_stddev_pop_order_by | null),stddev_samp?: (adopus_AdgangLinjer_stddev_samp_order_by | null),sum?: (adopus_AdgangLinjer_sum_order_by | null),var_pop?: (adopus_AdgangLinjer_var_pop_order_by | null),var_samp?: (adopus_AdgangLinjer_var_samp_order_by | null),variance?: (adopus_AdgangLinjer_variance_order_by | null)}


/** input type for inserting array relation for remote table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_arr_rel_insert_input {data: adopus_AdgangLinjer_insert_input[],
/** upsert condition */
on_conflict?: (adopus_AdgangLinjer_on_conflict | null)}


/** aggregate avg on columns */
export interface adopus_AdgangLinjer_avg_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_avg_order_by {Adgangkode?: (order_by | null)}


/** Boolean expression to filter rows from the table "adopus_AdgangLinjer". All fields are combined with a logical 'AND'. */
export interface adopus_AdgangLinjer_bool_exp {Adgangkode?: (smallint_comparison_exp | null),BrukerNavn?: (String_comparison_exp | null),Fradato?: (timestamptz_comparison_exp | null),SoknadId?: (String_comparison_exp | null),Tildato?: (timestamptz_comparison_exp | null),_and?: (adopus_AdgangLinjer_bool_exp[] | null),_not?: (adopus_AdgangLinjer_bool_exp | null),_or?: (adopus_AdgangLinjer_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_inc_input {Adgangkode?: (Scalars['smallint'] | null)}


/** input type for inserting data into table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_insert_input {Adgangkode?: (Scalars['smallint'] | null),BrukerNavn?: (Scalars['String'] | null),Fradato?: (Scalars['timestamptz'] | null),SoknadId?: (Scalars['String'] | null),Tildato?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface adopus_AdgangLinjer_max_fieldsRequest{
    Adgangkode?: boolean | number
    BrukerNavn?: boolean | number
    Fradato?: boolean | number
    SoknadId?: boolean | number
    Tildato?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_max_order_by {Adgangkode?: (order_by | null),BrukerNavn?: (order_by | null),Fradato?: (order_by | null),SoknadId?: (order_by | null),Tildato?: (order_by | null),customer_id?: (order_by | null)}


/** aggregate min on columns */
export interface adopus_AdgangLinjer_min_fieldsRequest{
    Adgangkode?: boolean | number
    BrukerNavn?: boolean | number
    Fradato?: boolean | number
    SoknadId?: boolean | number
    Tildato?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_min_order_by {Adgangkode?: (order_by | null),BrukerNavn?: (order_by | null),Fradato?: (order_by | null),SoknadId?: (order_by | null),Tildato?: (order_by | null),customer_id?: (order_by | null)}


/** response of any mutation on the table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: adopus_AdgangLinjerRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_on_conflict {constraint: adopus_AdgangLinjer_constraint,update_columns: adopus_AdgangLinjer_update_column[],where?: (adopus_AdgangLinjer_bool_exp | null)}


/** Ordering options when selecting data from "adopus_AdgangLinjer". */
export interface adopus_AdgangLinjer_order_by {Adgangkode?: (order_by | null),BrukerNavn?: (order_by | null),Fradato?: (order_by | null),SoknadId?: (order_by | null),Tildato?: (order_by | null),customer_id?: (order_by | null)}


/** primary key columns input for table: adopus_AdgangLinjer */
export interface adopus_AdgangLinjer_pk_columns_input {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}


/** input type for updating data in table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_set_input {Adgangkode?: (Scalars['smallint'] | null),BrukerNavn?: (Scalars['String'] | null),Fradato?: (Scalars['timestamptz'] | null),SoknadId?: (Scalars['String'] | null),Tildato?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface adopus_AdgangLinjer_stddev_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_stddev_order_by {Adgangkode?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface adopus_AdgangLinjer_stddev_pop_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_stddev_pop_order_by {Adgangkode?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface adopus_AdgangLinjer_stddev_samp_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_stddev_samp_order_by {Adgangkode?: (order_by | null)}


/** Streaming cursor of the table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_stream_cursor_input {
/** Stream column input with initial value */
initial_value: adopus_AdgangLinjer_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface adopus_AdgangLinjer_stream_cursor_value_input {Adgangkode?: (Scalars['smallint'] | null),BrukerNavn?: (Scalars['String'] | null),Fradato?: (Scalars['timestamptz'] | null),SoknadId?: (Scalars['String'] | null),Tildato?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface adopus_AdgangLinjer_sum_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_sum_order_by {Adgangkode?: (order_by | null)}

export interface adopus_AdgangLinjer_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (adopus_AdgangLinjer_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (adopus_AdgangLinjer_set_input | null),
/** filter the rows which have to be updated */
where: adopus_AdgangLinjer_bool_exp}


/** aggregate var_pop on columns */
export interface adopus_AdgangLinjer_var_pop_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_var_pop_order_by {Adgangkode?: (order_by | null)}


/** aggregate var_samp on columns */
export interface adopus_AdgangLinjer_var_samp_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_var_samp_order_by {Adgangkode?: (order_by | null)}


/** aggregate variance on columns */
export interface adopus_AdgangLinjer_variance_fieldsRequest{
    Adgangkode?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_variance_order_by {Adgangkode?: (order_by | null)}


/** columns and relationships of "anonymous_answers" */
export interface anonymous_answersRequest{
    /** An object relationship */
    anonymous_invitation?: anonymous_invitationsRequest
    anonymous_invitation_code?: boolean | number
    /** An object relationship */
    anonymous_query?: anonymous_queriesRequest
    anonymous_query_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_answers" */
export interface anonymous_answers_aggregateRequest{
    aggregate?: anonymous_answers_aggregate_fieldsRequest
    nodes?: anonymous_answersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_answers_aggregate_bool_exp {count?: (anonymous_answers_aggregate_bool_exp_count | null)}

export interface anonymous_answers_aggregate_bool_exp_count {arguments?: (anonymous_answers_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (anonymous_answers_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "anonymous_answers" */
export interface anonymous_answers_aggregate_fieldsRequest{
    avg?: anonymous_answers_avg_fieldsRequest
    count?: [{columns?: (anonymous_answers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_answers_max_fieldsRequest
    min?: anonymous_answers_min_fieldsRequest
    stddev?: anonymous_answers_stddev_fieldsRequest
    stddev_pop?: anonymous_answers_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_answers_stddev_samp_fieldsRequest
    sum?: anonymous_answers_sum_fieldsRequest
    var_pop?: anonymous_answers_var_pop_fieldsRequest
    var_samp?: anonymous_answers_var_samp_fieldsRequest
    variance?: anonymous_answers_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "anonymous_answers" */
export interface anonymous_answers_aggregate_order_by {avg?: (anonymous_answers_avg_order_by | null),count?: (order_by | null),max?: (anonymous_answers_max_order_by | null),min?: (anonymous_answers_min_order_by | null),stddev?: (anonymous_answers_stddev_order_by | null),stddev_pop?: (anonymous_answers_stddev_pop_order_by | null),stddev_samp?: (anonymous_answers_stddev_samp_order_by | null),sum?: (anonymous_answers_sum_order_by | null),var_pop?: (anonymous_answers_var_pop_order_by | null),var_samp?: (anonymous_answers_var_samp_order_by | null),variance?: (anonymous_answers_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_answers_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "anonymous_answers" */
export interface anonymous_answers_arr_rel_insert_input {data: anonymous_answers_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_answers_on_conflict | null)}


/** aggregate avg on columns */
export interface anonymous_answers_avg_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "anonymous_answers" */
export interface anonymous_answers_avg_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** Boolean expression to filter rows from the table "anonymous_answers". All fields are combined with a logical 'AND'. */
export interface anonymous_answers_bool_exp {_and?: (anonymous_answers_bool_exp[] | null),_not?: (anonymous_answers_bool_exp | null),_or?: (anonymous_answers_bool_exp[] | null),anonymous_invitation?: (anonymous_invitations_bool_exp | null),anonymous_invitation_code?: (String_comparison_exp | null),anonymous_query?: (anonymous_queries_bool_exp | null),anonymous_query_id?: (bigint_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),id?: (bigint_comparison_exp | null),properties?: (jsonb_comparison_exp | null),region?: (String_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface anonymous_answers_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface anonymous_answers_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface anonymous_answers_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "anonymous_answers" */
export interface anonymous_answers_inc_input {anonymous_query_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_answers" */
export interface anonymous_answers_insert_input {anonymous_invitation?: (anonymous_invitations_obj_rel_insert_input | null),anonymous_invitation_code?: (Scalars['String'] | null),anonymous_query?: (anonymous_queries_obj_rel_insert_input | null),anonymous_query_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface anonymous_answers_max_fieldsRequest{
    anonymous_invitation_code?: boolean | number
    anonymous_query_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "anonymous_answers" */
export interface anonymous_answers_max_order_by {anonymous_invitation_code?: (order_by | null),anonymous_query_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface anonymous_answers_min_fieldsRequest{
    anonymous_invitation_code?: boolean | number
    anonymous_query_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "anonymous_answers" */
export interface anonymous_answers_min_order_by {anonymous_invitation_code?: (order_by | null),anonymous_query_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "anonymous_answers" */
export interface anonymous_answers_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_answersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "anonymous_answers" */
export interface anonymous_answers_on_conflict {constraint: anonymous_answers_constraint,update_columns: anonymous_answers_update_column[],where?: (anonymous_answers_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_answers". */
export interface anonymous_answers_order_by {anonymous_invitation?: (anonymous_invitations_order_by | null),anonymous_invitation_code?: (order_by | null),anonymous_query?: (anonymous_queries_order_by | null),anonymous_query_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),properties?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: anonymous_answers */
export interface anonymous_answers_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_answers_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "anonymous_answers" */
export interface anonymous_answers_set_input {anonymous_invitation_code?: (Scalars['String'] | null),anonymous_query_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface anonymous_answers_stddev_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "anonymous_answers" */
export interface anonymous_answers_stddev_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface anonymous_answers_stddev_pop_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "anonymous_answers" */
export interface anonymous_answers_stddev_pop_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface anonymous_answers_stddev_samp_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "anonymous_answers" */
export interface anonymous_answers_stddev_samp_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** Streaming cursor of the table "anonymous_answers" */
export interface anonymous_answers_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_answers_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_answers_stream_cursor_value_input {anonymous_invitation_code?: (Scalars['String'] | null),anonymous_query_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface anonymous_answers_sum_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "anonymous_answers" */
export interface anonymous_answers_sum_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}

export interface anonymous_answers_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_answers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_answers_delete_at_path_input | null),
/** 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_elem?: (anonymous_answers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_answers_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_answers_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_answers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_answers_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_answers_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_answers_var_pop_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "anonymous_answers" */
export interface anonymous_answers_var_pop_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface anonymous_answers_var_samp_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "anonymous_answers" */
export interface anonymous_answers_var_samp_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate variance on columns */
export interface anonymous_answers_variance_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "anonymous_answers" */
export interface anonymous_answers_variance_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** columns and relationships of "anonymous_invitations" */
export interface anonymous_invitationsRequest{
    /** An array relationship */
    anonymous_answers?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answersRequest] | anonymous_answersRequest
    /** An aggregate relationship */
    anonymous_answers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answers_aggregateRequest] | anonymous_answers_aggregateRequest
    /** An object relationship */
    anonymous_template?: anonymous_templatesRequest
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    invitation_code?: boolean | number
    label?: boolean | number
    updated_at?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_invitations" */
export interface anonymous_invitations_aggregateRequest{
    aggregate?: anonymous_invitations_aggregate_fieldsRequest
    nodes?: anonymous_invitationsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_invitations_aggregate_bool_exp {count?: (anonymous_invitations_aggregate_bool_exp_count | null)}

export interface anonymous_invitations_aggregate_bool_exp_count {arguments?: (anonymous_invitations_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (anonymous_invitations_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "anonymous_invitations" */
export interface anonymous_invitations_aggregate_fieldsRequest{
    avg?: anonymous_invitations_avg_fieldsRequest
    count?: [{columns?: (anonymous_invitations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_invitations_max_fieldsRequest
    min?: anonymous_invitations_min_fieldsRequest
    stddev?: anonymous_invitations_stddev_fieldsRequest
    stddev_pop?: anonymous_invitations_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_invitations_stddev_samp_fieldsRequest
    sum?: anonymous_invitations_sum_fieldsRequest
    var_pop?: anonymous_invitations_var_pop_fieldsRequest
    var_samp?: anonymous_invitations_var_samp_fieldsRequest
    variance?: anonymous_invitations_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "anonymous_invitations" */
export interface anonymous_invitations_aggregate_order_by {avg?: (anonymous_invitations_avg_order_by | null),count?: (order_by | null),max?: (anonymous_invitations_max_order_by | null),min?: (anonymous_invitations_min_order_by | null),stddev?: (anonymous_invitations_stddev_order_by | null),stddev_pop?: (anonymous_invitations_stddev_pop_order_by | null),stddev_samp?: (anonymous_invitations_stddev_samp_order_by | null),sum?: (anonymous_invitations_sum_order_by | null),var_pop?: (anonymous_invitations_var_pop_order_by | null),var_samp?: (anonymous_invitations_var_samp_order_by | null),variance?: (anonymous_invitations_variance_order_by | null)}


/** input type for inserting array relation for remote table "anonymous_invitations" */
export interface anonymous_invitations_arr_rel_insert_input {data: anonymous_invitations_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}


/** aggregate avg on columns */
export interface anonymous_invitations_avg_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_avg_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** Boolean expression to filter rows from the table "anonymous_invitations". All fields are combined with a logical 'AND'. */
export interface anonymous_invitations_bool_exp {_and?: (anonymous_invitations_bool_exp[] | null),_not?: (anonymous_invitations_bool_exp | null),_or?: (anonymous_invitations_bool_exp[] | null),anonymous_answers?: (anonymous_answers_bool_exp | null),anonymous_answers_aggregate?: (anonymous_answers_aggregate_bool_exp | null),anonymous_template?: (anonymous_templates_bool_exp | null),anonymous_template_id?: (bigint_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),id?: (bigint_comparison_exp | null),invitation_code?: (String_comparison_exp | null),label?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),valid_from?: (timestamptz_comparison_exp | null),valid_to?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "anonymous_invitations" */
export interface anonymous_invitations_inc_input {anonymous_template_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_invitations" */
export interface anonymous_invitations_insert_input {anonymous_answers?: (anonymous_answers_arr_rel_insert_input | null),anonymous_template?: (anonymous_templates_obj_rel_insert_input | null),anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),invitation_code?: (Scalars['String'] | null),label?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_from?: (Scalars['timestamptz'] | null),valid_to?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface anonymous_invitations_max_fieldsRequest{
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    invitation_code?: boolean | number
    label?: boolean | number
    updated_at?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_max_order_by {anonymous_template_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),invitation_code?: (order_by | null),label?: (order_by | null),updated_at?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** aggregate min on columns */
export interface anonymous_invitations_min_fieldsRequest{
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    invitation_code?: boolean | number
    label?: boolean | number
    updated_at?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_min_order_by {anonymous_template_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),invitation_code?: (order_by | null),label?: (order_by | null),updated_at?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** response of any mutation on the table "anonymous_invitations" */
export interface anonymous_invitations_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_invitationsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "anonymous_invitations" */
export interface anonymous_invitations_obj_rel_insert_input {data: anonymous_invitations_insert_input,
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}


/** on_conflict condition type for table "anonymous_invitations" */
export interface anonymous_invitations_on_conflict {constraint: anonymous_invitations_constraint,update_columns: anonymous_invitations_update_column[],where?: (anonymous_invitations_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_invitations". */
export interface anonymous_invitations_order_by {anonymous_answers_aggregate?: (anonymous_answers_aggregate_order_by | null),anonymous_template?: (anonymous_templates_order_by | null),anonymous_template_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),invitation_code?: (order_by | null),label?: (order_by | null),updated_at?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** primary key columns input for table: anonymous_invitations */
export interface anonymous_invitations_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "anonymous_invitations" */
export interface anonymous_invitations_set_input {anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),invitation_code?: (Scalars['String'] | null),label?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_from?: (Scalars['timestamptz'] | null),valid_to?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface anonymous_invitations_stddev_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_stddev_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface anonymous_invitations_stddev_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_stddev_pop_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface anonymous_invitations_stddev_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_stddev_samp_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** Streaming cursor of the table "anonymous_invitations" */
export interface anonymous_invitations_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_invitations_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_invitations_stream_cursor_value_input {anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),invitation_code?: (Scalars['String'] | null),label?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_from?: (Scalars['timestamptz'] | null),valid_to?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface anonymous_invitations_sum_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_sum_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}

export interface anonymous_invitations_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_invitations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_invitations_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_invitations_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_invitations_var_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_var_pop_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface anonymous_invitations_var_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_var_samp_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate variance on columns */
export interface anonymous_invitations_variance_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "anonymous_invitations" */
export interface anonymous_invitations_variance_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** columns and relationships of "anonymous_queries" */
export interface anonymous_queriesRequest{
    /** An array relationship */
    anonymous_answers?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answersRequest] | anonymous_answersRequest
    /** An aggregate relationship */
    anonymous_answers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answers_aggregateRequest] | anonymous_answers_aggregateRequest
    /** An array relationship */
    anonymous_sms?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_smsRequest] | anonymous_smsRequest
    /** An aggregate relationship */
    anonymous_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_sms_aggregateRequest] | anonymous_sms_aggregateRequest
    /** An object relationship */
    anonymous_template?: anonymous_templatesRequest
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_queries" */
export interface anonymous_queries_aggregateRequest{
    aggregate?: anonymous_queries_aggregate_fieldsRequest
    nodes?: anonymous_queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_queries_aggregate_bool_exp {count?: (anonymous_queries_aggregate_bool_exp_count | null)}

export interface anonymous_queries_aggregate_bool_exp_count {arguments?: (anonymous_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (anonymous_queries_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "anonymous_queries" */
export interface anonymous_queries_aggregate_fieldsRequest{
    avg?: anonymous_queries_avg_fieldsRequest
    count?: [{columns?: (anonymous_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_queries_max_fieldsRequest
    min?: anonymous_queries_min_fieldsRequest
    stddev?: anonymous_queries_stddev_fieldsRequest
    stddev_pop?: anonymous_queries_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_queries_stddev_samp_fieldsRequest
    sum?: anonymous_queries_sum_fieldsRequest
    var_pop?: anonymous_queries_var_pop_fieldsRequest
    var_samp?: anonymous_queries_var_samp_fieldsRequest
    variance?: anonymous_queries_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "anonymous_queries" */
export interface anonymous_queries_aggregate_order_by {avg?: (anonymous_queries_avg_order_by | null),count?: (order_by | null),max?: (anonymous_queries_max_order_by | null),min?: (anonymous_queries_min_order_by | null),stddev?: (anonymous_queries_stddev_order_by | null),stddev_pop?: (anonymous_queries_stddev_pop_order_by | null),stddev_samp?: (anonymous_queries_stddev_samp_order_by | null),sum?: (anonymous_queries_sum_order_by | null),var_pop?: (anonymous_queries_var_pop_order_by | null),var_samp?: (anonymous_queries_var_samp_order_by | null),variance?: (anonymous_queries_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_queries_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "anonymous_queries" */
export interface anonymous_queries_arr_rel_insert_input {data: anonymous_queries_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}


/** aggregate avg on columns */
export interface anonymous_queries_avg_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "anonymous_queries" */
export interface anonymous_queries_avg_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** Boolean expression to filter rows from the table "anonymous_queries". All fields are combined with a logical 'AND'. */
export interface anonymous_queries_bool_exp {_and?: (anonymous_queries_bool_exp[] | null),_not?: (anonymous_queries_bool_exp | null),_or?: (anonymous_queries_bool_exp[] | null),anonymous_answers?: (anonymous_answers_bool_exp | null),anonymous_answers_aggregate?: (anonymous_answers_aggregate_bool_exp | null),anonymous_sms?: (anonymous_sms_bool_exp | null),anonymous_sms_aggregate?: (anonymous_sms_aggregate_bool_exp | null),anonymous_template?: (anonymous_templates_bool_exp | null),anonymous_template_id?: (bigint_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),id?: (bigint_comparison_exp | null),properties?: (jsonb_comparison_exp | null),region?: (String_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface anonymous_queries_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface anonymous_queries_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface anonymous_queries_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "anonymous_queries" */
export interface anonymous_queries_inc_input {anonymous_template_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_queries" */
export interface anonymous_queries_insert_input {anonymous_answers?: (anonymous_answers_arr_rel_insert_input | null),anonymous_sms?: (anonymous_sms_arr_rel_insert_input | null),anonymous_template?: (anonymous_templates_obj_rel_insert_input | null),anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface anonymous_queries_max_fieldsRequest{
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "anonymous_queries" */
export interface anonymous_queries_max_order_by {anonymous_template_id?: (order_by | null),created_at?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface anonymous_queries_min_fieldsRequest{
    anonymous_template_id?: boolean | number
    created_at?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "anonymous_queries" */
export interface anonymous_queries_min_order_by {anonymous_template_id?: (order_by | null),created_at?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "anonymous_queries" */
export interface anonymous_queries_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "anonymous_queries" */
export interface anonymous_queries_obj_rel_insert_input {data: anonymous_queries_insert_input,
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}


/** on_conflict condition type for table "anonymous_queries" */
export interface anonymous_queries_on_conflict {constraint: anonymous_queries_constraint,update_columns: anonymous_queries_update_column[],where?: (anonymous_queries_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_queries". */
export interface anonymous_queries_order_by {anonymous_answers_aggregate?: (anonymous_answers_aggregate_order_by | null),anonymous_sms_aggregate?: (anonymous_sms_aggregate_order_by | null),anonymous_template?: (anonymous_templates_order_by | null),anonymous_template_id?: (order_by | null),created_at?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),properties?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: anonymous_queries */
export interface anonymous_queries_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_queries_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "anonymous_queries" */
export interface anonymous_queries_set_input {anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface anonymous_queries_stddev_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "anonymous_queries" */
export interface anonymous_queries_stddev_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface anonymous_queries_stddev_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "anonymous_queries" */
export interface anonymous_queries_stddev_pop_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface anonymous_queries_stddev_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "anonymous_queries" */
export interface anonymous_queries_stddev_samp_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** Streaming cursor of the table "anonymous_queries" */
export interface anonymous_queries_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_queries_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_queries_stream_cursor_value_input {anonymous_template_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface anonymous_queries_sum_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "anonymous_queries" */
export interface anonymous_queries_sum_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}

export interface anonymous_queries_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_queries_delete_at_path_input | null),
/** 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_elem?: (anonymous_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_queries_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_queries_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_queries_var_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "anonymous_queries" */
export interface anonymous_queries_var_pop_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface anonymous_queries_var_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "anonymous_queries" */
export interface anonymous_queries_var_samp_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** aggregate variance on columns */
export interface anonymous_queries_variance_fieldsRequest{
    anonymous_template_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "anonymous_queries" */
export interface anonymous_queries_variance_order_by {anonymous_template_id?: (order_by | null),id?: (order_by | null)}


/** columns and relationships of "anonymous_sms" */
export interface anonymous_smsRequest{
    /** An object relationship */
    anonymous_query?: anonymous_queriesRequest
    anonymous_query_id?: boolean | number
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    region?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_sms" */
export interface anonymous_sms_aggregateRequest{
    aggregate?: anonymous_sms_aggregate_fieldsRequest
    nodes?: anonymous_smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_sms_aggregate_bool_exp {count?: (anonymous_sms_aggregate_bool_exp_count | null)}

export interface anonymous_sms_aggregate_bool_exp_count {arguments?: (anonymous_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (anonymous_sms_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "anonymous_sms" */
export interface anonymous_sms_aggregate_fieldsRequest{
    avg?: anonymous_sms_avg_fieldsRequest
    count?: [{columns?: (anonymous_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_sms_max_fieldsRequest
    min?: anonymous_sms_min_fieldsRequest
    stddev?: anonymous_sms_stddev_fieldsRequest
    stddev_pop?: anonymous_sms_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_sms_stddev_samp_fieldsRequest
    sum?: anonymous_sms_sum_fieldsRequest
    var_pop?: anonymous_sms_var_pop_fieldsRequest
    var_samp?: anonymous_sms_var_samp_fieldsRequest
    variance?: anonymous_sms_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "anonymous_sms" */
export interface anonymous_sms_aggregate_order_by {avg?: (anonymous_sms_avg_order_by | null),count?: (order_by | null),max?: (anonymous_sms_max_order_by | null),min?: (anonymous_sms_min_order_by | null),stddev?: (anonymous_sms_stddev_order_by | null),stddev_pop?: (anonymous_sms_stddev_pop_order_by | null),stddev_samp?: (anonymous_sms_stddev_samp_order_by | null),sum?: (anonymous_sms_sum_order_by | null),var_pop?: (anonymous_sms_var_pop_order_by | null),var_samp?: (anonymous_sms_var_samp_order_by | null),variance?: (anonymous_sms_variance_order_by | null)}


/** input type for inserting array relation for remote table "anonymous_sms" */
export interface anonymous_sms_arr_rel_insert_input {data: anonymous_sms_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_sms_on_conflict | null)}


/** aggregate avg on columns */
export interface anonymous_sms_avg_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "anonymous_sms" */
export interface anonymous_sms_avg_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** Boolean expression to filter rows from the table "anonymous_sms". All fields are combined with a logical 'AND'. */
export interface anonymous_sms_bool_exp {_and?: (anonymous_sms_bool_exp[] | null),_not?: (anonymous_sms_bool_exp | null),_or?: (anonymous_sms_bool_exp[] | null),anonymous_query?: (anonymous_queries_bool_exp | null),anonymous_query_id?: (bigint_comparison_exp | null),content?: (String_comparison_exp | null),create_user?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),id?: (bigint_comparison_exp | null),message_id?: (String_comparison_exp | null),region?: (String_comparison_exp | null),soknad_id?: (String_comparison_exp | null),tlfmobil?: (String_comparison_exp | null),uid?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "anonymous_sms" */
export interface anonymous_sms_inc_input {anonymous_query_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_sms" */
export interface anonymous_sms_insert_input {anonymous_query?: (anonymous_queries_obj_rel_insert_input | null),anonymous_query_id?: (Scalars['bigint'] | null),content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),region?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface anonymous_sms_max_fieldsRequest{
    anonymous_query_id?: boolean | number
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    region?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "anonymous_sms" */
export interface anonymous_sms_max_order_by {anonymous_query_id?: (order_by | null),content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),region?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface anonymous_sms_min_fieldsRequest{
    anonymous_query_id?: boolean | number
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    region?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "anonymous_sms" */
export interface anonymous_sms_min_order_by {anonymous_query_id?: (order_by | null),content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),region?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "anonymous_sms" */
export interface anonymous_sms_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "anonymous_sms" */
export interface anonymous_sms_on_conflict {constraint: anonymous_sms_constraint,update_columns: anonymous_sms_update_column[],where?: (anonymous_sms_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_sms". */
export interface anonymous_sms_order_by {anonymous_query?: (anonymous_queries_order_by | null),anonymous_query_id?: (order_by | null),content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),region?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: anonymous_sms */
export interface anonymous_sms_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "anonymous_sms" */
export interface anonymous_sms_set_input {anonymous_query_id?: (Scalars['bigint'] | null),content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),region?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface anonymous_sms_stddev_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "anonymous_sms" */
export interface anonymous_sms_stddev_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface anonymous_sms_stddev_pop_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "anonymous_sms" */
export interface anonymous_sms_stddev_pop_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface anonymous_sms_stddev_samp_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "anonymous_sms" */
export interface anonymous_sms_stddev_samp_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** Streaming cursor of the table "anonymous_sms" */
export interface anonymous_sms_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_sms_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_sms_stream_cursor_value_input {anonymous_query_id?: (Scalars['bigint'] | null),content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),region?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface anonymous_sms_sum_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "anonymous_sms" */
export interface anonymous_sms_sum_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}

export interface anonymous_sms_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_sms_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_sms_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_sms_var_pop_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "anonymous_sms" */
export interface anonymous_sms_var_pop_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface anonymous_sms_var_samp_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "anonymous_sms" */
export interface anonymous_sms_var_samp_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** aggregate variance on columns */
export interface anonymous_sms_variance_fieldsRequest{
    anonymous_query_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "anonymous_sms" */
export interface anonymous_sms_variance_order_by {anonymous_query_id?: (order_by | null),id?: (order_by | null)}


/** columns and relationships of "anonymous_template_question" */
export interface anonymous_template_questionRequest{
    /** An object relationship */
    anonymous_template?: anonymous_templatesRequest
    anonymous_template_id?: boolean | number
    description?: boolean | number
    narrative?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    position?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    question?: questionsRequest
    question_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_template_question" */
export interface anonymous_template_question_aggregateRequest{
    aggregate?: anonymous_template_question_aggregate_fieldsRequest
    nodes?: anonymous_template_questionRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_template_question_aggregate_bool_exp {count?: (anonymous_template_question_aggregate_bool_exp_count | null)}

export interface anonymous_template_question_aggregate_bool_exp_count {arguments?: (anonymous_template_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (anonymous_template_question_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "anonymous_template_question" */
export interface anonymous_template_question_aggregate_fieldsRequest{
    avg?: anonymous_template_question_avg_fieldsRequest
    count?: [{columns?: (anonymous_template_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_template_question_max_fieldsRequest
    min?: anonymous_template_question_min_fieldsRequest
    stddev?: anonymous_template_question_stddev_fieldsRequest
    stddev_pop?: anonymous_template_question_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_template_question_stddev_samp_fieldsRequest
    sum?: anonymous_template_question_sum_fieldsRequest
    var_pop?: anonymous_template_question_var_pop_fieldsRequest
    var_samp?: anonymous_template_question_var_samp_fieldsRequest
    variance?: anonymous_template_question_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "anonymous_template_question" */
export interface anonymous_template_question_aggregate_order_by {avg?: (anonymous_template_question_avg_order_by | null),count?: (order_by | null),max?: (anonymous_template_question_max_order_by | null),min?: (anonymous_template_question_min_order_by | null),stddev?: (anonymous_template_question_stddev_order_by | null),stddev_pop?: (anonymous_template_question_stddev_pop_order_by | null),stddev_samp?: (anonymous_template_question_stddev_samp_order_by | null),sum?: (anonymous_template_question_sum_order_by | null),var_pop?: (anonymous_template_question_var_pop_order_by | null),var_samp?: (anonymous_template_question_var_samp_order_by | null),variance?: (anonymous_template_question_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_template_question_append_input {narrative?: (Scalars['jsonb'] | null),properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "anonymous_template_question" */
export interface anonymous_template_question_arr_rel_insert_input {data: anonymous_template_question_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_template_question_on_conflict | null)}


/** aggregate avg on columns */
export interface anonymous_template_question_avg_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_avg_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "anonymous_template_question". All fields are combined with a logical 'AND'. */
export interface anonymous_template_question_bool_exp {_and?: (anonymous_template_question_bool_exp[] | null),_not?: (anonymous_template_question_bool_exp | null),_or?: (anonymous_template_question_bool_exp[] | null),anonymous_template?: (anonymous_templates_bool_exp | null),anonymous_template_id?: (bigint_comparison_exp | null),description?: (String_comparison_exp | null),narrative?: (jsonb_comparison_exp | null),position?: (bigint_comparison_exp | null),properties?: (jsonb_comparison_exp | null),question?: (questions_bool_exp | null),question_id?: (bigint_comparison_exp | null),title?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface anonymous_template_question_delete_at_path_input {narrative?: (Scalars['String'][] | null),properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface anonymous_template_question_delete_elem_input {narrative?: (Scalars['Int'] | null),properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface anonymous_template_question_delete_key_input {narrative?: (Scalars['String'] | null),properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "anonymous_template_question" */
export interface anonymous_template_question_inc_input {anonymous_template_id?: (Scalars['bigint'] | null),position?: (Scalars['bigint'] | null),question_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_template_question" */
export interface anonymous_template_question_insert_input {anonymous_template?: (anonymous_templates_obj_rel_insert_input | null),anonymous_template_id?: (Scalars['bigint'] | null),description?: (Scalars['String'] | null),narrative?: (Scalars['jsonb'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question?: (questions_obj_rel_insert_input | null),question_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface anonymous_template_question_max_fieldsRequest{
    anonymous_template_id?: boolean | number
    description?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_max_order_by {anonymous_template_id?: (order_by | null),description?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null),title?: (order_by | null)}


/** aggregate min on columns */
export interface anonymous_template_question_min_fieldsRequest{
    anonymous_template_id?: boolean | number
    description?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_min_order_by {anonymous_template_id?: (order_by | null),description?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null),title?: (order_by | null)}


/** response of any mutation on the table "anonymous_template_question" */
export interface anonymous_template_question_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_template_questionRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "anonymous_template_question" */
export interface anonymous_template_question_on_conflict {constraint: anonymous_template_question_constraint,update_columns: anonymous_template_question_update_column[],where?: (anonymous_template_question_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_template_question". */
export interface anonymous_template_question_order_by {anonymous_template?: (anonymous_templates_order_by | null),anonymous_template_id?: (order_by | null),description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),properties?: (order_by | null),question?: (questions_order_by | null),question_id?: (order_by | null),title?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_template_question_prepend_input {narrative?: (Scalars['jsonb'] | null),properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "anonymous_template_question" */
export interface anonymous_template_question_set_input {anonymous_template_id?: (Scalars['bigint'] | null),description?: (Scalars['String'] | null),narrative?: (Scalars['jsonb'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface anonymous_template_question_stddev_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_stddev_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface anonymous_template_question_stddev_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_stddev_pop_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface anonymous_template_question_stddev_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_stddev_samp_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** Streaming cursor of the table "anonymous_template_question" */
export interface anonymous_template_question_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_template_question_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_template_question_stream_cursor_value_input {anonymous_template_id?: (Scalars['bigint'] | null),description?: (Scalars['String'] | null),narrative?: (Scalars['jsonb'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface anonymous_template_question_sum_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_sum_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}

export interface anonymous_template_question_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_template_question_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_template_question_delete_at_path_input | null),
/** 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_elem?: (anonymous_template_question_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_template_question_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_template_question_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_template_question_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_template_question_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_template_question_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_template_question_var_pop_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_var_pop_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface anonymous_template_question_var_samp_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_var_samp_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** aggregate variance on columns */
export interface anonymous_template_question_variance_fieldsRequest{
    anonymous_template_id?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "anonymous_template_question" */
export interface anonymous_template_question_variance_order_by {anonymous_template_id?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null)}


/** columns and relationships of "anonymous_templates" */
export interface anonymous_templatesRequest{
    /** An array relationship */
    anonymous_queries?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queriesRequest] | anonymous_queriesRequest
    /** An aggregate relationship */
    anonymous_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queries_aggregateRequest] | anonymous_queries_aggregateRequest
    /** An array relationship */
    anonymous_template_questions?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_questionRequest] | anonymous_template_questionRequest
    /** An aggregate relationship */
    anonymous_template_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_question_aggregateRequest] | anonymous_template_question_aggregateRequest
    attributes?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An object relationship */
    directory_customer?: directory_customersRequest
    id?: boolean | number
    /** An array relationship */
    invitation_codes?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitationsRequest] | anonymous_invitationsRequest
    /** An aggregate relationship */
    invitation_codes_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitations_aggregateRequest] | anonymous_invitations_aggregateRequest
    region?: boolean | number
    template_uuid?: boolean | number
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "anonymous_templates" */
export interface anonymous_templates_aggregateRequest{
    aggregate?: anonymous_templates_aggregate_fieldsRequest
    nodes?: anonymous_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "anonymous_templates" */
export interface anonymous_templates_aggregate_fieldsRequest{
    avg?: anonymous_templates_avg_fieldsRequest
    count?: [{columns?: (anonymous_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: anonymous_templates_max_fieldsRequest
    min?: anonymous_templates_min_fieldsRequest
    stddev?: anonymous_templates_stddev_fieldsRequest
    stddev_pop?: anonymous_templates_stddev_pop_fieldsRequest
    stddev_samp?: anonymous_templates_stddev_samp_fieldsRequest
    sum?: anonymous_templates_sum_fieldsRequest
    var_pop?: anonymous_templates_var_pop_fieldsRequest
    var_samp?: anonymous_templates_var_samp_fieldsRequest
    variance?: anonymous_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_templates_append_input {attributes?: (Scalars['jsonb'] | null)}


/** aggregate avg on columns */
export interface anonymous_templates_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "anonymous_templates". All fields are combined with a logical 'AND'. */
export interface anonymous_templates_bool_exp {_and?: (anonymous_templates_bool_exp[] | null),_not?: (anonymous_templates_bool_exp | null),_or?: (anonymous_templates_bool_exp[] | null),anonymous_queries?: (anonymous_queries_bool_exp | null),anonymous_queries_aggregate?: (anonymous_queries_aggregate_bool_exp | null),anonymous_template_questions?: (anonymous_template_question_bool_exp | null),anonymous_template_questions_aggregate?: (anonymous_template_question_aggregate_bool_exp | null),attributes?: (jsonb_comparison_exp | null),context?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directory_customer?: (directory_customers_bool_exp | null),id?: (bigint_comparison_exp | null),invitation_codes?: (anonymous_invitations_bool_exp | null),invitation_codes_aggregate?: (anonymous_invitations_aggregate_bool_exp | null),region?: (String_comparison_exp | null),template_uuid?: (uuid_comparison_exp | null),therapist_role?: (String_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface anonymous_templates_delete_at_path_input {attributes?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface anonymous_templates_delete_elem_input {attributes?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface anonymous_templates_delete_key_input {attributes?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "anonymous_templates" */
export interface anonymous_templates_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "anonymous_templates" */
export interface anonymous_templates_insert_input {anonymous_queries?: (anonymous_queries_arr_rel_insert_input | null),anonymous_template_questions?: (anonymous_template_question_arr_rel_insert_input | null),attributes?: (Scalars['jsonb'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),directory_customer?: (directory_customers_obj_rel_insert_input | null),id?: (Scalars['bigint'] | null),invitation_codes?: (anonymous_invitations_arr_rel_insert_input | null),region?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null),therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface anonymous_templates_max_fieldsRequest{
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    template_uuid?: boolean | number
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface anonymous_templates_min_fieldsRequest{
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    region?: boolean | number
    template_uuid?: boolean | number
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "anonymous_templates" */
export interface anonymous_templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: anonymous_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "anonymous_templates" */
export interface anonymous_templates_obj_rel_insert_input {data: anonymous_templates_insert_input,
/** upsert condition */
on_conflict?: (anonymous_templates_on_conflict | null)}


/** on_conflict condition type for table "anonymous_templates" */
export interface anonymous_templates_on_conflict {constraint: anonymous_templates_constraint,update_columns: anonymous_templates_update_column[],where?: (anonymous_templates_bool_exp | null)}


/** Ordering options when selecting data from "anonymous_templates". */
export interface anonymous_templates_order_by {anonymous_queries_aggregate?: (anonymous_queries_aggregate_order_by | null),anonymous_template_questions_aggregate?: (anonymous_template_question_aggregate_order_by | null),attributes?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),directory_customer?: (directory_customers_order_by | null),id?: (order_by | null),invitation_codes_aggregate?: (anonymous_invitations_aggregate_order_by | null),region?: (order_by | null),template_uuid?: (order_by | null),therapist_role?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: anonymous_templates */
export interface anonymous_templates_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface anonymous_templates_prepend_input {attributes?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "anonymous_templates" */
export interface anonymous_templates_set_input {attributes?: (Scalars['jsonb'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null),therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface anonymous_templates_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface anonymous_templates_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface anonymous_templates_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "anonymous_templates" */
export interface anonymous_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: anonymous_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface anonymous_templates_stream_cursor_value_input {attributes?: (Scalars['jsonb'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null),therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface anonymous_templates_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface anonymous_templates_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_templates_delete_at_path_input | null),
/** 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_elem?: (anonymous_templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_templates_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_templates_bool_exp}


/** aggregate var_pop on columns */
export interface anonymous_templates_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface anonymous_templates_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface anonymous_templates_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface artifactPackageRequest{
    deleted_at?: boolean | number
    id?: boolean | number
    rruleset?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcelRequest{
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_package_id?: boolean | number
    /** An object relationship */
    artifact_parcel?: artifact_parcelsRequest
    artifact_parcel_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregateRequest{
    aggregate?: artifact_package_artifact_parcel_aggregate_fieldsRequest
    nodes?: artifact_package_artifact_parcelRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface artifact_package_artifact_parcel_aggregate_bool_exp {count?: (artifact_package_artifact_parcel_aggregate_bool_exp_count | null)}

export interface artifact_package_artifact_parcel_aggregate_bool_exp_count {arguments?: (artifact_package_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (artifact_package_artifact_parcel_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate_fieldsRequest{
    count?: [{columns?: (artifact_package_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: artifact_package_artifact_parcel_max_fieldsRequest
    min?: artifact_package_artifact_parcel_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate_order_by {count?: (order_by | null),max?: (artifact_package_artifact_parcel_max_order_by | null),min?: (artifact_package_artifact_parcel_min_order_by | null)}


/** input type for inserting array relation for remote table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_arr_rel_insert_input {data: artifact_package_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)}


/** Boolean expression to filter rows from the table "artifact_package_artifact_parcel". All fields are combined with a logical 'AND'. */
export interface artifact_package_artifact_parcel_bool_exp {_and?: (artifact_package_artifact_parcel_bool_exp[] | null),_not?: (artifact_package_artifact_parcel_bool_exp | null),_or?: (artifact_package_artifact_parcel_bool_exp[] | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_package_id?: (uuid_comparison_exp | null),artifact_parcel?: (artifact_parcels_bool_exp | null),artifact_parcel_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_insert_input {artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_package_id?: (Scalars['uuid'] | null),artifact_parcel?: (artifact_parcels_obj_rel_insert_input | null),artifact_parcel_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface artifact_package_artifact_parcel_max_fieldsRequest{
    artifact_package_id?: boolean | number
    artifact_parcel_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_max_order_by {artifact_package_id?: (order_by | null),artifact_parcel_id?: (order_by | null)}


/** aggregate min on columns */
export interface artifact_package_artifact_parcel_min_fieldsRequest{
    artifact_package_id?: boolean | number
    artifact_parcel_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_min_order_by {artifact_package_id?: (order_by | null),artifact_parcel_id?: (order_by | null)}


/** response of any mutation on the table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: artifact_package_artifact_parcelRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_on_conflict {constraint: artifact_package_artifact_parcel_constraint,update_columns: artifact_package_artifact_parcel_update_column[],where?: (artifact_package_artifact_parcel_bool_exp | null)}


/** Ordering options when selecting data from "artifact_package_artifact_parcel". */
export interface artifact_package_artifact_parcel_order_by {artifact_package?: (artifact_packages_order_by | null),artifact_package_id?: (order_by | null),artifact_parcel?: (artifact_parcels_order_by | null),artifact_parcel_id?: (order_by | null)}


/** primary key columns input for table: artifact_package_artifact_parcel */
export interface artifact_package_artifact_parcel_pk_columns_input {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}


/** input type for updating data in table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_set_input {artifact_package_id?: (Scalars['uuid'] | null),artifact_parcel_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_stream_cursor_input {
/** Stream column input with initial value */
initial_value: artifact_package_artifact_parcel_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface artifact_package_artifact_parcel_stream_cursor_value_input {artifact_package_id?: (Scalars['uuid'] | null),artifact_parcel_id?: (Scalars['uuid'] | null)}

export interface artifact_package_artifact_parcel_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_artifact_parcel_bool_exp}


/** columns and relationships of "artifact_package_cron" */
export interface artifact_package_cronRequest{
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_packages_id?: boolean | number
    cron_end_schedule_id?: boolean | number
    cron_start_schedule_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "artifact_package_cron" */
export interface artifact_package_cron_aggregateRequest{
    aggregate?: artifact_package_cron_aggregate_fieldsRequest
    nodes?: artifact_package_cronRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "artifact_package_cron" */
export interface artifact_package_cron_aggregate_fieldsRequest{
    count?: [{columns?: (artifact_package_cron_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: artifact_package_cron_max_fieldsRequest
    min?: artifact_package_cron_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "artifact_package_cron". All fields are combined with a logical 'AND'. */
export interface artifact_package_cron_bool_exp {_and?: (artifact_package_cron_bool_exp[] | null),_not?: (artifact_package_cron_bool_exp | null),_or?: (artifact_package_cron_bool_exp[] | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_packages_id?: (uuid_comparison_exp | null),cron_end_schedule_id?: (uuid_comparison_exp | null),cron_start_schedule_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "artifact_package_cron" */
export interface artifact_package_cron_insert_input {artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_packages_id?: (Scalars['uuid'] | null),cron_end_schedule_id?: (Scalars['uuid'] | null),cron_start_schedule_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface artifact_package_cron_max_fieldsRequest{
    artifact_packages_id?: boolean | number
    cron_end_schedule_id?: boolean | number
    cron_start_schedule_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface artifact_package_cron_min_fieldsRequest{
    artifact_packages_id?: boolean | number
    cron_end_schedule_id?: boolean | number
    cron_start_schedule_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "artifact_package_cron" */
export interface artifact_package_cron_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: artifact_package_cronRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "artifact_package_cron" */
export interface artifact_package_cron_obj_rel_insert_input {data: artifact_package_cron_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_cron_on_conflict | null)}


/** on_conflict condition type for table "artifact_package_cron" */
export interface artifact_package_cron_on_conflict {constraint: artifact_package_cron_constraint,update_columns: artifact_package_cron_update_column[],where?: (artifact_package_cron_bool_exp | null)}


/** Ordering options when selecting data from "artifact_package_cron". */
export interface artifact_package_cron_order_by {artifact_package?: (artifact_packages_order_by | null),artifact_packages_id?: (order_by | null),cron_end_schedule_id?: (order_by | null),cron_start_schedule_id?: (order_by | null)}


/** primary key columns input for table: artifact_package_cron */
export interface artifact_package_cron_pk_columns_input {artifact_packages_id: Scalars['uuid']}


/** input type for updating data in table "artifact_package_cron" */
export interface artifact_package_cron_set_input {artifact_packages_id?: (Scalars['uuid'] | null),cron_end_schedule_id?: (Scalars['uuid'] | null),cron_start_schedule_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "artifact_package_cron" */
export interface artifact_package_cron_stream_cursor_input {
/** Stream column input with initial value */
initial_value: artifact_package_cron_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface artifact_package_cron_stream_cursor_value_input {artifact_packages_id?: (Scalars['uuid'] | null),cron_end_schedule_id?: (Scalars['uuid'] | null),cron_start_schedule_id?: (Scalars['uuid'] | null)}

export interface artifact_package_cron_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_cron_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_cron_bool_exp}


/** A table that store all documents, queries and artifact packages for outbox page */
export interface artifact_package_groupsRequest{
    archived?: boolean | number
    /** An array relationship */
    artifact_packages?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packagesRequest] | artifact_packagesRequest
    /** An aggregate relationship */
    artifact_packages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packages_aggregateRequest] | artifact_packages_aggregateRequest
    created_at?: boolean | number
    created_by?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    file_count?: boolean | number
    id?: boolean | number
    query_count?: boolean | number
    title?: boolean | number
    title_changed?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "artifact_package_groups" */
export interface artifact_package_groups_aggregateRequest{
    aggregate?: artifact_package_groups_aggregate_fieldsRequest
    nodes?: artifact_package_groupsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "artifact_package_groups" */
export interface artifact_package_groups_aggregate_fieldsRequest{
    avg?: artifact_package_groups_avg_fieldsRequest
    count?: [{columns?: (artifact_package_groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: artifact_package_groups_max_fieldsRequest
    min?: artifact_package_groups_min_fieldsRequest
    stddev?: artifact_package_groups_stddev_fieldsRequest
    stddev_pop?: artifact_package_groups_stddev_pop_fieldsRequest
    stddev_samp?: artifact_package_groups_stddev_samp_fieldsRequest
    sum?: artifact_package_groups_sum_fieldsRequest
    var_pop?: artifact_package_groups_var_pop_fieldsRequest
    var_samp?: artifact_package_groups_var_samp_fieldsRequest
    variance?: artifact_package_groups_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface artifact_package_groups_avg_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "artifact_package_groups". All fields are combined with a logical 'AND'. */
export interface artifact_package_groups_bool_exp {_and?: (artifact_package_groups_bool_exp[] | null),_not?: (artifact_package_groups_bool_exp | null),_or?: (artifact_package_groups_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),artifact_packages?: (artifact_packages_bool_exp | null),artifact_packages_aggregate?: (artifact_packages_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),created_by?: (uuid_comparison_exp | null),created_by_name?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),file_count?: (Int_comparison_exp | null),id?: (uuid_comparison_exp | null),query_count?: (Int_comparison_exp | null),title?: (String_comparison_exp | null),title_changed?: (Boolean_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (uuid_comparison_exp | null),user_count?: (Int_comparison_exp | null)}


/** input type for incrementing numeric columns in table "artifact_package_groups" */
export interface artifact_package_groups_inc_input {file_count?: (Scalars['Int'] | null),query_count?: (Scalars['Int'] | null),user_count?: (Scalars['Int'] | null)}


/** input type for inserting data into table "artifact_package_groups" */
export interface artifact_package_groups_insert_input {archived?: (Scalars['Boolean'] | null),artifact_packages?: (artifact_packages_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),file_count?: (Scalars['Int'] | null),id?: (Scalars['uuid'] | null),query_count?: (Scalars['Int'] | null),title?: (Scalars['String'] | null),title_changed?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),user_count?: (Scalars['Int'] | null)}


/** aggregate max on columns */
export interface artifact_package_groups_max_fieldsRequest{
    created_at?: boolean | number
    created_by?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    file_count?: boolean | number
    id?: boolean | number
    query_count?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface artifact_package_groups_min_fieldsRequest{
    created_at?: boolean | number
    created_by?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    file_count?: boolean | number
    id?: boolean | number
    query_count?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "artifact_package_groups" */
export interface artifact_package_groups_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: artifact_package_groupsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "artifact_package_groups" */
export interface artifact_package_groups_on_conflict {constraint: artifact_package_groups_constraint,update_columns: artifact_package_groups_update_column[],where?: (artifact_package_groups_bool_exp | null)}


/** Ordering options when selecting data from "artifact_package_groups". */
export interface artifact_package_groups_order_by {archived?: (order_by | null),artifact_packages_aggregate?: (artifact_packages_aggregate_order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),created_by_name?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),file_count?: (order_by | null),id?: (order_by | null),query_count?: (order_by | null),title?: (order_by | null),title_changed?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),user_count?: (order_by | null)}


/** primary key columns input for table: artifact_package_groups */
export interface artifact_package_groups_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "artifact_package_groups" */
export interface artifact_package_groups_set_input {archived?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),file_count?: (Scalars['Int'] | null),id?: (Scalars['uuid'] | null),query_count?: (Scalars['Int'] | null),title?: (Scalars['String'] | null),title_changed?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),user_count?: (Scalars['Int'] | null)}


/** aggregate stddev on columns */
export interface artifact_package_groups_stddev_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface artifact_package_groups_stddev_pop_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface artifact_package_groups_stddev_samp_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "artifact_package_groups" */
export interface artifact_package_groups_stream_cursor_input {
/** Stream column input with initial value */
initial_value: artifact_package_groups_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface artifact_package_groups_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),file_count?: (Scalars['Int'] | null),id?: (Scalars['uuid'] | null),query_count?: (Scalars['Int'] | null),title?: (Scalars['String'] | null),title_changed?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),user_count?: (Scalars['Int'] | null)}


/** aggregate sum on columns */
export interface artifact_package_groups_sum_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface artifact_package_groups_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (artifact_package_groups_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_groups_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_groups_bool_exp}


/** aggregate var_pop on columns */
export interface artifact_package_groups_var_pop_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface artifact_package_groups_var_samp_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface artifact_package_groups_variance_fieldsRequest{
    file_count?: boolean | number
    query_count?: boolean | number
    user_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** a instance of all artifacts (qnrs,documents,consents) which one shall send to recipient */
export interface artifact_packagesRequest{
    activity_id?: boolean | number
    /** An array relationship */
    artifact_package_artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcelRequest] | artifact_package_artifact_parcelRequest
    /** An aggregate relationship */
    artifact_package_artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcel_aggregateRequest] | artifact_package_artifact_parcel_aggregateRequest
    /** An object relationship */
    artifact_package_cron?: artifact_package_cronRequest
    /** An array relationship */
    consent_patients?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest] | consent_patientRequest
    /** An aggregate relationship */
    consent_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patient_aggregateRequest] | consent_patient_aggregateRequest
    created_at?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An object relationship */
    directory_user_name?: directory_user_nameRequest
    /** An array relationship */
    document_patients?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest] | document_patientRequest
    /** An aggregate relationship */
    document_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patient_aggregateRequest] | document_patient_aggregateRequest
    /** An array relationship */
    events?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_packageRequest] | event_artifact_packageRequest
    /** An aggregate relationship */
    events_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_package_aggregateRequest] | event_artifact_package_aggregateRequest
    group_id?: boolean | number
    id?: boolean | number
    is_blueprint?: boolean | number
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    recipient_id?: boolean | number
    rruleset?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "artifact_packages" */
export interface artifact_packages_aggregateRequest{
    aggregate?: artifact_packages_aggregate_fieldsRequest
    nodes?: artifact_packagesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface artifact_packages_aggregate_bool_exp {bool_and?: (artifact_packages_aggregate_bool_exp_bool_and | null),bool_or?: (artifact_packages_aggregate_bool_exp_bool_or | null),count?: (artifact_packages_aggregate_bool_exp_count | null)}

export interface artifact_packages_aggregate_bool_exp_bool_and {arguments: artifact_packages_select_column_artifact_packages_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (artifact_packages_bool_exp | null),predicate: Boolean_comparison_exp}

export interface artifact_packages_aggregate_bool_exp_bool_or {arguments: artifact_packages_select_column_artifact_packages_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (artifact_packages_bool_exp | null),predicate: Boolean_comparison_exp}

export interface artifact_packages_aggregate_bool_exp_count {arguments?: (artifact_packages_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (artifact_packages_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "artifact_packages" */
export interface artifact_packages_aggregate_fieldsRequest{
    count?: [{columns?: (artifact_packages_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: artifact_packages_max_fieldsRequest
    min?: artifact_packages_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "artifact_packages" */
export interface artifact_packages_aggregate_order_by {count?: (order_by | null),max?: (artifact_packages_max_order_by | null),min?: (artifact_packages_min_order_by | null)}


/** input type for inserting array relation for remote table "artifact_packages" */
export interface artifact_packages_arr_rel_insert_input {data: artifact_packages_insert_input[],
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}


/** Boolean expression to filter rows from the table "artifact_packages". All fields are combined with a logical 'AND'. */
export interface artifact_packages_bool_exp {_and?: (artifact_packages_bool_exp[] | null),_not?: (artifact_packages_bool_exp | null),_or?: (artifact_packages_bool_exp[] | null),activity_id?: (String_comparison_exp | null),artifact_package_artifact_parcels?: (artifact_package_artifact_parcel_bool_exp | null),artifact_package_artifact_parcels_aggregate?: (artifact_package_artifact_parcel_aggregate_bool_exp | null),artifact_package_cron?: (artifact_package_cron_bool_exp | null),consent_patients?: (consent_patient_bool_exp | null),consent_patients_aggregate?: (consent_patient_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),created_by_name?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directory_user_name?: (directory_user_name_bool_exp | null),document_patients?: (document_patient_bool_exp | null),document_patients_aggregate?: (document_patient_aggregate_bool_exp | null),events?: (event_artifact_package_bool_exp | null),events_aggregate?: (event_artifact_package_aggregate_bool_exp | null),group_id?: (uuid_comparison_exp | null),id?: (uuid_comparison_exp | null),is_blueprint?: (Boolean_comparison_exp | null),queries?: (queries_bool_exp | null),queries_aggregate?: (queries_aggregate_bool_exp | null),recipient_id?: (uuid_comparison_exp | null),rruleset?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "artifact_packages" */
export interface artifact_packages_insert_input {activity_id?: (Scalars['String'] | null),artifact_package_artifact_parcels?: (artifact_package_artifact_parcel_arr_rel_insert_input | null),artifact_package_cron?: (artifact_package_cron_obj_rel_insert_input | null),consent_patients?: (consent_patient_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),directory_user_name?: (directory_user_name_obj_rel_insert_input | null),document_patients?: (document_patient_arr_rel_insert_input | null),events?: (event_artifact_package_arr_rel_insert_input | null),group_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),is_blueprint?: (Scalars['Boolean'] | null),queries?: (queries_arr_rel_insert_input | null),recipient_id?: (Scalars['uuid'] | null),rruleset?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface artifact_packages_max_fieldsRequest{
    activity_id?: boolean | number
    created_at?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    group_id?: boolean | number
    id?: boolean | number
    recipient_id?: boolean | number
    rruleset?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "artifact_packages" */
export interface artifact_packages_max_order_by {activity_id?: (order_by | null),created_at?: (order_by | null),created_by_name?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),group_id?: (order_by | null),id?: (order_by | null),recipient_id?: (order_by | null),rruleset?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** aggregate min on columns */
export interface artifact_packages_min_fieldsRequest{
    activity_id?: boolean | number
    created_at?: boolean | number
    created_by_name?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    group_id?: boolean | number
    id?: boolean | number
    recipient_id?: boolean | number
    rruleset?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "artifact_packages" */
export interface artifact_packages_min_order_by {activity_id?: (order_by | null),created_at?: (order_by | null),created_by_name?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),group_id?: (order_by | null),id?: (order_by | null),recipient_id?: (order_by | null),rruleset?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** response of any mutation on the table "artifact_packages" */
export interface artifact_packages_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: artifact_packagesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "artifact_packages" */
export interface artifact_packages_obj_rel_insert_input {data: artifact_packages_insert_input,
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}


/** on_conflict condition type for table "artifact_packages" */
export interface artifact_packages_on_conflict {constraint: artifact_packages_constraint,update_columns: artifact_packages_update_column[],where?: (artifact_packages_bool_exp | null)}


/** Ordering options when selecting data from "artifact_packages". */
export interface artifact_packages_order_by {activity_id?: (order_by | null),artifact_package_artifact_parcels_aggregate?: (artifact_package_artifact_parcel_aggregate_order_by | null),artifact_package_cron?: (artifact_package_cron_order_by | null),consent_patients_aggregate?: (consent_patient_aggregate_order_by | null),created_at?: (order_by | null),created_by_name?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),directory_user_name?: (directory_user_name_order_by | null),document_patients_aggregate?: (document_patient_aggregate_order_by | null),events_aggregate?: (event_artifact_package_aggregate_order_by | null),group_id?: (order_by | null),id?: (order_by | null),is_blueprint?: (order_by | null),queries_aggregate?: (queries_aggregate_order_by | null),recipient_id?: (order_by | null),rruleset?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** primary key columns input for table: artifact_packages */
export interface artifact_packages_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "artifact_packages" */
export interface artifact_packages_set_input {activity_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),group_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),is_blueprint?: (Scalars['Boolean'] | null),recipient_id?: (Scalars['uuid'] | null),rruleset?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "artifact_packages" */
export interface artifact_packages_stream_cursor_input {
/** Stream column input with initial value */
initial_value: artifact_packages_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface artifact_packages_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),created_by_name?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),group_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),is_blueprint?: (Scalars['Boolean'] | null),recipient_id?: (Scalars['uuid'] | null),rruleset?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}

export interface artifact_packages_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_packages_set_input | null),
/** filter the rows which have to be updated */
where: artifact_packages_bool_exp}


/** columns and relationships of "artifact_parcels" */
export interface artifact_parcelsRequest{
    /** An array relationship */
    artifact_package_artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcelRequest] | artifact_package_artifact_parcelRequest
    /** An aggregate relationship */
    artifact_package_artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcel_aggregateRequest] | artifact_package_artifact_parcel_aggregateRequest
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    /** An array relationship */
    documents?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documentsRequest] | documentsRequest
    /** An aggregate relationship */
    documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documents_aggregateRequest] | documents_aggregateRequest
    id?: boolean | number
    /** An array relationship */
    template_artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcelRequest] | template_artifact_parcelRequest
    /** An aggregate relationship */
    template_artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcel_aggregateRequest] | template_artifact_parcel_aggregateRequest
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "artifact_parcels" */
export interface artifact_parcels_aggregateRequest{
    aggregate?: artifact_parcels_aggregate_fieldsRequest
    nodes?: artifact_parcelsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "artifact_parcels" */
export interface artifact_parcels_aggregate_fieldsRequest{
    count?: [{columns?: (artifact_parcels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: artifact_parcels_max_fieldsRequest
    min?: artifact_parcels_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "artifact_parcels". All fields are combined with a logical 'AND'. */
export interface artifact_parcels_bool_exp {_and?: (artifact_parcels_bool_exp[] | null),_not?: (artifact_parcels_bool_exp | null),_or?: (artifact_parcels_bool_exp[] | null),artifact_package_artifact_parcels?: (artifact_package_artifact_parcel_bool_exp | null),artifact_package_artifact_parcels_aggregate?: (artifact_package_artifact_parcel_aggregate_bool_exp | null),consents?: (consents_bool_exp | null),consents_aggregate?: (consents_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),description?: (String_comparison_exp | null),documents?: (documents_bool_exp | null),documents_aggregate?: (documents_aggregate_bool_exp | null),id?: (uuid_comparison_exp | null),template_artifact_parcels?: (template_artifact_parcel_bool_exp | null),template_artifact_parcels_aggregate?: (template_artifact_parcel_aggregate_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for inserting data into table "artifact_parcels" */
export interface artifact_parcels_insert_input {artifact_package_artifact_parcels?: (artifact_package_artifact_parcel_arr_rel_insert_input | null),consents?: (consents_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),documents?: (documents_arr_rel_insert_input | null),id?: (Scalars['uuid'] | null),template_artifact_parcels?: (template_artifact_parcel_arr_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface artifact_parcels_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface artifact_parcels_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "artifact_parcels" */
export interface artifact_parcels_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: artifact_parcelsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "artifact_parcels" */
export interface artifact_parcels_obj_rel_insert_input {data: artifact_parcels_insert_input,
/** upsert condition */
on_conflict?: (artifact_parcels_on_conflict | null)}


/** on_conflict condition type for table "artifact_parcels" */
export interface artifact_parcels_on_conflict {constraint: artifact_parcels_constraint,update_columns: artifact_parcels_update_column[],where?: (artifact_parcels_bool_exp | null)}


/** Ordering options when selecting data from "artifact_parcels". */
export interface artifact_parcels_order_by {artifact_package_artifact_parcels_aggregate?: (artifact_package_artifact_parcel_aggregate_order_by | null),consents_aggregate?: (consents_aggregate_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),description?: (order_by | null),documents_aggregate?: (documents_aggregate_order_by | null),id?: (order_by | null),template_artifact_parcels_aggregate?: (template_artifact_parcel_aggregate_order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: artifact_parcels */
export interface artifact_parcels_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "artifact_parcels" */
export interface artifact_parcels_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "artifact_parcels" */
export interface artifact_parcels_stream_cursor_input {
/** Stream column input with initial value */
initial_value: artifact_parcels_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface artifact_parcels_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface artifact_parcels_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_parcels_set_input | null),
/** filter the rows which have to be updated */
where: artifact_parcels_bool_exp}


/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
export interface bigint_comparison_exp {_eq?: (Scalars['bigint'] | null),_gt?: (Scalars['bigint'] | null),_gte?: (Scalars['bigint'] | null),_in?: (Scalars['bigint'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['bigint'] | null),_lte?: (Scalars['bigint'] | null),_neq?: (Scalars['bigint'] | null),_nin?: (Scalars['bigint'][] | null)}


/** Boolean expression to compare columns of type "bpchar". All fields are combined with logical 'AND'. */
export interface bpchar_comparison_exp {_eq?: (Scalars['bpchar'] | null),_gt?: (Scalars['bpchar'] | null),_gte?: (Scalars['bpchar'] | null),
/** does the column match the given case-insensitive pattern */
_ilike?: (Scalars['bpchar'] | null),_in?: (Scalars['bpchar'][] | null),
/** does the column match the given POSIX regular expression, case insensitive */
_iregex?: (Scalars['bpchar'] | null),_is_null?: (Scalars['Boolean'] | null),
/** does the column match the given pattern */
_like?: (Scalars['bpchar'] | null),_lt?: (Scalars['bpchar'] | null),_lte?: (Scalars['bpchar'] | null),_neq?: (Scalars['bpchar'] | null),
/** does the column NOT match the given case-insensitive pattern */
_nilike?: (Scalars['bpchar'] | null),_nin?: (Scalars['bpchar'][] | null),
/** does the column NOT match the given POSIX regular expression, case insensitive */
_niregex?: (Scalars['bpchar'] | null),
/** does the column NOT match the given pattern */
_nlike?: (Scalars['bpchar'] | null),
/** does the column NOT match the given POSIX regular expression, case sensitive */
_nregex?: (Scalars['bpchar'] | null),
/** does the column NOT match the given SQL regular expression */
_nsimilar?: (Scalars['bpchar'] | null),
/** does the column match the given POSIX regular expression, case sensitive */
_regex?: (Scalars['bpchar'] | null),
/** does the column match the given SQL regular expression */
_similar?: (Scalars['bpchar'] | null)}


/** columns and relationships of "categories" */
export interface categoriesRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    sms_templates?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templatesRequest] | sms_templatesRequest
    /** An aggregate relationship */
    sms_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templates_aggregateRequest] | sms_templates_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "categories" */
export interface categories_aggregateRequest{
    aggregate?: categories_aggregate_fieldsRequest
    nodes?: categoriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "categories" */
export interface categories_aggregate_fieldsRequest{
    count?: [{columns?: (categories_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: categories_max_fieldsRequest
    min?: categories_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "categories". All fields are combined with a logical 'AND'. */
export interface categories_bool_exp {_and?: (categories_bool_exp[] | null),_not?: (categories_bool_exp | null),_or?: (categories_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),sms_templates?: (sms_templates_bool_exp | null),sms_templates_aggregate?: (sms_templates_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "categories_enum". All fields are combined with logical 'AND'. */
export interface categories_enum_comparison_exp {_eq?: (categories_enum | null),_in?: (categories_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (categories_enum | null),_nin?: (categories_enum[] | null)}


/** input type for inserting data into table "categories" */
export interface categories_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),sms_templates?: (sms_templates_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface categories_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface categories_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "categories" */
export interface categories_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: categoriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "categories" */
export interface categories_obj_rel_insert_input {data: categories_insert_input,
/** upsert condition */
on_conflict?: (categories_on_conflict | null)}


/** on_conflict condition type for table "categories" */
export interface categories_on_conflict {constraint: categories_constraint,update_columns: categories_update_column[],where?: (categories_bool_exp | null)}


/** Ordering options when selecting data from "categories". */
export interface categories_order_by {comment?: (order_by | null),name?: (order_by | null),sms_templates_aggregate?: (sms_templates_aggregate_order_by | null)}


/** primary key columns input for table: categories */
export interface categories_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "categories" */
export interface categories_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "categories" */
export interface categories_stream_cursor_input {
/** Stream column input with initial value */
initial_value: categories_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface categories_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface categories_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (categories_set_input | null),
/** filter the rows which have to be updated */
where: categories_bool_exp}


/** columns and relationships of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasonsRequest{
    accept_reason?: boolean | number
    consent_id?: boolean | number
    /** An object relationship */
    consent_patient?: consent_patientRequest
    created_at?: boolean | number
    id?: boolean | number
    patient_id?: boolean | number
    reject_reason?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregateRequest{
    aggregate?: consent_approval_rejection_reasons_aggregate_fieldsRequest
    nodes?: consent_approval_rejection_reasonsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface consent_approval_rejection_reasons_aggregate_bool_exp {count?: (consent_approval_rejection_reasons_aggregate_bool_exp_count | null)}

export interface consent_approval_rejection_reasons_aggregate_bool_exp_count {arguments?: (consent_approval_rejection_reasons_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (consent_approval_rejection_reasons_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate_fieldsRequest{
    avg?: consent_approval_rejection_reasons_avg_fieldsRequest
    count?: [{columns?: (consent_approval_rejection_reasons_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consent_approval_rejection_reasons_max_fieldsRequest
    min?: consent_approval_rejection_reasons_min_fieldsRequest
    stddev?: consent_approval_rejection_reasons_stddev_fieldsRequest
    stddev_pop?: consent_approval_rejection_reasons_stddev_pop_fieldsRequest
    stddev_samp?: consent_approval_rejection_reasons_stddev_samp_fieldsRequest
    sum?: consent_approval_rejection_reasons_sum_fieldsRequest
    var_pop?: consent_approval_rejection_reasons_var_pop_fieldsRequest
    var_samp?: consent_approval_rejection_reasons_var_samp_fieldsRequest
    variance?: consent_approval_rejection_reasons_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate_order_by {avg?: (consent_approval_rejection_reasons_avg_order_by | null),count?: (order_by | null),max?: (consent_approval_rejection_reasons_max_order_by | null),min?: (consent_approval_rejection_reasons_min_order_by | null),stddev?: (consent_approval_rejection_reasons_stddev_order_by | null),stddev_pop?: (consent_approval_rejection_reasons_stddev_pop_order_by | null),stddev_samp?: (consent_approval_rejection_reasons_stddev_samp_order_by | null),sum?: (consent_approval_rejection_reasons_sum_order_by | null),var_pop?: (consent_approval_rejection_reasons_var_pop_order_by | null),var_samp?: (consent_approval_rejection_reasons_var_samp_order_by | null),variance?: (consent_approval_rejection_reasons_variance_order_by | null)}


/** input type for inserting array relation for remote table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_arr_rel_insert_input {data: consent_approval_rejection_reasons_insert_input[],
/** upsert condition */
on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)}


/** aggregate avg on columns */
export interface consent_approval_rejection_reasons_avg_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_avg_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** Boolean expression to filter rows from the table "consent_approval_rejection_reasons". All fields are combined with a logical 'AND'. */
export interface consent_approval_rejection_reasons_bool_exp {_and?: (consent_approval_rejection_reasons_bool_exp[] | null),_not?: (consent_approval_rejection_reasons_bool_exp | null),_or?: (consent_approval_rejection_reasons_bool_exp[] | null),accept_reason?: (String_comparison_exp | null),consent_id?: (bigint_comparison_exp | null),consent_patient?: (consent_patient_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),id?: (Int_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),reject_reason?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_inc_input {consent_id?: (Scalars['bigint'] | null),id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_insert_input {accept_reason?: (Scalars['String'] | null),consent_id?: (Scalars['bigint'] | null),consent_patient?: (consent_patient_obj_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),patient_id?: (Scalars['uuid'] | null),reject_reason?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface consent_approval_rejection_reasons_max_fieldsRequest{
    accept_reason?: boolean | number
    consent_id?: boolean | number
    created_at?: boolean | number
    id?: boolean | number
    patient_id?: boolean | number
    reject_reason?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_max_order_by {accept_reason?: (order_by | null),consent_id?: (order_by | null),created_at?: (order_by | null),id?: (order_by | null),patient_id?: (order_by | null),reject_reason?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface consent_approval_rejection_reasons_min_fieldsRequest{
    accept_reason?: boolean | number
    consent_id?: boolean | number
    created_at?: boolean | number
    id?: boolean | number
    patient_id?: boolean | number
    reject_reason?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_min_order_by {accept_reason?: (order_by | null),consent_id?: (order_by | null),created_at?: (order_by | null),id?: (order_by | null),patient_id?: (order_by | null),reject_reason?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consent_approval_rejection_reasonsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_on_conflict {constraint: consent_approval_rejection_reasons_constraint,update_columns: consent_approval_rejection_reasons_update_column[],where?: (consent_approval_rejection_reasons_bool_exp | null)}


/** Ordering options when selecting data from "consent_approval_rejection_reasons". */
export interface consent_approval_rejection_reasons_order_by {accept_reason?: (order_by | null),consent_id?: (order_by | null),consent_patient?: (consent_patient_order_by | null),created_at?: (order_by | null),id?: (order_by | null),patient_id?: (order_by | null),reject_reason?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: consent_approval_rejection_reasons */
export interface consent_approval_rejection_reasons_pk_columns_input {id: Scalars['Int']}


/** input type for updating data in table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_set_input {accept_reason?: (Scalars['String'] | null),consent_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),patient_id?: (Scalars['uuid'] | null),reject_reason?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface consent_approval_rejection_reasons_stddev_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_stddev_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface consent_approval_rejection_reasons_stddev_pop_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_stddev_pop_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface consent_approval_rejection_reasons_stddev_samp_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_stddev_samp_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** Streaming cursor of the table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consent_approval_rejection_reasons_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consent_approval_rejection_reasons_stream_cursor_value_input {accept_reason?: (Scalars['String'] | null),consent_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),patient_id?: (Scalars['uuid'] | null),reject_reason?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface consent_approval_rejection_reasons_sum_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_sum_order_by {consent_id?: (order_by | null),id?: (order_by | null)}

export interface consent_approval_rejection_reasons_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_approval_rejection_reasons_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_approval_rejection_reasons_set_input | null),
/** filter the rows which have to be updated */
where: consent_approval_rejection_reasons_bool_exp}


/** aggregate var_pop on columns */
export interface consent_approval_rejection_reasons_var_pop_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_var_pop_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface consent_approval_rejection_reasons_var_samp_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_var_samp_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** aggregate variance on columns */
export interface consent_approval_rejection_reasons_variance_fieldsRequest{
    consent_id?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_variance_order_by {consent_id?: (order_by | null),id?: (order_by | null)}


/** columns and relationships of "consent_patient" */
export interface consent_patientRequest{
    accepted?: boolean | number
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_package_id?: boolean | number
    /** An object relationship */
    consent?: consentsRequest
    /** An array relationship */
    consent_approval_rejection_reasons?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasonsRequest] | consent_approval_rejection_reasonsRequest
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasons_aggregateRequest] | consent_approval_rejection_reasons_aggregateRequest
    consent_id?: boolean | number
    /** An object relationship */
    consent_status?: consent_statusRequest
    created_at?: boolean | number
    expiry_date?: boolean | number
    patient_id?: boolean | number
    status?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consent_patient" */
export interface consent_patient_aggregateRequest{
    aggregate?: consent_patient_aggregate_fieldsRequest
    nodes?: consent_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface consent_patient_aggregate_bool_exp {bool_and?: (consent_patient_aggregate_bool_exp_bool_and | null),bool_or?: (consent_patient_aggregate_bool_exp_bool_or | null),count?: (consent_patient_aggregate_bool_exp_count | null)}

export interface consent_patient_aggregate_bool_exp_bool_and {arguments: consent_patient_select_column_consent_patient_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consent_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consent_patient_aggregate_bool_exp_bool_or {arguments: consent_patient_select_column_consent_patient_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consent_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consent_patient_aggregate_bool_exp_count {arguments?: (consent_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (consent_patient_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "consent_patient" */
export interface consent_patient_aggregate_fieldsRequest{
    avg?: consent_patient_avg_fieldsRequest
    count?: [{columns?: (consent_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consent_patient_max_fieldsRequest
    min?: consent_patient_min_fieldsRequest
    stddev?: consent_patient_stddev_fieldsRequest
    stddev_pop?: consent_patient_stddev_pop_fieldsRequest
    stddev_samp?: consent_patient_stddev_samp_fieldsRequest
    sum?: consent_patient_sum_fieldsRequest
    var_pop?: consent_patient_var_pop_fieldsRequest
    var_samp?: consent_patient_var_samp_fieldsRequest
    variance?: consent_patient_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "consent_patient" */
export interface consent_patient_aggregate_order_by {avg?: (consent_patient_avg_order_by | null),count?: (order_by | null),max?: (consent_patient_max_order_by | null),min?: (consent_patient_min_order_by | null),stddev?: (consent_patient_stddev_order_by | null),stddev_pop?: (consent_patient_stddev_pop_order_by | null),stddev_samp?: (consent_patient_stddev_samp_order_by | null),sum?: (consent_patient_sum_order_by | null),var_pop?: (consent_patient_var_pop_order_by | null),var_samp?: (consent_patient_var_samp_order_by | null),variance?: (consent_patient_variance_order_by | null)}


/** input type for inserting array relation for remote table "consent_patient" */
export interface consent_patient_arr_rel_insert_input {data: consent_patient_insert_input[],
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}


/** aggregate avg on columns */
export interface consent_patient_avg_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "consent_patient" */
export interface consent_patient_avg_order_by {consent_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "consent_patient". All fields are combined with a logical 'AND'. */
export interface consent_patient_bool_exp {_and?: (consent_patient_bool_exp[] | null),_not?: (consent_patient_bool_exp | null),_or?: (consent_patient_bool_exp[] | null),accepted?: (Boolean_comparison_exp | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_package_id?: (uuid_comparison_exp | null),consent?: (consents_bool_exp | null),consent_approval_rejection_reasons?: (consent_approval_rejection_reasons_bool_exp | null),consent_approval_rejection_reasons_aggregate?: (consent_approval_rejection_reasons_aggregate_bool_exp | null),consent_id?: (bigint_comparison_exp | null),consent_status?: (consent_status_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),expiry_date?: (date_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),status?: (consent_status_enum_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "consent_patient" */
export interface consent_patient_inc_input {consent_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "consent_patient" */
export interface consent_patient_insert_input {accepted?: (Scalars['Boolean'] | null),artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_package_id?: (Scalars['uuid'] | null),consent?: (consents_obj_rel_insert_input | null),consent_approval_rejection_reasons?: (consent_approval_rejection_reasons_arr_rel_insert_input | null),consent_id?: (Scalars['bigint'] | null),consent_status?: (consent_status_obj_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),expiry_date?: (Scalars['date'] | null),patient_id?: (Scalars['uuid'] | null),status?: (consent_status_enum | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface consent_patient_max_fieldsRequest{
    artifact_package_id?: boolean | number
    consent_id?: boolean | number
    created_at?: boolean | number
    expiry_date?: boolean | number
    patient_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "consent_patient" */
export interface consent_patient_max_order_by {artifact_package_id?: (order_by | null),consent_id?: (order_by | null),created_at?: (order_by | null),expiry_date?: (order_by | null),patient_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface consent_patient_min_fieldsRequest{
    artifact_package_id?: boolean | number
    consent_id?: boolean | number
    created_at?: boolean | number
    expiry_date?: boolean | number
    patient_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "consent_patient" */
export interface consent_patient_min_order_by {artifact_package_id?: (order_by | null),consent_id?: (order_by | null),created_at?: (order_by | null),expiry_date?: (order_by | null),patient_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "consent_patient" */
export interface consent_patient_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consent_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "consent_patient" */
export interface consent_patient_obj_rel_insert_input {data: consent_patient_insert_input,
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}


/** on_conflict condition type for table "consent_patient" */
export interface consent_patient_on_conflict {constraint: consent_patient_constraint,update_columns: consent_patient_update_column[],where?: (consent_patient_bool_exp | null)}


/** Ordering options when selecting data from "consent_patient". */
export interface consent_patient_order_by {accepted?: (order_by | null),artifact_package?: (artifact_packages_order_by | null),artifact_package_id?: (order_by | null),consent?: (consents_order_by | null),consent_approval_rejection_reasons_aggregate?: (consent_approval_rejection_reasons_aggregate_order_by | null),consent_id?: (order_by | null),consent_status?: (consent_status_order_by | null),created_at?: (order_by | null),expiry_date?: (order_by | null),patient_id?: (order_by | null),status?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: consent_patient */
export interface consent_patient_pk_columns_input {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}


/** input type for updating data in table "consent_patient" */
export interface consent_patient_set_input {accepted?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),consent_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),expiry_date?: (Scalars['date'] | null),patient_id?: (Scalars['uuid'] | null),status?: (consent_status_enum | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface consent_patient_stddev_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "consent_patient" */
export interface consent_patient_stddev_order_by {consent_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface consent_patient_stddev_pop_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "consent_patient" */
export interface consent_patient_stddev_pop_order_by {consent_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface consent_patient_stddev_samp_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "consent_patient" */
export interface consent_patient_stddev_samp_order_by {consent_id?: (order_by | null)}


/** Streaming cursor of the table "consent_patient" */
export interface consent_patient_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consent_patient_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consent_patient_stream_cursor_value_input {accepted?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),consent_id?: (Scalars['bigint'] | null),created_at?: (Scalars['timestamptz'] | null),expiry_date?: (Scalars['date'] | null),patient_id?: (Scalars['uuid'] | null),status?: (consent_status_enum | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface consent_patient_sum_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "consent_patient" */
export interface consent_patient_sum_order_by {consent_id?: (order_by | null)}

export interface consent_patient_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_patient_set_input | null),
/** filter the rows which have to be updated */
where: consent_patient_bool_exp}


/** aggregate var_pop on columns */
export interface consent_patient_var_pop_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "consent_patient" */
export interface consent_patient_var_pop_order_by {consent_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface consent_patient_var_samp_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "consent_patient" */
export interface consent_patient_var_samp_order_by {consent_id?: (order_by | null)}


/** aggregate variance on columns */
export interface consent_patient_variance_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "consent_patient" */
export interface consent_patient_variance_order_by {consent_id?: (order_by | null)}


/** columns and relationships of "consent_status" */
export interface consent_statusRequest{
    comment?: boolean | number
    /** An array relationship */
    consent_patients?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest] | consent_patientRequest
    /** An aggregate relationship */
    consent_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patient_aggregateRequest] | consent_patient_aggregateRequest
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consent_status" */
export interface consent_status_aggregateRequest{
    aggregate?: consent_status_aggregate_fieldsRequest
    nodes?: consent_statusRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "consent_status" */
export interface consent_status_aggregate_fieldsRequest{
    count?: [{columns?: (consent_status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consent_status_max_fieldsRequest
    min?: consent_status_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "consent_status". All fields are combined with a logical 'AND'. */
export interface consent_status_bool_exp {_and?: (consent_status_bool_exp[] | null),_not?: (consent_status_bool_exp | null),_or?: (consent_status_bool_exp[] | null),comment?: (String_comparison_exp | null),consent_patients?: (consent_patient_bool_exp | null),consent_patients_aggregate?: (consent_patient_aggregate_bool_exp | null),consents?: (consents_bool_exp | null),consents_aggregate?: (consents_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "consent_status_enum". All fields are combined with logical 'AND'. */
export interface consent_status_enum_comparison_exp {_eq?: (consent_status_enum | null),_in?: (consent_status_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (consent_status_enum | null),_nin?: (consent_status_enum[] | null)}


/** input type for inserting data into table "consent_status" */
export interface consent_status_insert_input {comment?: (Scalars['String'] | null),consent_patients?: (consent_patient_arr_rel_insert_input | null),consents?: (consents_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface consent_status_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface consent_status_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "consent_status" */
export interface consent_status_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consent_statusRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "consent_status" */
export interface consent_status_obj_rel_insert_input {data: consent_status_insert_input,
/** upsert condition */
on_conflict?: (consent_status_on_conflict | null)}


/** on_conflict condition type for table "consent_status" */
export interface consent_status_on_conflict {constraint: consent_status_constraint,update_columns: consent_status_update_column[],where?: (consent_status_bool_exp | null)}


/** Ordering options when selecting data from "consent_status". */
export interface consent_status_order_by {comment?: (order_by | null),consent_patients_aggregate?: (consent_patient_aggregate_order_by | null),consents_aggregate?: (consents_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: consent_status */
export interface consent_status_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "consent_status" */
export interface consent_status_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "consent_status" */
export interface consent_status_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consent_status_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consent_status_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface consent_status_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (consent_status_set_input | null),
/** filter the rows which have to be updated */
where: consent_status_bool_exp}


/** columns and relationships of "consent_template_to_template" */
export interface consent_template_to_templateRequest{
    /** An object relationship */
    consent_template?: consent_templatesRequest
    consent_template_id?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consent_template_to_template" */
export interface consent_template_to_template_aggregateRequest{
    aggregate?: consent_template_to_template_aggregate_fieldsRequest
    nodes?: consent_template_to_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface consent_template_to_template_aggregate_bool_exp {count?: (consent_template_to_template_aggregate_bool_exp_count | null)}

export interface consent_template_to_template_aggregate_bool_exp_count {arguments?: (consent_template_to_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (consent_template_to_template_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "consent_template_to_template" */
export interface consent_template_to_template_aggregate_fieldsRequest{
    avg?: consent_template_to_template_avg_fieldsRequest
    count?: [{columns?: (consent_template_to_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consent_template_to_template_max_fieldsRequest
    min?: consent_template_to_template_min_fieldsRequest
    stddev?: consent_template_to_template_stddev_fieldsRequest
    stddev_pop?: consent_template_to_template_stddev_pop_fieldsRequest
    stddev_samp?: consent_template_to_template_stddev_samp_fieldsRequest
    sum?: consent_template_to_template_sum_fieldsRequest
    var_pop?: consent_template_to_template_var_pop_fieldsRequest
    var_samp?: consent_template_to_template_var_samp_fieldsRequest
    variance?: consent_template_to_template_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "consent_template_to_template" */
export interface consent_template_to_template_aggregate_order_by {avg?: (consent_template_to_template_avg_order_by | null),count?: (order_by | null),max?: (consent_template_to_template_max_order_by | null),min?: (consent_template_to_template_min_order_by | null),stddev?: (consent_template_to_template_stddev_order_by | null),stddev_pop?: (consent_template_to_template_stddev_pop_order_by | null),stddev_samp?: (consent_template_to_template_stddev_samp_order_by | null),sum?: (consent_template_to_template_sum_order_by | null),var_pop?: (consent_template_to_template_var_pop_order_by | null),var_samp?: (consent_template_to_template_var_samp_order_by | null),variance?: (consent_template_to_template_variance_order_by | null)}


/** input type for inserting array relation for remote table "consent_template_to_template" */
export interface consent_template_to_template_arr_rel_insert_input {data: consent_template_to_template_insert_input[],
/** upsert condition */
on_conflict?: (consent_template_to_template_on_conflict | null)}


/** aggregate avg on columns */
export interface consent_template_to_template_avg_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_avg_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "consent_template_to_template". All fields are combined with a logical 'AND'. */
export interface consent_template_to_template_bool_exp {_and?: (consent_template_to_template_bool_exp[] | null),_not?: (consent_template_to_template_bool_exp | null),_or?: (consent_template_to_template_bool_exp[] | null),consent_template?: (consent_templates_bool_exp | null),consent_template_id?: (bigint_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null)}


/** input type for incrementing numeric columns in table "consent_template_to_template" */
export interface consent_template_to_template_inc_input {consent_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "consent_template_to_template" */
export interface consent_template_to_template_insert_input {consent_template?: (consent_templates_obj_rel_insert_input | null),consent_template_id?: (Scalars['bigint'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate max on columns */
export interface consent_template_to_template_max_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_max_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate min on columns */
export interface consent_template_to_template_min_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_min_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** response of any mutation on the table "consent_template_to_template" */
export interface consent_template_to_template_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consent_template_to_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "consent_template_to_template" */
export interface consent_template_to_template_on_conflict {constraint: consent_template_to_template_constraint,update_columns: consent_template_to_template_update_column[],where?: (consent_template_to_template_bool_exp | null)}


/** Ordering options when selecting data from "consent_template_to_template". */
export interface consent_template_to_template_order_by {consent_template?: (consent_templates_order_by | null),consent_template_id?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null)}


/** input type for updating data in table "consent_template_to_template" */
export interface consent_template_to_template_set_input {consent_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate stddev on columns */
export interface consent_template_to_template_stddev_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_stddev_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface consent_template_to_template_stddev_pop_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_stddev_pop_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface consent_template_to_template_stddev_samp_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_stddev_samp_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "consent_template_to_template" */
export interface consent_template_to_template_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consent_template_to_template_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consent_template_to_template_stream_cursor_value_input {consent_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface consent_template_to_template_sum_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_sum_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}

export interface consent_template_to_template_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_template_to_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_template_to_template_set_input | null),
/** filter the rows which have to be updated */
where: consent_template_to_template_bool_exp}


/** aggregate var_pop on columns */
export interface consent_template_to_template_var_pop_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_var_pop_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface consent_template_to_template_var_samp_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_var_samp_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface consent_template_to_template_variance_fieldsRequest{
    consent_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "consent_template_to_template" */
export interface consent_template_to_template_variance_order_by {consent_template_id?: (order_by | null),template_id?: (order_by | null)}


/** columns and relationships of "consent_templates" */
export interface consent_templatesRequest{
    /** An array relationship */
    consent_template_to_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_templateRequest] | consent_template_to_templateRequest
    /** An aggregate relationship */
    consent_template_to_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_template_aggregateRequest] | consent_template_to_template_aggregateRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    /** An array relationship */
    genesis_consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templatesRequest] | genesis_consent_templatesRequest
    /** An aggregate relationship */
    genesis_consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templates_aggregateRequest] | genesis_consent_templates_aggregateRequest
    /** An array relationship */
    genesis_denied_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissionsRequest] | genesis_denied_permissionsRequest
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissions_aggregateRequest] | genesis_denied_permissions_aggregateRequest
    group?: boolean | number
    /** An object relationship */
    groupByGroup?: groupsRequest
    id?: boolean | number
    region?: boolean | number
    renew_consent?: boolean | number
    title?: boolean | number
    type?: boolean | number
    /** An object relationship */
    typeByType?: typesRequest
    updated_at?: boolean | number
    uuid?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consent_templates" */
export interface consent_templates_aggregateRequest{
    aggregate?: consent_templates_aggregate_fieldsRequest
    nodes?: consent_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface consent_templates_aggregate_bool_exp {bool_and?: (consent_templates_aggregate_bool_exp_bool_and | null),bool_or?: (consent_templates_aggregate_bool_exp_bool_or | null),count?: (consent_templates_aggregate_bool_exp_count | null)}

export interface consent_templates_aggregate_bool_exp_bool_and {arguments: consent_templates_select_column_consent_templates_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consent_templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consent_templates_aggregate_bool_exp_bool_or {arguments: consent_templates_select_column_consent_templates_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consent_templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consent_templates_aggregate_bool_exp_count {arguments?: (consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (consent_templates_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "consent_templates" */
export interface consent_templates_aggregate_fieldsRequest{
    avg?: consent_templates_avg_fieldsRequest
    count?: [{columns?: (consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consent_templates_max_fieldsRequest
    min?: consent_templates_min_fieldsRequest
    stddev?: consent_templates_stddev_fieldsRequest
    stddev_pop?: consent_templates_stddev_pop_fieldsRequest
    stddev_samp?: consent_templates_stddev_samp_fieldsRequest
    sum?: consent_templates_sum_fieldsRequest
    var_pop?: consent_templates_var_pop_fieldsRequest
    var_samp?: consent_templates_var_samp_fieldsRequest
    variance?: consent_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "consent_templates" */
export interface consent_templates_aggregate_order_by {avg?: (consent_templates_avg_order_by | null),count?: (order_by | null),max?: (consent_templates_max_order_by | null),min?: (consent_templates_min_order_by | null),stddev?: (consent_templates_stddev_order_by | null),stddev_pop?: (consent_templates_stddev_pop_order_by | null),stddev_samp?: (consent_templates_stddev_samp_order_by | null),sum?: (consent_templates_sum_order_by | null),var_pop?: (consent_templates_var_pop_order_by | null),var_samp?: (consent_templates_var_samp_order_by | null),variance?: (consent_templates_variance_order_by | null)}


/** input type for inserting array relation for remote table "consent_templates" */
export interface consent_templates_arr_rel_insert_input {data: consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}


/** aggregate avg on columns */
export interface consent_templates_avg_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "consent_templates" */
export interface consent_templates_avg_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** Boolean expression to filter rows from the table "consent_templates". All fields are combined with a logical 'AND'. */
export interface consent_templates_bool_exp {_and?: (consent_templates_bool_exp[] | null),_not?: (consent_templates_bool_exp | null),_or?: (consent_templates_bool_exp[] | null),consent_template_to_templates?: (consent_template_to_template_bool_exp | null),consent_template_to_templates_aggregate?: (consent_template_to_template_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),description?: (String_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),genesis_consent_templates?: (genesis_consent_templates_bool_exp | null),genesis_consent_templates_aggregate?: (genesis_consent_templates_aggregate_bool_exp | null),genesis_denied_permissions?: (genesis_denied_permissions_bool_exp | null),genesis_denied_permissions_aggregate?: (genesis_denied_permissions_aggregate_bool_exp | null),group?: (groups_enum_comparison_exp | null),groupByGroup?: (groups_bool_exp | null),id?: (bigint_comparison_exp | null),region?: (String_comparison_exp | null),renew_consent?: (Boolean_comparison_exp | null),title?: (String_comparison_exp | null),type?: (types_enum_comparison_exp | null),typeByType?: (types_bool_exp | null),updated_at?: (timestamptz_comparison_exp | null),uuid?: (uuid_comparison_exp | null),valid_days?: (bigint_comparison_exp | null),valid_to?: (date_comparison_exp | null)}


/** input type for incrementing numeric columns in table "consent_templates" */
export interface consent_templates_inc_input {id?: (Scalars['bigint'] | null),valid_days?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "consent_templates" */
export interface consent_templates_insert_input {consent_template_to_templates?: (consent_template_to_template_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),genesis_consent_templates?: (genesis_consent_templates_arr_rel_insert_input | null),genesis_denied_permissions?: (genesis_denied_permissions_arr_rel_insert_input | null),group?: (groups_enum | null),groupByGroup?: (groups_obj_rel_insert_input | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null),type?: (types_enum | null),typeByType?: (types_obj_rel_insert_input | null),updated_at?: (Scalars['timestamptz'] | null),uuid?: (Scalars['uuid'] | null),valid_days?: (Scalars['bigint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate max on columns */
export interface consent_templates_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    uuid?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "consent_templates" */
export interface consent_templates_max_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),uuid?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** aggregate min on columns */
export interface consent_templates_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    uuid?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "consent_templates" */
export interface consent_templates_min_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),uuid?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** response of any mutation on the table "consent_templates" */
export interface consent_templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consent_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "consent_templates" */
export interface consent_templates_obj_rel_insert_input {data: consent_templates_insert_input,
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}


/** on_conflict condition type for table "consent_templates" */
export interface consent_templates_on_conflict {constraint: consent_templates_constraint,update_columns: consent_templates_update_column[],where?: (consent_templates_bool_exp | null)}


/** Ordering options when selecting data from "consent_templates". */
export interface consent_templates_order_by {consent_template_to_templates_aggregate?: (consent_template_to_template_aggregate_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),directory_customers?: (directory_customers_order_by | null),genesis_consent_templates_aggregate?: (genesis_consent_templates_aggregate_order_by | null),genesis_denied_permissions_aggregate?: (genesis_denied_permissions_aggregate_order_by | null),group?: (order_by | null),groupByGroup?: (groups_order_by | null),id?: (order_by | null),region?: (order_by | null),renew_consent?: (order_by | null),title?: (order_by | null),type?: (order_by | null),typeByType?: (types_order_by | null),updated_at?: (order_by | null),uuid?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** primary key columns input for table: consent_templates */
export interface consent_templates_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "consent_templates" */
export interface consent_templates_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),group?: (groups_enum | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null),type?: (types_enum | null),updated_at?: (Scalars['timestamptz'] | null),uuid?: (Scalars['uuid'] | null),valid_days?: (Scalars['bigint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate stddev on columns */
export interface consent_templates_stddev_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "consent_templates" */
export interface consent_templates_stddev_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface consent_templates_stddev_pop_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "consent_templates" */
export interface consent_templates_stddev_pop_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface consent_templates_stddev_samp_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "consent_templates" */
export interface consent_templates_stddev_samp_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** Streaming cursor of the table "consent_templates" */
export interface consent_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consent_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consent_templates_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),group?: (groups_enum | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null),type?: (types_enum | null),updated_at?: (Scalars['timestamptz'] | null),uuid?: (Scalars['uuid'] | null),valid_days?: (Scalars['bigint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate sum on columns */
export interface consent_templates_sum_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "consent_templates" */
export interface consent_templates_sum_order_by {id?: (order_by | null),valid_days?: (order_by | null)}

export interface consent_templates_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: consent_templates_bool_exp}


/** aggregate var_pop on columns */
export interface consent_templates_var_pop_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "consent_templates" */
export interface consent_templates_var_pop_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate var_samp on columns */
export interface consent_templates_var_samp_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "consent_templates" */
export interface consent_templates_var_samp_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate variance on columns */
export interface consent_templates_variance_fieldsRequest{
    id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "consent_templates" */
export interface consent_templates_variance_order_by {id?: (order_by | null),valid_days?: (order_by | null)}


/** columns and relationships of "consents" */
export interface consentsRequest{
    accepted?: boolean | number
    /** An object relationship */
    artifact_parcel?: artifact_parcelsRequest
    artifact_parcel_id?: boolean | number
    /** An array relationship */
    consent_patients?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest] | consent_patientRequest
    /** An aggregate relationship */
    consent_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patient_aggregateRequest] | consent_patient_aggregateRequest
    /** An object relationship */
    consent_status?: consent_statusRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    /** An array relationship */
    genesis_consent_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissionsRequest] | genesis_consent_permissionsRequest
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissions_aggregateRequest] | genesis_consent_permissions_aggregateRequest
    group?: boolean | number
    /** An object relationship */
    groupByGroup?: groupsRequest
    id?: boolean | number
    /** An object relationship */
    query?: queriesRequest
    query_id?: boolean | number
    region?: boolean | number
    renew_consent?: boolean | number
    status?: boolean | number
    title?: boolean | number
    type?: boolean | number
    /** An object relationship */
    typeByType?: typesRequest
    updated_at?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "consents" */
export interface consents_aggregateRequest{
    aggregate?: consents_aggregate_fieldsRequest
    nodes?: consentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface consents_aggregate_bool_exp {bool_and?: (consents_aggregate_bool_exp_bool_and | null),bool_or?: (consents_aggregate_bool_exp_bool_or | null),count?: (consents_aggregate_bool_exp_count | null)}

export interface consents_aggregate_bool_exp_bool_and {arguments: consents_select_column_consents_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consents_aggregate_bool_exp_bool_or {arguments: consents_select_column_consents_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (consents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface consents_aggregate_bool_exp_count {arguments?: (consents_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (consents_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "consents" */
export interface consents_aggregate_fieldsRequest{
    avg?: consents_avg_fieldsRequest
    count?: [{columns?: (consents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: consents_max_fieldsRequest
    min?: consents_min_fieldsRequest
    stddev?: consents_stddev_fieldsRequest
    stddev_pop?: consents_stddev_pop_fieldsRequest
    stddev_samp?: consents_stddev_samp_fieldsRequest
    sum?: consents_sum_fieldsRequest
    var_pop?: consents_var_pop_fieldsRequest
    var_samp?: consents_var_samp_fieldsRequest
    variance?: consents_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "consents" */
export interface consents_aggregate_order_by {avg?: (consents_avg_order_by | null),count?: (order_by | null),max?: (consents_max_order_by | null),min?: (consents_min_order_by | null),stddev?: (consents_stddev_order_by | null),stddev_pop?: (consents_stddev_pop_order_by | null),stddev_samp?: (consents_stddev_samp_order_by | null),sum?: (consents_sum_order_by | null),var_pop?: (consents_var_pop_order_by | null),var_samp?: (consents_var_samp_order_by | null),variance?: (consents_variance_order_by | null)}


/** input type for inserting array relation for remote table "consents" */
export interface consents_arr_rel_insert_input {data: consents_insert_input[],
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}


/** aggregate avg on columns */
export interface consents_avg_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "consents" */
export interface consents_avg_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** Boolean expression to filter rows from the table "consents". All fields are combined with a logical 'AND'. */
export interface consents_bool_exp {_and?: (consents_bool_exp[] | null),_not?: (consents_bool_exp | null),_or?: (consents_bool_exp[] | null),accepted?: (Boolean_comparison_exp | null),artifact_parcel?: (artifact_parcels_bool_exp | null),artifact_parcel_id?: (uuid_comparison_exp | null),consent_patients?: (consent_patient_bool_exp | null),consent_patients_aggregate?: (consent_patient_aggregate_bool_exp | null),consent_status?: (consent_status_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),description?: (String_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),genesis_consent_permissions?: (genesis_consent_permissions_bool_exp | null),genesis_consent_permissions_aggregate?: (genesis_consent_permissions_aggregate_bool_exp | null),group?: (groups_enum_comparison_exp | null),groupByGroup?: (groups_bool_exp | null),id?: (bigint_comparison_exp | null),query?: (queries_bool_exp | null),query_id?: (bigint_comparison_exp | null),region?: (String_comparison_exp | null),renew_consent?: (Boolean_comparison_exp | null),status?: (consent_status_enum_comparison_exp | null),title?: (String_comparison_exp | null),type?: (types_enum_comparison_exp | null),typeByType?: (types_bool_exp | null),updated_at?: (timestamptz_comparison_exp | null),valid_days?: (smallint_comparison_exp | null),valid_to?: (date_comparison_exp | null)}


/** input type for incrementing numeric columns in table "consents" */
export interface consents_inc_input {id?: (Scalars['bigint'] | null),query_id?: (Scalars['bigint'] | null),valid_days?: (Scalars['smallint'] | null)}


/** input type for inserting data into table "consents" */
export interface consents_insert_input {accepted?: (Scalars['Boolean'] | null),artifact_parcel?: (artifact_parcels_obj_rel_insert_input | null),artifact_parcel_id?: (Scalars['uuid'] | null),consent_patients?: (consent_patient_arr_rel_insert_input | null),consent_status?: (consent_status_obj_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),genesis_consent_permissions?: (genesis_consent_permissions_arr_rel_insert_input | null),group?: (groups_enum | null),groupByGroup?: (groups_obj_rel_insert_input | null),id?: (Scalars['bigint'] | null),query?: (queries_obj_rel_insert_input | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),status?: (consent_status_enum | null),title?: (Scalars['String'] | null),type?: (types_enum | null),typeByType?: (types_obj_rel_insert_input | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['smallint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate max on columns */
export interface consents_max_fieldsRequest{
    artifact_parcel_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    id?: boolean | number
    query_id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "consents" */
export interface consents_max_order_by {artifact_parcel_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),description?: (order_by | null),id?: (order_by | null),query_id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** aggregate min on columns */
export interface consents_min_fieldsRequest{
    artifact_parcel_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    description?: boolean | number
    id?: boolean | number
    query_id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    valid_days?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "consents" */
export interface consents_min_order_by {artifact_parcel_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),description?: (order_by | null),id?: (order_by | null),query_id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** response of any mutation on the table "consents" */
export interface consents_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: consentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "consents" */
export interface consents_obj_rel_insert_input {data: consents_insert_input,
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}


/** on_conflict condition type for table "consents" */
export interface consents_on_conflict {constraint: consents_constraint,update_columns: consents_update_column[],where?: (consents_bool_exp | null)}


/** Ordering options when selecting data from "consents". */
export interface consents_order_by {accepted?: (order_by | null),artifact_parcel?: (artifact_parcels_order_by | null),artifact_parcel_id?: (order_by | null),consent_patients_aggregate?: (consent_patient_aggregate_order_by | null),consent_status?: (consent_status_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),description?: (order_by | null),directory_customers?: (directory_customers_order_by | null),genesis_consent_permissions_aggregate?: (genesis_consent_permissions_aggregate_order_by | null),group?: (order_by | null),groupByGroup?: (groups_order_by | null),id?: (order_by | null),query?: (queries_order_by | null),query_id?: (order_by | null),region?: (order_by | null),renew_consent?: (order_by | null),status?: (order_by | null),title?: (order_by | null),type?: (order_by | null),typeByType?: (types_order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null),valid_to?: (order_by | null)}


/** primary key columns input for table: consents */
export interface consents_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "consents" */
export interface consents_set_input {accepted?: (Scalars['Boolean'] | null),artifact_parcel_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),group?: (groups_enum | null),id?: (Scalars['bigint'] | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),status?: (consent_status_enum | null),title?: (Scalars['String'] | null),type?: (types_enum | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['smallint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate stddev on columns */
export interface consents_stddev_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "consents" */
export interface consents_stddev_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface consents_stddev_pop_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "consents" */
export interface consents_stddev_pop_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface consents_stddev_samp_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "consents" */
export interface consents_stddev_samp_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** Streaming cursor of the table "consents" */
export interface consents_stream_cursor_input {
/** Stream column input with initial value */
initial_value: consents_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface consents_stream_cursor_value_input {accepted?: (Scalars['Boolean'] | null),artifact_parcel_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),group?: (groups_enum | null),id?: (Scalars['bigint'] | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),renew_consent?: (Scalars['Boolean'] | null),status?: (consent_status_enum | null),title?: (Scalars['String'] | null),type?: (types_enum | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['smallint'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate sum on columns */
export interface consents_sum_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "consents" */
export interface consents_sum_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}

export interface consents_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consents_set_input | null),
/** filter the rows which have to be updated */
where: consents_bool_exp}


/** aggregate var_pop on columns */
export interface consents_var_pop_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "consents" */
export interface consents_var_pop_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate var_samp on columns */
export interface consents_var_samp_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "consents" */
export interface consents_var_samp_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate variance on columns */
export interface consents_variance_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "consents" */
export interface consents_variance_order_by {id?: (order_by | null),query_id?: (order_by | null),valid_days?: (order_by | null)}


/** columns and relationships of "context_group_context" */
export interface context_group_contextRequest{
    /** An object relationship */
    context?: contextsRequest
    context_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    /** An object relationship */
    group_context?: group_contextRequest
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "context_group_context" */
export interface context_group_context_aggregateRequest{
    aggregate?: context_group_context_aggregate_fieldsRequest
    nodes?: context_group_contextRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface context_group_context_aggregate_bool_exp {count?: (context_group_context_aggregate_bool_exp_count | null)}

export interface context_group_context_aggregate_bool_exp_count {arguments?: (context_group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (context_group_context_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "context_group_context" */
export interface context_group_context_aggregate_fieldsRequest{
    count?: [{columns?: (context_group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: context_group_context_max_fieldsRequest
    min?: context_group_context_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "context_group_context" */
export interface context_group_context_aggregate_order_by {count?: (order_by | null),max?: (context_group_context_max_order_by | null),min?: (context_group_context_min_order_by | null)}


/** input type for inserting array relation for remote table "context_group_context" */
export interface context_group_context_arr_rel_insert_input {data: context_group_context_insert_input[],
/** upsert condition */
on_conflict?: (context_group_context_on_conflict | null)}


/** Boolean expression to filter rows from the table "context_group_context". All fields are combined with a logical 'AND'. */
export interface context_group_context_bool_exp {_and?: (context_group_context_bool_exp[] | null),_not?: (context_group_context_bool_exp | null),_or?: (context_group_context_bool_exp[] | null),context?: (contexts_bool_exp | null),context_id?: (uuid_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),description?: (String_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),group_context?: (group_context_bool_exp | null),group_context_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "context_group_context" */
export interface context_group_context_insert_input {context?: (contexts_obj_rel_insert_input | null),context_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),group_context?: (group_context_obj_rel_insert_input | null),group_context_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface context_group_context_max_fieldsRequest{
    context_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "context_group_context" */
export interface context_group_context_max_order_by {context_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),group_context_id?: (order_by | null)}


/** aggregate min on columns */
export interface context_group_context_min_fieldsRequest{
    context_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "context_group_context" */
export interface context_group_context_min_order_by {context_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),group_context_id?: (order_by | null)}


/** response of any mutation on the table "context_group_context" */
export interface context_group_context_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: context_group_contextRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "context_group_context" */
export interface context_group_context_on_conflict {constraint: context_group_context_constraint,update_columns: context_group_context_update_column[],where?: (context_group_context_bool_exp | null)}


/** Ordering options when selecting data from "context_group_context". */
export interface context_group_context_order_by {context?: (contexts_order_by | null),context_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),directory_customers?: (directory_customers_order_by | null),group_context?: (group_context_order_by | null),group_context_id?: (order_by | null)}


/** primary key columns input for table: context_group_context */
export interface context_group_context_pk_columns_input {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}


/** input type for updating data in table "context_group_context" */
export interface context_group_context_set_input {context_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),group_context_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "context_group_context" */
export interface context_group_context_stream_cursor_input {
/** Stream column input with initial value */
initial_value: context_group_context_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface context_group_context_stream_cursor_value_input {context_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),group_context_id?: (Scalars['uuid'] | null)}

export interface context_group_context_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (context_group_context_set_input | null),
/** filter the rows which have to be updated */
where: context_group_context_bool_exp}


/** columns and relationships of "contexts" */
export interface contextsRequest{
    /** An array relationship */
    context_group_contexts?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_contextRequest] | context_group_contextRequest
    /** An aggregate relationship */
    context_group_contexts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_context_aggregateRequest] | context_group_context_aggregateRequest
    customer_id?: boolean | number
    id?: boolean | number
    /** [deprecated] checks whether exists at least one template of given context with flag user_context_me */
    is_user_context_me?: boolean | number
    label?: boolean | number
    name?: boolean | number
    /** An array relationship */
    templates?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templatesRequest] | templatesRequest
    /** An aggregate relationship */
    templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templates_aggregateRequest] | templates_aggregateRequest
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "contexts" */
export interface contexts_aggregateRequest{
    aggregate?: contexts_aggregate_fieldsRequest
    nodes?: contextsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "contexts" */
export interface contexts_aggregate_fieldsRequest{
    avg?: contexts_avg_fieldsRequest
    count?: [{columns?: (contexts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: contexts_max_fieldsRequest
    min?: contexts_min_fieldsRequest
    stddev?: contexts_stddev_fieldsRequest
    stddev_pop?: contexts_stddev_pop_fieldsRequest
    stddev_samp?: contexts_stddev_samp_fieldsRequest
    sum?: contexts_sum_fieldsRequest
    var_pop?: contexts_var_pop_fieldsRequest
    var_samp?: contexts_var_samp_fieldsRequest
    variance?: contexts_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface contexts_avg_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "contexts". All fields are combined with a logical 'AND'. */
export interface contexts_bool_exp {_and?: (contexts_bool_exp[] | null),_not?: (contexts_bool_exp | null),_or?: (contexts_bool_exp[] | null),context_group_contexts?: (context_group_context_bool_exp | null),context_group_contexts_aggregate?: (context_group_context_aggregate_bool_exp | null),customer_id?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),is_user_context_me?: (Boolean_comparison_exp | null),label?: (String_comparison_exp | null),name?: (String_comparison_exp | null),templates?: (templates_bool_exp | null),templates_aggregate?: (templates_aggregate_bool_exp | null),templates_count?: (bigint_comparison_exp | null)}


/** input type for inserting data into table "contexts" */
export interface contexts_insert_input {context_group_contexts?: (context_group_context_arr_rel_insert_input | null),customer_id?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null),templates?: (templates_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface contexts_max_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    label?: boolean | number
    name?: boolean | number
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface contexts_min_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    label?: boolean | number
    name?: boolean | number
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "contexts" */
export interface contexts_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: contextsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "contexts" */
export interface contexts_obj_rel_insert_input {data: contexts_insert_input,
/** upsert condition */
on_conflict?: (contexts_on_conflict | null)}


/** on_conflict condition type for table "contexts" */
export interface contexts_on_conflict {constraint: contexts_constraint,update_columns: contexts_update_column[],where?: (contexts_bool_exp | null)}


/** Ordering options when selecting data from "contexts". */
export interface contexts_order_by {context_group_contexts_aggregate?: (context_group_context_aggregate_order_by | null),customer_id?: (order_by | null),id?: (order_by | null),is_user_context_me?: (order_by | null),label?: (order_by | null),name?: (order_by | null),templates_aggregate?: (templates_aggregate_order_by | null),templates_count?: (order_by | null)}


/** primary key columns input for table: contexts */
export interface contexts_pk_columns_input {customer_id: Scalars['String'],name: Scalars['String']}


/** input type for updating data in table "contexts" */
export interface contexts_set_input {customer_id?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface contexts_stddev_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface contexts_stddev_pop_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface contexts_stddev_samp_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "contexts" */
export interface contexts_stream_cursor_input {
/** Stream column input with initial value */
initial_value: contexts_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface contexts_stream_cursor_value_input {customer_id?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface contexts_sum_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface contexts_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (contexts_set_input | null),
/** filter the rows which have to be updated */
where: contexts_bool_exp}


/** aggregate var_pop on columns */
export interface contexts_var_pop_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface contexts_var_samp_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface contexts_variance_fieldsRequest{
    /** A computed field, executes function "templates_count" */
    templates_count?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "custom_db_nodes" */
export interface custom_db_nodesRequest{
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    value?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    value_old?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "custom_db_nodes" */
export interface custom_db_nodes_aggregateRequest{
    aggregate?: custom_db_nodes_aggregate_fieldsRequest
    nodes?: custom_db_nodesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "custom_db_nodes" */
export interface custom_db_nodes_aggregate_fieldsRequest{
    avg?: custom_db_nodes_avg_fieldsRequest
    count?: [{columns?: (custom_db_nodes_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: custom_db_nodes_max_fieldsRequest
    min?: custom_db_nodes_min_fieldsRequest
    stddev?: custom_db_nodes_stddev_fieldsRequest
    stddev_pop?: custom_db_nodes_stddev_pop_fieldsRequest
    stddev_samp?: custom_db_nodes_stddev_samp_fieldsRequest
    sum?: custom_db_nodes_sum_fieldsRequest
    var_pop?: custom_db_nodes_var_pop_fieldsRequest
    var_samp?: custom_db_nodes_var_samp_fieldsRequest
    variance?: custom_db_nodes_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface custom_db_nodes_append_input {value?: (Scalars['jsonb'] | null)}


/** aggregate avg on columns */
export interface custom_db_nodes_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "custom_db_nodes". All fields are combined with a logical 'AND'. */
export interface custom_db_nodes_bool_exp {_and?: (custom_db_nodes_bool_exp[] | null),_not?: (custom_db_nodes_bool_exp | null),_or?: (custom_db_nodes_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),id?: (bigint_comparison_exp | null),region?: (String_comparison_exp | null),value?: (jsonb_comparison_exp | null),value_old?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface custom_db_nodes_delete_at_path_input {value?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface custom_db_nodes_delete_elem_input {value?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface custom_db_nodes_delete_key_input {value?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "custom_db_nodes" */
export interface custom_db_nodes_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "custom_db_nodes" */
export interface custom_db_nodes_insert_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),value?: (Scalars['jsonb'] | null),value_old?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface custom_db_nodes_max_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    value_old?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface custom_db_nodes_min_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    value_old?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "custom_db_nodes" */
export interface custom_db_nodes_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: custom_db_nodesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "custom_db_nodes" */
export interface custom_db_nodes_on_conflict {constraint: custom_db_nodes_constraint,update_columns: custom_db_nodes_update_column[],where?: (custom_db_nodes_bool_exp | null)}


/** Ordering options when selecting data from "custom_db_nodes". */
export interface custom_db_nodes_order_by {customer_id?: (order_by | null),id?: (order_by | null),region?: (order_by | null),value?: (order_by | null),value_old?: (order_by | null)}


/** primary key columns input for table: custom_db_nodes */
export interface custom_db_nodes_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface custom_db_nodes_prepend_input {value?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "custom_db_nodes" */
export interface custom_db_nodes_set_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),value?: (Scalars['jsonb'] | null),value_old?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface custom_db_nodes_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface custom_db_nodes_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface custom_db_nodes_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "custom_db_nodes" */
export interface custom_db_nodes_stream_cursor_input {
/** Stream column input with initial value */
initial_value: custom_db_nodes_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface custom_db_nodes_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),value?: (Scalars['jsonb'] | null),value_old?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface custom_db_nodes_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface custom_db_nodes_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (custom_db_nodes_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
/** 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_elem?: (custom_db_nodes_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (custom_db_nodes_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (custom_db_nodes_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (custom_db_nodes_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (custom_db_nodes_set_input | null),
/** filter the rows which have to be updated */
where: custom_db_nodes_bool_exp}


/** aggregate var_pop on columns */
export interface custom_db_nodes_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface custom_db_nodes_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface custom_db_nodes_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. */
export interface date_comparison_exp {_eq?: (Scalars['date'] | null),_gt?: (Scalars['date'] | null),_gte?: (Scalars['date'] | null),_in?: (Scalars['date'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['date'] | null),_lte?: (Scalars['date'] | null),_neq?: (Scalars['date'] | null),_nin?: (Scalars['date'][] | null)}


/** columns and relationships of "directory_customers" */
export interface directory_customersRequest{
    connector?: boolean | number
    id?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_customers" */
export interface directory_customers_aggregateRequest{
    aggregate?: directory_customers_aggregate_fieldsRequest
    nodes?: directory_customersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "directory_customers" */
export interface directory_customers_aggregate_fieldsRequest{
    count?: [{columns?: (directory_customers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_customers_max_fieldsRequest
    min?: directory_customers_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "directory_customers". All fields are combined with a logical 'AND'. */
export interface directory_customers_bool_exp {_and?: (directory_customers_bool_exp[] | null),_not?: (directory_customers_bool_exp | null),_or?: (directory_customers_bool_exp[] | null),connector?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),name?: (String_comparison_exp | null)}


/** input type for inserting data into table "directory_customers" */
export interface directory_customers_insert_input {connector?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface directory_customers_max_fieldsRequest{
    connector?: boolean | number
    id?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_customers_min_fieldsRequest{
    connector?: boolean | number
    id?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "directory_customers" */
export interface directory_customers_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_customersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "directory_customers" */
export interface directory_customers_obj_rel_insert_input {data: directory_customers_insert_input,
/** upsert condition */
on_conflict?: (directory_customers_on_conflict | null)}


/** on_conflict condition type for table "directory_customers" */
export interface directory_customers_on_conflict {constraint: directory_customers_constraint,update_columns: directory_customers_update_column[],where?: (directory_customers_bool_exp | null)}


/** Ordering options when selecting data from "directory_customers". */
export interface directory_customers_order_by {connector?: (order_by | null),id?: (order_by | null),name?: (order_by | null)}


/** primary key columns input for table: directory_customers */
export interface directory_customers_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "directory_customers" */
export interface directory_customers_set_input {connector?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "directory_customers" */
export interface directory_customers_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_customers_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface directory_customers_stream_cursor_value_input {connector?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),name?: (Scalars['String'] | null)}

export interface directory_customers_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_customers_set_input | null),
/** filter the rows which have to be updated */
where: directory_customers_bool_exp}


/** columns and relationships of "directory_user_name" */
export interface directory_user_nameRequest{
    first_name?: boolean | number
    last_name?: boolean | number
    middle_name?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_user_name" */
export interface directory_user_name_aggregateRequest{
    aggregate?: directory_user_name_aggregate_fieldsRequest
    nodes?: directory_user_nameRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "directory_user_name" */
export interface directory_user_name_aggregate_fieldsRequest{
    count?: [{columns?: (directory_user_name_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_user_name_max_fieldsRequest
    min?: directory_user_name_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "directory_user_name". All fields are combined with a logical 'AND'. */
export interface directory_user_name_bool_exp {_and?: (directory_user_name_bool_exp[] | null),_not?: (directory_user_name_bool_exp | null),_or?: (directory_user_name_bool_exp[] | null),first_name?: (String_comparison_exp | null),last_name?: (String_comparison_exp | null),middle_name?: (String_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "directory_user_name" */
export interface directory_user_name_insert_input {first_name?: (Scalars['String'] | null),last_name?: (Scalars['String'] | null),middle_name?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_user_name_max_fieldsRequest{
    first_name?: boolean | number
    last_name?: boolean | number
    middle_name?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_user_name_min_fieldsRequest{
    first_name?: boolean | number
    last_name?: boolean | number
    middle_name?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "directory_user_name" */
export interface directory_user_name_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_user_nameRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "directory_user_name" */
export interface directory_user_name_obj_rel_insert_input {data: directory_user_name_insert_input,
/** upsert condition */
on_conflict?: (directory_user_name_on_conflict | null)}


/** on_conflict condition type for table "directory_user_name" */
export interface directory_user_name_on_conflict {constraint: directory_user_name_constraint,update_columns: directory_user_name_update_column[],where?: (directory_user_name_bool_exp | null)}


/** Ordering options when selecting data from "directory_user_name". */
export interface directory_user_name_order_by {first_name?: (order_by | null),last_name?: (order_by | null),middle_name?: (order_by | null),user_id?: (order_by | null)}


/** primary key columns input for table: directory_user_name */
export interface directory_user_name_pk_columns_input {user_id: Scalars['uuid']}


/** input type for updating data in table "directory_user_name" */
export interface directory_user_name_set_input {first_name?: (Scalars['String'] | null),last_name?: (Scalars['String'] | null),middle_name?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "directory_user_name" */
export interface directory_user_name_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_user_name_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface directory_user_name_stream_cursor_value_input {first_name?: (Scalars['String'] | null),last_name?: (Scalars['String'] | null),middle_name?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}

export interface directory_user_name_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_name_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_name_bool_exp}


/** columns and relationships of "document_patient" */
export interface document_patientRequest{
    active?: boolean | number
    actno?: boolean | number
    /** An array relationship */
    adopus_AdgangLinjer?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjerRequest] | adopus_AdgangLinjerRequest
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjer_aggregateRequest] | adopus_AdgangLinjer_aggregateRequest
    archived?: boolean | number
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_package_id?: boolean | number
    category?: boolean | number
    create_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    /** An object relationship */
    customers?: directory_customersRequest
    delete_comment?: boolean | number
    deleted_at?: boolean | number
    deleted_by?: boolean | number
    /** An object relationship */
    directory_user_name_patient_id?: directory_user_nameRequest
    /** An object relationship */
    document?: documentsRequest
    document_id?: boolean | number
    for_signing?: boolean | number
    hide_for_patient?: boolean | number
    imported_to_epr?: boolean | number
    pades_path?: boolean | number
    patient_id?: boolean | number
    scroll_mode?: boolean | number
    /** An object relationship */
    securityLevelBySecurityLevel?: security_levelsRequest
    security_level?: boolean | number
    seen_by_patient?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    signicat_request_id?: boolean | number
    signicat_status?: boolean | number
    signicat_task_id?: boolean | number
    soknad_id?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    xades_path?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "document_patient" */
export interface document_patient_aggregateRequest{
    aggregate?: document_patient_aggregate_fieldsRequest
    nodes?: document_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface document_patient_aggregate_bool_exp {bool_and?: (document_patient_aggregate_bool_exp_bool_and | null),bool_or?: (document_patient_aggregate_bool_exp_bool_or | null),count?: (document_patient_aggregate_bool_exp_count | null)}

export interface document_patient_aggregate_bool_exp_bool_and {arguments: document_patient_select_column_document_patient_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (document_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface document_patient_aggregate_bool_exp_bool_or {arguments: document_patient_select_column_document_patient_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (document_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface document_patient_aggregate_bool_exp_count {arguments?: (document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (document_patient_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "document_patient" */
export interface document_patient_aggregate_fieldsRequest{
    avg?: document_patient_avg_fieldsRequest
    count?: [{columns?: (document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: document_patient_max_fieldsRequest
    min?: document_patient_min_fieldsRequest
    stddev?: document_patient_stddev_fieldsRequest
    stddev_pop?: document_patient_stddev_pop_fieldsRequest
    stddev_samp?: document_patient_stddev_samp_fieldsRequest
    sum?: document_patient_sum_fieldsRequest
    var_pop?: document_patient_var_pop_fieldsRequest
    var_samp?: document_patient_var_samp_fieldsRequest
    variance?: document_patient_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "document_patient" */
export interface document_patient_aggregate_order_by {avg?: (document_patient_avg_order_by | null),count?: (order_by | null),max?: (document_patient_max_order_by | null),min?: (document_patient_min_order_by | null),stddev?: (document_patient_stddev_order_by | null),stddev_pop?: (document_patient_stddev_pop_order_by | null),stddev_samp?: (document_patient_stddev_samp_order_by | null),sum?: (document_patient_sum_order_by | null),var_pop?: (document_patient_var_pop_order_by | null),var_samp?: (document_patient_var_samp_order_by | null),variance?: (document_patient_variance_order_by | null)}


/** input type for inserting array relation for remote table "document_patient" */
export interface document_patient_arr_rel_insert_input {data: document_patient_insert_input[],
/** upsert condition */
on_conflict?: (document_patient_on_conflict | null)}


/** aggregate avg on columns */
export interface document_patient_avg_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "document_patient" */
export interface document_patient_avg_order_by {document_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "document_patient". All fields are combined with a logical 'AND'. */
export interface document_patient_bool_exp {_and?: (document_patient_bool_exp[] | null),_not?: (document_patient_bool_exp | null),_or?: (document_patient_bool_exp[] | null),active?: (Boolean_comparison_exp | null),actno?: (String_comparison_exp | null),adopus_AdgangLinjer?: (adopus_AdgangLinjer_bool_exp | null),adopus_AdgangLinjer_aggregate?: (adopus_AdgangLinjer_aggregate_bool_exp | null),archived?: (Boolean_comparison_exp | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_package_id?: (uuid_comparison_exp | null),category?: (String_comparison_exp | null),create_user_id?: (uuid_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),customers?: (directory_customers_bool_exp | null),delete_comment?: (String_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),deleted_by?: (uuid_comparison_exp | null),directory_user_name_patient_id?: (directory_user_name_bool_exp | null),document?: (documents_bool_exp | null),document_id?: (bigint_comparison_exp | null),for_signing?: (Boolean_comparison_exp | null),hide_for_patient?: (Boolean_comparison_exp | null),imported_to_epr?: (Boolean_comparison_exp | null),pades_path?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),scroll_mode?: (Boolean_comparison_exp | null),securityLevelBySecurityLevel?: (security_levels_bool_exp | null),security_level?: (String_comparison_exp | null),seen_by_patient?: (Boolean_comparison_exp | null),seen_by_therapist?: (Boolean_comparison_exp | null),share_with_recipient?: (Boolean_comparison_exp | null),signicat_request_id?: (String_comparison_exp | null),signicat_status?: (String_comparison_exp | null),signicat_task_id?: (String_comparison_exp | null),soknad_id?: (String_comparison_exp | null),token?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),xades_path?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "document_patient" */
export interface document_patient_inc_input {document_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "document_patient" */
export interface document_patient_insert_input {active?: (Scalars['Boolean'] | null),actno?: (Scalars['String'] | null),adopus_AdgangLinjer?: (adopus_AdgangLinjer_arr_rel_insert_input | null),archived?: (Scalars['Boolean'] | null),artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_package_id?: (Scalars['uuid'] | null),category?: (Scalars['String'] | null),create_user_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),customers?: (directory_customers_obj_rel_insert_input | null),delete_comment?: (Scalars['String'] | null),deleted_at?: (Scalars['timestamptz'] | null),deleted_by?: (Scalars['uuid'] | null),directory_user_name_patient_id?: (directory_user_name_obj_rel_insert_input | null),document?: (documents_obj_rel_insert_input | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),pades_path?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),scroll_mode?: (Scalars['Boolean'] | null),securityLevelBySecurityLevel?: (security_levels_obj_rel_insert_input | null),security_level?: (Scalars['String'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),signicat_request_id?: (Scalars['String'] | null),signicat_status?: (Scalars['String'] | null),signicat_task_id?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),xades_path?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface document_patient_max_fieldsRequest{
    actno?: boolean | number
    artifact_package_id?: boolean | number
    category?: boolean | number
    create_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    delete_comment?: boolean | number
    deleted_at?: boolean | number
    deleted_by?: boolean | number
    document_id?: boolean | number
    pades_path?: boolean | number
    patient_id?: boolean | number
    security_level?: boolean | number
    signicat_request_id?: boolean | number
    signicat_status?: boolean | number
    signicat_task_id?: boolean | number
    soknad_id?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    xades_path?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "document_patient" */
export interface document_patient_max_order_by {actno?: (order_by | null),artifact_package_id?: (order_by | null),category?: (order_by | null),create_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),delete_comment?: (order_by | null),deleted_at?: (order_by | null),deleted_by?: (order_by | null),document_id?: (order_by | null),pades_path?: (order_by | null),patient_id?: (order_by | null),security_level?: (order_by | null),signicat_request_id?: (order_by | null),signicat_status?: (order_by | null),signicat_task_id?: (order_by | null),soknad_id?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),xades_path?: (order_by | null)}


/** aggregate min on columns */
export interface document_patient_min_fieldsRequest{
    actno?: boolean | number
    artifact_package_id?: boolean | number
    category?: boolean | number
    create_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    delete_comment?: boolean | number
    deleted_at?: boolean | number
    deleted_by?: boolean | number
    document_id?: boolean | number
    pades_path?: boolean | number
    patient_id?: boolean | number
    security_level?: boolean | number
    signicat_request_id?: boolean | number
    signicat_status?: boolean | number
    signicat_task_id?: boolean | number
    soknad_id?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    xades_path?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "document_patient" */
export interface document_patient_min_order_by {actno?: (order_by | null),artifact_package_id?: (order_by | null),category?: (order_by | null),create_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),delete_comment?: (order_by | null),deleted_at?: (order_by | null),deleted_by?: (order_by | null),document_id?: (order_by | null),pades_path?: (order_by | null),patient_id?: (order_by | null),security_level?: (order_by | null),signicat_request_id?: (order_by | null),signicat_status?: (order_by | null),signicat_task_id?: (order_by | null),soknad_id?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),xades_path?: (order_by | null)}


/** response of any mutation on the table "document_patient" */
export interface document_patient_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: document_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "document_patient" */
export interface document_patient_on_conflict {constraint: document_patient_constraint,update_columns: document_patient_update_column[],where?: (document_patient_bool_exp | null)}


/** Ordering options when selecting data from "document_patient". */
export interface document_patient_order_by {active?: (order_by | null),actno?: (order_by | null),adopus_AdgangLinjer_aggregate?: (adopus_AdgangLinjer_aggregate_order_by | null),archived?: (order_by | null),artifact_package?: (artifact_packages_order_by | null),artifact_package_id?: (order_by | null),category?: (order_by | null),create_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),customers?: (directory_customers_order_by | null),delete_comment?: (order_by | null),deleted_at?: (order_by | null),deleted_by?: (order_by | null),directory_user_name_patient_id?: (directory_user_name_order_by | null),document?: (documents_order_by | null),document_id?: (order_by | null),for_signing?: (order_by | null),hide_for_patient?: (order_by | null),imported_to_epr?: (order_by | null),pades_path?: (order_by | null),patient_id?: (order_by | null),scroll_mode?: (order_by | null),securityLevelBySecurityLevel?: (security_levels_order_by | null),security_level?: (order_by | null),seen_by_patient?: (order_by | null),seen_by_therapist?: (order_by | null),share_with_recipient?: (order_by | null),signicat_request_id?: (order_by | null),signicat_status?: (order_by | null),signicat_task_id?: (order_by | null),soknad_id?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),xades_path?: (order_by | null)}


/** primary key columns input for table: document_patient */
export interface document_patient_pk_columns_input {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}


/** input type for updating data in table "document_patient" */
export interface document_patient_set_input {active?: (Scalars['Boolean'] | null),actno?: (Scalars['String'] | null),archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),category?: (Scalars['String'] | null),create_user_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),delete_comment?: (Scalars['String'] | null),deleted_at?: (Scalars['timestamptz'] | null),deleted_by?: (Scalars['uuid'] | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),pades_path?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),scroll_mode?: (Scalars['Boolean'] | null),security_level?: (Scalars['String'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),signicat_request_id?: (Scalars['String'] | null),signicat_status?: (Scalars['String'] | null),signicat_task_id?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),xades_path?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface document_patient_stddev_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "document_patient" */
export interface document_patient_stddev_order_by {document_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface document_patient_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "document_patient" */
export interface document_patient_stddev_pop_order_by {document_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface document_patient_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "document_patient" */
export interface document_patient_stddev_samp_order_by {document_id?: (order_by | null)}


/** Streaming cursor of the table "document_patient" */
export interface document_patient_stream_cursor_input {
/** Stream column input with initial value */
initial_value: document_patient_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface document_patient_stream_cursor_value_input {active?: (Scalars['Boolean'] | null),actno?: (Scalars['String'] | null),archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),category?: (Scalars['String'] | null),create_user_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),delete_comment?: (Scalars['String'] | null),deleted_at?: (Scalars['timestamptz'] | null),deleted_by?: (Scalars['uuid'] | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),pades_path?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),scroll_mode?: (Scalars['Boolean'] | null),security_level?: (Scalars['String'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),signicat_request_id?: (Scalars['String'] | null),signicat_status?: (Scalars['String'] | null),signicat_task_id?: (Scalars['String'] | null),soknad_id?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),xades_path?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface document_patient_sum_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "document_patient" */
export interface document_patient_sum_order_by {document_id?: (order_by | null)}

export interface document_patient_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_patient_set_input | null),
/** filter the rows which have to be updated */
where: document_patient_bool_exp}


/** aggregate var_pop on columns */
export interface document_patient_var_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "document_patient" */
export interface document_patient_var_pop_order_by {document_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface document_patient_var_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "document_patient" */
export interface document_patient_var_samp_order_by {document_id?: (order_by | null)}


/** aggregate variance on columns */
export interface document_patient_variance_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "document_patient" */
export interface document_patient_variance_order_by {document_id?: (order_by | null)}


/** columns and relationships of "document_sms" */
export interface document_smsRequest{
    /** An object relationship */
    document?: documentsRequest
    document_id?: boolean | number
    /** An object relationship */
    sm?: smsRequest
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "document_sms" */
export interface document_sms_aggregateRequest{
    aggregate?: document_sms_aggregate_fieldsRequest
    nodes?: document_smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface document_sms_aggregate_bool_exp {count?: (document_sms_aggregate_bool_exp_count | null)}

export interface document_sms_aggregate_bool_exp_count {arguments?: (document_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (document_sms_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "document_sms" */
export interface document_sms_aggregate_fieldsRequest{
    avg?: document_sms_avg_fieldsRequest
    count?: [{columns?: (document_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: document_sms_max_fieldsRequest
    min?: document_sms_min_fieldsRequest
    stddev?: document_sms_stddev_fieldsRequest
    stddev_pop?: document_sms_stddev_pop_fieldsRequest
    stddev_samp?: document_sms_stddev_samp_fieldsRequest
    sum?: document_sms_sum_fieldsRequest
    var_pop?: document_sms_var_pop_fieldsRequest
    var_samp?: document_sms_var_samp_fieldsRequest
    variance?: document_sms_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "document_sms" */
export interface document_sms_aggregate_order_by {avg?: (document_sms_avg_order_by | null),count?: (order_by | null),max?: (document_sms_max_order_by | null),min?: (document_sms_min_order_by | null),stddev?: (document_sms_stddev_order_by | null),stddev_pop?: (document_sms_stddev_pop_order_by | null),stddev_samp?: (document_sms_stddev_samp_order_by | null),sum?: (document_sms_sum_order_by | null),var_pop?: (document_sms_var_pop_order_by | null),var_samp?: (document_sms_var_samp_order_by | null),variance?: (document_sms_variance_order_by | null)}


/** input type for inserting array relation for remote table "document_sms" */
export interface document_sms_arr_rel_insert_input {data: document_sms_insert_input[]}


/** aggregate avg on columns */
export interface document_sms_avg_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "document_sms" */
export interface document_sms_avg_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "document_sms". All fields are combined with a logical 'AND'. */
export interface document_sms_bool_exp {_and?: (document_sms_bool_exp[] | null),_not?: (document_sms_bool_exp | null),_or?: (document_sms_bool_exp[] | null),document?: (documents_bool_exp | null),document_id?: (bigint_comparison_exp | null),sm?: (sms_bool_exp | null),sms_id?: (bigint_comparison_exp | null)}


/** input type for incrementing numeric columns in table "document_sms" */
export interface document_sms_inc_input {document_id?: (Scalars['bigint'] | null),sms_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "document_sms" */
export interface document_sms_insert_input {document?: (documents_obj_rel_insert_input | null),document_id?: (Scalars['bigint'] | null),sm?: (sms_obj_rel_insert_input | null),sms_id?: (Scalars['bigint'] | null)}


/** aggregate max on columns */
export interface document_sms_max_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "document_sms" */
export interface document_sms_max_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** aggregate min on columns */
export interface document_sms_min_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "document_sms" */
export interface document_sms_min_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** response of any mutation on the table "document_sms" */
export interface document_sms_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: document_smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "document_sms". */
export interface document_sms_order_by {document?: (documents_order_by | null),document_id?: (order_by | null),sm?: (sms_order_by | null),sms_id?: (order_by | null)}


/** input type for updating data in table "document_sms" */
export interface document_sms_set_input {document_id?: (Scalars['bigint'] | null),sms_id?: (Scalars['bigint'] | null)}


/** aggregate stddev on columns */
export interface document_sms_stddev_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "document_sms" */
export interface document_sms_stddev_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface document_sms_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "document_sms" */
export interface document_sms_stddev_pop_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface document_sms_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "document_sms" */
export interface document_sms_stddev_samp_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** Streaming cursor of the table "document_sms" */
export interface document_sms_stream_cursor_input {
/** Stream column input with initial value */
initial_value: document_sms_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface document_sms_stream_cursor_value_input {document_id?: (Scalars['bigint'] | null),sms_id?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface document_sms_sum_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "document_sms" */
export interface document_sms_sum_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}

export interface document_sms_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_sms_set_input | null),
/** filter the rows which have to be updated */
where: document_sms_bool_exp}


/** aggregate var_pop on columns */
export interface document_sms_var_pop_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "document_sms" */
export interface document_sms_var_pop_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface document_sms_var_samp_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "document_sms" */
export interface document_sms_var_samp_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** aggregate variance on columns */
export interface document_sms_variance_fieldsRequest{
    document_id?: boolean | number
    sms_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "document_sms" */
export interface document_sms_variance_order_by {document_id?: (order_by | null),sms_id?: (order_by | null)}


/** columns and relationships of "documents" */
export interface documentsRequest{
    /** An object relationship */
    artifact_parcel?: artifact_parcelsRequest
    artifact_parcel_id?: boolean | number
    auto_import?: boolean | number
    combine_signatures?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An object relationship */
    directory_user_name_upload_patient_id?: directory_user_nameRequest
    /** An array relationship */
    document_patients?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest] | document_patientRequest
    /** An aggregate relationship */
    document_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patient_aggregateRequest] | document_patient_aggregateRequest
    /** An array relationship */
    document_sms?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_smsRequest] | document_smsRequest
    /** An aggregate relationship */
    document_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_sms_aggregateRequest] | document_sms_aggregateRequest
    id?: boolean | number
    name?: boolean | number
    path?: boolean | number
    /** An object relationship */
    queries?: queriesRequest
    /** An object relationship */
    queries_log?: queries_logRequest
    region?: boolean | number
    sds_id?: boolean | number
    signed_by_therapist?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "documents" */
export interface documents_aggregateRequest{
    aggregate?: documents_aggregate_fieldsRequest
    nodes?: documentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface documents_aggregate_bool_exp {bool_and?: (documents_aggregate_bool_exp_bool_and | null),bool_or?: (documents_aggregate_bool_exp_bool_or | null),count?: (documents_aggregate_bool_exp_count | null)}

export interface documents_aggregate_bool_exp_bool_and {arguments: documents_select_column_documents_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (documents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface documents_aggregate_bool_exp_bool_or {arguments: documents_select_column_documents_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (documents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface documents_aggregate_bool_exp_count {arguments?: (documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (documents_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "documents" */
export interface documents_aggregate_fieldsRequest{
    avg?: documents_avg_fieldsRequest
    count?: [{columns?: (documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: documents_max_fieldsRequest
    min?: documents_min_fieldsRequest
    stddev?: documents_stddev_fieldsRequest
    stddev_pop?: documents_stddev_pop_fieldsRequest
    stddev_samp?: documents_stddev_samp_fieldsRequest
    sum?: documents_sum_fieldsRequest
    var_pop?: documents_var_pop_fieldsRequest
    var_samp?: documents_var_samp_fieldsRequest
    variance?: documents_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "documents" */
export interface documents_aggregate_order_by {avg?: (documents_avg_order_by | null),count?: (order_by | null),max?: (documents_max_order_by | null),min?: (documents_min_order_by | null),stddev?: (documents_stddev_order_by | null),stddev_pop?: (documents_stddev_pop_order_by | null),stddev_samp?: (documents_stddev_samp_order_by | null),sum?: (documents_sum_order_by | null),var_pop?: (documents_var_pop_order_by | null),var_samp?: (documents_var_samp_order_by | null),variance?: (documents_variance_order_by | null)}


/** input type for inserting array relation for remote table "documents" */
export interface documents_arr_rel_insert_input {data: documents_insert_input[],
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}


/** aggregate avg on columns */
export interface documents_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "documents" */
export interface documents_avg_order_by {id?: (order_by | null)}


/** Boolean expression to filter rows from the table "documents". All fields are combined with a logical 'AND'. */
export interface documents_bool_exp {_and?: (documents_bool_exp[] | null),_not?: (documents_bool_exp | null),_or?: (documents_bool_exp[] | null),artifact_parcel?: (artifact_parcels_bool_exp | null),artifact_parcel_id?: (uuid_comparison_exp | null),auto_import?: (Boolean_comparison_exp | null),combine_signatures?: (Boolean_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directory_user_name_upload_patient_id?: (directory_user_name_bool_exp | null),document_patients?: (document_patient_bool_exp | null),document_patients_aggregate?: (document_patient_aggregate_bool_exp | null),document_sms?: (document_sms_bool_exp | null),document_sms_aggregate?: (document_sms_aggregate_bool_exp | null),id?: (bigint_comparison_exp | null),name?: (String_comparison_exp | null),path?: (String_comparison_exp | null),queries?: (queries_bool_exp | null),queries_log?: (queries_log_bool_exp | null),region?: (String_comparison_exp | null),sds_id?: (String_comparison_exp | null),signed_by_therapist?: (Boolean_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),upload_patient_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "documents" */
export interface documents_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "documents" */
export interface documents_insert_input {artifact_parcel?: (artifact_parcels_obj_rel_insert_input | null),artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),directory_user_name_upload_patient_id?: (directory_user_name_obj_rel_insert_input | null),document_patients?: (document_patient_arr_rel_insert_input | null),document_sms?: (document_sms_arr_rel_insert_input | null),id?: (Scalars['bigint'] | null),name?: (Scalars['String'] | null),path?: (Scalars['String'] | null),queries?: (queries_obj_rel_insert_input | null),queries_log?: (queries_log_obj_rel_insert_input | null),region?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface documents_max_fieldsRequest{
    artifact_parcel_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    name?: boolean | number
    path?: boolean | number
    region?: boolean | number
    sds_id?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "documents" */
export interface documents_max_order_by {artifact_parcel_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),name?: (order_by | null),path?: (order_by | null),region?: (order_by | null),sds_id?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** aggregate min on columns */
export interface documents_min_fieldsRequest{
    artifact_parcel_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    name?: boolean | number
    path?: boolean | number
    region?: boolean | number
    sds_id?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "documents" */
export interface documents_min_order_by {artifact_parcel_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),name?: (order_by | null),path?: (order_by | null),region?: (order_by | null),sds_id?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** response of any mutation on the table "documents" */
export interface documents_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: documentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "documents" */
export interface documents_obj_rel_insert_input {data: documents_insert_input,
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}


/** on_conflict condition type for table "documents" */
export interface documents_on_conflict {constraint: documents_constraint,update_columns: documents_update_column[],where?: (documents_bool_exp | null)}


/** Ordering options when selecting data from "documents". */
export interface documents_order_by {artifact_parcel?: (artifact_parcels_order_by | null),artifact_parcel_id?: (order_by | null),auto_import?: (order_by | null),combine_signatures?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),directory_user_name_upload_patient_id?: (directory_user_name_order_by | null),document_patients_aggregate?: (document_patient_aggregate_order_by | null),document_sms_aggregate?: (document_sms_aggregate_order_by | null),id?: (order_by | null),name?: (order_by | null),path?: (order_by | null),queries?: (queries_order_by | null),queries_log?: (queries_log_order_by | null),region?: (order_by | null),sds_id?: (order_by | null),signed_by_therapist?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** columns and relationships of "documents_overview" */
export interface documents_overviewRequest{
    completed?: boolean | number
    customer_id?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "documents_overview" */
export interface documents_overview_aggregateRequest{
    aggregate?: documents_overview_aggregate_fieldsRequest
    nodes?: documents_overviewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "documents_overview" */
export interface documents_overview_aggregate_fieldsRequest{
    avg?: documents_overview_avg_fieldsRequest
    count?: [{columns?: (documents_overview_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: documents_overview_max_fieldsRequest
    min?: documents_overview_min_fieldsRequest
    stddev?: documents_overview_stddev_fieldsRequest
    stddev_pop?: documents_overview_stddev_pop_fieldsRequest
    stddev_samp?: documents_overview_stddev_samp_fieldsRequest
    sum?: documents_overview_sum_fieldsRequest
    var_pop?: documents_overview_var_pop_fieldsRequest
    var_samp?: documents_overview_var_samp_fieldsRequest
    variance?: documents_overview_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface documents_overview_avg_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "documents_overview". All fields are combined with a logical 'AND'. */
export interface documents_overview_bool_exp {_and?: (documents_overview_bool_exp[] | null),_not?: (documents_overview_bool_exp | null),_or?: (documents_overview_bool_exp[] | null),completed?: (bigint_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),shared_docs?: (bigint_comparison_exp | null),waiting?: (bigint_comparison_exp | null)}


/** aggregate max on columns */
export interface documents_overview_max_fieldsRequest{
    completed?: boolean | number
    customer_id?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface documents_overview_min_fieldsRequest{
    completed?: boolean | number
    customer_id?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "documents_overview". */
export interface documents_overview_order_by {completed?: (order_by | null),customer_id?: (order_by | null),shared_docs?: (order_by | null),waiting?: (order_by | null)}


/** aggregate stddev on columns */
export interface documents_overview_stddev_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface documents_overview_stddev_pop_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface documents_overview_stddev_samp_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "documents_overview" */
export interface documents_overview_stream_cursor_input {
/** Stream column input with initial value */
initial_value: documents_overview_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface documents_overview_stream_cursor_value_input {completed?: (Scalars['bigint'] | null),customer_id?: (Scalars['uuid'] | null),shared_docs?: (Scalars['bigint'] | null),waiting?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface documents_overview_sum_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_pop on columns */
export interface documents_overview_var_pop_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface documents_overview_var_samp_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface documents_overview_variance_fieldsRequest{
    completed?: boolean | number
    shared_docs?: boolean | number
    waiting?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** primary key columns input for table: documents */
export interface documents_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "documents" */
export interface documents_set_input {artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),name?: (Scalars['String'] | null),path?: (Scalars['String'] | null),region?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface documents_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "documents" */
export interface documents_stddev_order_by {id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface documents_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "documents" */
export interface documents_stddev_pop_order_by {id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface documents_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "documents" */
export interface documents_stddev_samp_order_by {id?: (order_by | null)}


/** Streaming cursor of the table "documents" */
export interface documents_stream_cursor_input {
/** Stream column input with initial value */
initial_value: documents_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface documents_stream_cursor_value_input {artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),name?: (Scalars['String'] | null),path?: (Scalars['String'] | null),region?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),updated_at?: (Scalars['timestamptz'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface documents_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "documents" */
export interface documents_sum_order_by {id?: (order_by | null)}

export interface documents_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (documents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (documents_set_input | null),
/** filter the rows which have to be updated */
where: documents_bool_exp}


/** aggregate var_pop on columns */
export interface documents_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "documents" */
export interface documents_var_pop_order_by {id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface documents_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "documents" */
export interface documents_var_samp_order_by {id?: (order_by | null)}


/** aggregate variance on columns */
export interface documents_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "documents" */
export interface documents_variance_order_by {id?: (order_by | null)}


/** columns and relationships of "event_artifact_package" */
export interface event_artifact_packageRequest{
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    event_id?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "event_artifact_package" */
export interface event_artifact_package_aggregateRequest{
    aggregate?: event_artifact_package_aggregate_fieldsRequest
    nodes?: event_artifact_packageRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface event_artifact_package_aggregate_bool_exp {count?: (event_artifact_package_aggregate_bool_exp_count | null)}

export interface event_artifact_package_aggregate_bool_exp_count {arguments?: (event_artifact_package_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (event_artifact_package_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "event_artifact_package" */
export interface event_artifact_package_aggregate_fieldsRequest{
    count?: [{columns?: (event_artifact_package_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: event_artifact_package_max_fieldsRequest
    min?: event_artifact_package_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "event_artifact_package" */
export interface event_artifact_package_aggregate_order_by {count?: (order_by | null),max?: (event_artifact_package_max_order_by | null),min?: (event_artifact_package_min_order_by | null)}


/** input type for inserting array relation for remote table "event_artifact_package" */
export interface event_artifact_package_arr_rel_insert_input {data: event_artifact_package_insert_input[],
/** upsert condition */
on_conflict?: (event_artifact_package_on_conflict | null)}


/** Boolean expression to filter rows from the table "event_artifact_package". All fields are combined with a logical 'AND'. */
export interface event_artifact_package_bool_exp {_and?: (event_artifact_package_bool_exp[] | null),_not?: (event_artifact_package_bool_exp | null),_or?: (event_artifact_package_bool_exp[] | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_package_id?: (uuid_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),created_by?: (uuid_comparison_exp | null),event_id?: (uuid_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "event_artifact_package" */
export interface event_artifact_package_insert_input {artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_package_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),event_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface event_artifact_package_max_fieldsRequest{
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    event_id?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "event_artifact_package" */
export interface event_artifact_package_max_order_by {artifact_package_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),event_id?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** aggregate min on columns */
export interface event_artifact_package_min_fieldsRequest{
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    event_id?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "event_artifact_package" */
export interface event_artifact_package_min_order_by {artifact_package_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),event_id?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** response of any mutation on the table "event_artifact_package" */
export interface event_artifact_package_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: event_artifact_packageRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "event_artifact_package" */
export interface event_artifact_package_on_conflict {constraint: event_artifact_package_constraint,update_columns: event_artifact_package_update_column[],where?: (event_artifact_package_bool_exp | null)}


/** Ordering options when selecting data from "event_artifact_package". */
export interface event_artifact_package_order_by {artifact_package?: (artifact_packages_order_by | null),artifact_package_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),event_id?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** primary key columns input for table: event_artifact_package */
export interface event_artifact_package_pk_columns_input {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}


/** input type for updating data in table "event_artifact_package" */
export interface event_artifact_package_set_input {artifact_package_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),event_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "event_artifact_package" */
export interface event_artifact_package_stream_cursor_input {
/** Stream column input with initial value */
initial_value: event_artifact_package_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface event_artifact_package_stream_cursor_value_input {artifact_package_id?: (Scalars['uuid'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['uuid'] | null),event_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null)}

export interface event_artifact_package_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (event_artifact_package_set_input | null),
/** filter the rows which have to be updated */
where: event_artifact_package_bool_exp}


/** deprecated use favorites table instead */
export interface favorite_templates_orderRequest{
    customer_id?: boolean | number
    order?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "favorite_templates_order" */
export interface favorite_templates_order_aggregateRequest{
    aggregate?: favorite_templates_order_aggregate_fieldsRequest
    nodes?: favorite_templates_orderRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface favorite_templates_order_aggregate_bool_exp {count?: (favorite_templates_order_aggregate_bool_exp_count | null)}

export interface favorite_templates_order_aggregate_bool_exp_count {arguments?: (favorite_templates_order_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (favorite_templates_order_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "favorite_templates_order" */
export interface favorite_templates_order_aggregate_fieldsRequest{
    avg?: favorite_templates_order_avg_fieldsRequest
    count?: [{columns?: (favorite_templates_order_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: favorite_templates_order_max_fieldsRequest
    min?: favorite_templates_order_min_fieldsRequest
    stddev?: favorite_templates_order_stddev_fieldsRequest
    stddev_pop?: favorite_templates_order_stddev_pop_fieldsRequest
    stddev_samp?: favorite_templates_order_stddev_samp_fieldsRequest
    sum?: favorite_templates_order_sum_fieldsRequest
    var_pop?: favorite_templates_order_var_pop_fieldsRequest
    var_samp?: favorite_templates_order_var_samp_fieldsRequest
    variance?: favorite_templates_order_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "favorite_templates_order" */
export interface favorite_templates_order_aggregate_order_by {avg?: (favorite_templates_order_avg_order_by | null),count?: (order_by | null),max?: (favorite_templates_order_max_order_by | null),min?: (favorite_templates_order_min_order_by | null),stddev?: (favorite_templates_order_stddev_order_by | null),stddev_pop?: (favorite_templates_order_stddev_pop_order_by | null),stddev_samp?: (favorite_templates_order_stddev_samp_order_by | null),sum?: (favorite_templates_order_sum_order_by | null),var_pop?: (favorite_templates_order_var_pop_order_by | null),var_samp?: (favorite_templates_order_var_samp_order_by | null),variance?: (favorite_templates_order_variance_order_by | null)}


/** input type for inserting array relation for remote table "favorite_templates_order" */
export interface favorite_templates_order_arr_rel_insert_input {data: favorite_templates_order_insert_input[],
/** upsert condition */
on_conflict?: (favorite_templates_order_on_conflict | null)}


/** aggregate avg on columns */
export interface favorite_templates_order_avg_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_avg_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "favorite_templates_order". All fields are combined with a logical 'AND'. */
export interface favorite_templates_order_bool_exp {_and?: (favorite_templates_order_bool_exp[] | null),_not?: (favorite_templates_order_bool_exp | null),_or?: (favorite_templates_order_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),order?: (bigint_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "favorite_templates_order" */
export interface favorite_templates_order_inc_input {order?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "favorite_templates_order" */
export interface favorite_templates_order_insert_input {customer_id?: (Scalars['uuid'] | null),order?: (Scalars['bigint'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface favorite_templates_order_max_fieldsRequest{
    customer_id?: boolean | number
    order?: boolean | number
    template_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_max_order_by {customer_id?: (order_by | null),order?: (order_by | null),template_id?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface favorite_templates_order_min_fieldsRequest{
    customer_id?: boolean | number
    order?: boolean | number
    template_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_min_order_by {customer_id?: (order_by | null),order?: (order_by | null),template_id?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "favorite_templates_order" */
export interface favorite_templates_order_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: favorite_templates_orderRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "favorite_templates_order" */
export interface favorite_templates_order_on_conflict {constraint: favorite_templates_order_constraint,update_columns: favorite_templates_order_update_column[],where?: (favorite_templates_order_bool_exp | null)}


/** Ordering options when selecting data from "favorite_templates_order". */
export interface favorite_templates_order_order_by {customer_id?: (order_by | null),order?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null),user_id?: (order_by | null)}


/** primary key columns input for table: favorite_templates_order */
export interface favorite_templates_order_pk_columns_input {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}


/** input type for updating data in table "favorite_templates_order" */
export interface favorite_templates_order_set_input {customer_id?: (Scalars['uuid'] | null),order?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface favorite_templates_order_stddev_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_stddev_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface favorite_templates_order_stddev_pop_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_stddev_pop_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface favorite_templates_order_stddev_samp_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_stddev_samp_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "favorite_templates_order" */
export interface favorite_templates_order_stream_cursor_input {
/** Stream column input with initial value */
initial_value: favorite_templates_order_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface favorite_templates_order_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),order?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface favorite_templates_order_sum_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_sum_order_by {order?: (order_by | null),template_id?: (order_by | null)}

export interface favorite_templates_order_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorite_templates_order_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorite_templates_order_set_input | null),
/** filter the rows which have to be updated */
where: favorite_templates_order_bool_exp}


/** aggregate var_pop on columns */
export interface favorite_templates_order_var_pop_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_var_pop_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface favorite_templates_order_var_samp_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_var_samp_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface favorite_templates_order_variance_fieldsRequest{
    order?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "favorite_templates_order" */
export interface favorite_templates_order_variance_order_by {order?: (order_by | null),template_id?: (order_by | null)}


/** columns and relationships of "favorites" */
export interface favoritesRequest{
    customer_id?: boolean | number
    entity_id?: boolean | number
    order?: boolean | number
    /** An object relationship */
    tableNameByTableName?: table_namesRequest
    table_name?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "favorites" */
export interface favorites_aggregateRequest{
    aggregate?: favorites_aggregate_fieldsRequest
    nodes?: favoritesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface favorites_aggregate_bool_exp {count?: (favorites_aggregate_bool_exp_count | null)}

export interface favorites_aggregate_bool_exp_count {arguments?: (favorites_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (favorites_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "favorites" */
export interface favorites_aggregate_fieldsRequest{
    avg?: favorites_avg_fieldsRequest
    count?: [{columns?: (favorites_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: favorites_max_fieldsRequest
    min?: favorites_min_fieldsRequest
    stddev?: favorites_stddev_fieldsRequest
    stddev_pop?: favorites_stddev_pop_fieldsRequest
    stddev_samp?: favorites_stddev_samp_fieldsRequest
    sum?: favorites_sum_fieldsRequest
    var_pop?: favorites_var_pop_fieldsRequest
    var_samp?: favorites_var_samp_fieldsRequest
    variance?: favorites_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "favorites" */
export interface favorites_aggregate_order_by {avg?: (favorites_avg_order_by | null),count?: (order_by | null),max?: (favorites_max_order_by | null),min?: (favorites_min_order_by | null),stddev?: (favorites_stddev_order_by | null),stddev_pop?: (favorites_stddev_pop_order_by | null),stddev_samp?: (favorites_stddev_samp_order_by | null),sum?: (favorites_sum_order_by | null),var_pop?: (favorites_var_pop_order_by | null),var_samp?: (favorites_var_samp_order_by | null),variance?: (favorites_variance_order_by | null)}


/** input type for inserting array relation for remote table "favorites" */
export interface favorites_arr_rel_insert_input {data: favorites_insert_input[],
/** upsert condition */
on_conflict?: (favorites_on_conflict | null)}


/** aggregate avg on columns */
export interface favorites_avg_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "favorites" */
export interface favorites_avg_order_by {order?: (order_by | null)}


/** Boolean expression to filter rows from the table "favorites". All fields are combined with a logical 'AND'. */
export interface favorites_bool_exp {_and?: (favorites_bool_exp[] | null),_not?: (favorites_bool_exp | null),_or?: (favorites_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),entity_id?: (uuid_comparison_exp | null),order?: (Int_comparison_exp | null),tableNameByTableName?: (table_names_bool_exp | null),table_name?: (table_names_enum_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "favorites" */
export interface favorites_inc_input {order?: (Scalars['Int'] | null)}


/** input type for inserting data into table "favorites" */
export interface favorites_insert_input {customer_id?: (Scalars['uuid'] | null),entity_id?: (Scalars['uuid'] | null),order?: (Scalars['Int'] | null),tableNameByTableName?: (table_names_obj_rel_insert_input | null),table_name?: (table_names_enum | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface favorites_max_fieldsRequest{
    customer_id?: boolean | number
    entity_id?: boolean | number
    order?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "favorites" */
export interface favorites_max_order_by {customer_id?: (order_by | null),entity_id?: (order_by | null),order?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface favorites_min_fieldsRequest{
    customer_id?: boolean | number
    entity_id?: boolean | number
    order?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "favorites" */
export interface favorites_min_order_by {customer_id?: (order_by | null),entity_id?: (order_by | null),order?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "favorites" */
export interface favorites_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: favoritesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "favorites" */
export interface favorites_on_conflict {constraint: favorites_constraint,update_columns: favorites_update_column[],where?: (favorites_bool_exp | null)}


/** Ordering options when selecting data from "favorites". */
export interface favorites_order_by {customer_id?: (order_by | null),entity_id?: (order_by | null),order?: (order_by | null),tableNameByTableName?: (table_names_order_by | null),table_name?: (order_by | null),user_id?: (order_by | null)}


/** primary key columns input for table: favorites */
export interface favorites_pk_columns_input {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}


/** input type for updating data in table "favorites" */
export interface favorites_set_input {customer_id?: (Scalars['uuid'] | null),entity_id?: (Scalars['uuid'] | null),order?: (Scalars['Int'] | null),table_name?: (table_names_enum | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface favorites_stddev_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "favorites" */
export interface favorites_stddev_order_by {order?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface favorites_stddev_pop_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "favorites" */
export interface favorites_stddev_pop_order_by {order?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface favorites_stddev_samp_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "favorites" */
export interface favorites_stddev_samp_order_by {order?: (order_by | null)}


/** Streaming cursor of the table "favorites" */
export interface favorites_stream_cursor_input {
/** Stream column input with initial value */
initial_value: favorites_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface favorites_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),entity_id?: (Scalars['uuid'] | null),order?: (Scalars['Int'] | null),table_name?: (table_names_enum | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface favorites_sum_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "favorites" */
export interface favorites_sum_order_by {order?: (order_by | null)}

export interface favorites_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorites_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorites_set_input | null),
/** filter the rows which have to be updated */
where: favorites_bool_exp}


/** aggregate var_pop on columns */
export interface favorites_var_pop_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "favorites" */
export interface favorites_var_pop_order_by {order?: (order_by | null)}


/** aggregate var_samp on columns */
export interface favorites_var_samp_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "favorites" */
export interface favorites_var_samp_order_by {order?: (order_by | null)}


/** aggregate variance on columns */
export interface favorites_variance_fieldsRequest{
    order?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "favorites" */
export interface favorites_variance_order_by {order?: (order_by | null)}


/** columns and relationships of "filter_names" */
export interface filter_namesRequest{
    description?: boolean | number
    /** An array relationship */
    group_context_filters?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filtersRequest] | group_context_filtersRequest
    /** An aggregate relationship */
    group_context_filters_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filters_aggregateRequest] | group_context_filters_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "filter_names" */
export interface filter_names_aggregateRequest{
    aggregate?: filter_names_aggregate_fieldsRequest
    nodes?: filter_namesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "filter_names" */
export interface filter_names_aggregate_fieldsRequest{
    count?: [{columns?: (filter_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: filter_names_max_fieldsRequest
    min?: filter_names_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "filter_names". All fields are combined with a logical 'AND'. */
export interface filter_names_bool_exp {_and?: (filter_names_bool_exp[] | null),_not?: (filter_names_bool_exp | null),_or?: (filter_names_bool_exp[] | null),description?: (String_comparison_exp | null),group_context_filters?: (group_context_filters_bool_exp | null),group_context_filters_aggregate?: (group_context_filters_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "filter_names_enum". All fields are combined with logical 'AND'. */
export interface filter_names_enum_comparison_exp {_eq?: (filter_names_enum | null),_in?: (filter_names_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (filter_names_enum | null),_nin?: (filter_names_enum[] | null)}


/** input type for inserting data into table "filter_names" */
export interface filter_names_insert_input {description?: (Scalars['String'] | null),group_context_filters?: (group_context_filters_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface filter_names_max_fieldsRequest{
    description?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface filter_names_min_fieldsRequest{
    description?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "filter_names" */
export interface filter_names_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: filter_namesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "filter_names" */
export interface filter_names_obj_rel_insert_input {data: filter_names_insert_input,
/** upsert condition */
on_conflict?: (filter_names_on_conflict | null)}


/** on_conflict condition type for table "filter_names" */
export interface filter_names_on_conflict {constraint: filter_names_constraint,update_columns: filter_names_update_column[],where?: (filter_names_bool_exp | null)}


/** Ordering options when selecting data from "filter_names". */
export interface filter_names_order_by {description?: (order_by | null),group_context_filters_aggregate?: (group_context_filters_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: filter_names */
export interface filter_names_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "filter_names" */
export interface filter_names_set_input {description?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "filter_names" */
export interface filter_names_stream_cursor_input {
/** Stream column input with initial value */
initial_value: filter_names_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface filter_names_stream_cursor_value_input {description?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface filter_names_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (filter_names_set_input | null),
/** filter the rows which have to be updated */
where: filter_names_bool_exp}


/** columns and relationships of "genesis_consent_permissions" */
export interface genesis_consent_permissionsRequest{
    /** An object relationship */
    consent?: consentsRequest
    consent_id?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregateRequest{
    aggregate?: genesis_consent_permissions_aggregate_fieldsRequest
    nodes?: genesis_consent_permissionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface genesis_consent_permissions_aggregate_bool_exp {count?: (genesis_consent_permissions_aggregate_bool_exp_count | null)}

export interface genesis_consent_permissions_aggregate_bool_exp_count {arguments?: (genesis_consent_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (genesis_consent_permissions_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate_fieldsRequest{
    avg?: genesis_consent_permissions_avg_fieldsRequest
    count?: [{columns?: (genesis_consent_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: genesis_consent_permissions_max_fieldsRequest
    min?: genesis_consent_permissions_min_fieldsRequest
    stddev?: genesis_consent_permissions_stddev_fieldsRequest
    stddev_pop?: genesis_consent_permissions_stddev_pop_fieldsRequest
    stddev_samp?: genesis_consent_permissions_stddev_samp_fieldsRequest
    sum?: genesis_consent_permissions_sum_fieldsRequest
    var_pop?: genesis_consent_permissions_var_pop_fieldsRequest
    var_samp?: genesis_consent_permissions_var_samp_fieldsRequest
    variance?: genesis_consent_permissions_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate_order_by {avg?: (genesis_consent_permissions_avg_order_by | null),count?: (order_by | null),max?: (genesis_consent_permissions_max_order_by | null),min?: (genesis_consent_permissions_min_order_by | null),stddev?: (genesis_consent_permissions_stddev_order_by | null),stddev_pop?: (genesis_consent_permissions_stddev_pop_order_by | null),stddev_samp?: (genesis_consent_permissions_stddev_samp_order_by | null),sum?: (genesis_consent_permissions_sum_order_by | null),var_pop?: (genesis_consent_permissions_var_pop_order_by | null),var_samp?: (genesis_consent_permissions_var_samp_order_by | null),variance?: (genesis_consent_permissions_variance_order_by | null)}


/** input type for inserting array relation for remote table "genesis_consent_permissions" */
export interface genesis_consent_permissions_arr_rel_insert_input {data: genesis_consent_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_permissions_on_conflict | null)}


/** aggregate avg on columns */
export interface genesis_consent_permissions_avg_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_avg_order_by {consent_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "genesis_consent_permissions". All fields are combined with a logical 'AND'. */
export interface genesis_consent_permissions_bool_exp {_and?: (genesis_consent_permissions_bool_exp[] | null),_not?: (genesis_consent_permissions_bool_exp | null),_or?: (genesis_consent_permissions_bool_exp[] | null),consent?: (consents_bool_exp | null),consent_id?: (bigint_comparison_exp | null),customer_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "genesis_consent_permissions" */
export interface genesis_consent_permissions_inc_input {consent_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "genesis_consent_permissions" */
export interface genesis_consent_permissions_insert_input {consent?: (consents_obj_rel_insert_input | null),consent_id?: (Scalars['bigint'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface genesis_consent_permissions_max_fieldsRequest{
    consent_id?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_max_order_by {consent_id?: (order_by | null),customer_id?: (order_by | null)}


/** aggregate min on columns */
export interface genesis_consent_permissions_min_fieldsRequest{
    consent_id?: boolean | number
    customer_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_min_order_by {consent_id?: (order_by | null),customer_id?: (order_by | null)}


/** response of any mutation on the table "genesis_consent_permissions" */
export interface genesis_consent_permissions_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: genesis_consent_permissionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "genesis_consent_permissions" */
export interface genesis_consent_permissions_on_conflict {constraint: genesis_consent_permissions_constraint,update_columns: genesis_consent_permissions_update_column[],where?: (genesis_consent_permissions_bool_exp | null)}


/** Ordering options when selecting data from "genesis_consent_permissions". */
export interface genesis_consent_permissions_order_by {consent?: (consents_order_by | null),consent_id?: (order_by | null),customer_id?: (order_by | null)}


/** primary key columns input for table: genesis_consent_permissions */
export interface genesis_consent_permissions_pk_columns_input {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}


/** input type for updating data in table "genesis_consent_permissions" */
export interface genesis_consent_permissions_set_input {consent_id?: (Scalars['bigint'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface genesis_consent_permissions_stddev_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_stddev_order_by {consent_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface genesis_consent_permissions_stddev_pop_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_stddev_pop_order_by {consent_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface genesis_consent_permissions_stddev_samp_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_stddev_samp_order_by {consent_id?: (order_by | null)}


/** Streaming cursor of the table "genesis_consent_permissions" */
export interface genesis_consent_permissions_stream_cursor_input {
/** Stream column input with initial value */
initial_value: genesis_consent_permissions_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface genesis_consent_permissions_stream_cursor_value_input {consent_id?: (Scalars['bigint'] | null),customer_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface genesis_consent_permissions_sum_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_sum_order_by {consent_id?: (order_by | null)}

export interface genesis_consent_permissions_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_permissions_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_permissions_bool_exp}


/** aggregate var_pop on columns */
export interface genesis_consent_permissions_var_pop_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_var_pop_order_by {consent_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface genesis_consent_permissions_var_samp_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_var_samp_order_by {consent_id?: (order_by | null)}


/** aggregate variance on columns */
export interface genesis_consent_permissions_variance_fieldsRequest{
    consent_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "genesis_consent_permissions" */
export interface genesis_consent_permissions_variance_order_by {consent_id?: (order_by | null)}


/** columns and relationships of "genesis_consent_templates" */
export interface genesis_consent_templatesRequest{
    /** An object relationship */
    consent_template?: consent_templatesRequest
    consent_template_id?: boolean | number
    genesis_set?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregateRequest{
    aggregate?: genesis_consent_templates_aggregate_fieldsRequest
    nodes?: genesis_consent_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface genesis_consent_templates_aggregate_bool_exp {count?: (genesis_consent_templates_aggregate_bool_exp_count | null)}

export interface genesis_consent_templates_aggregate_bool_exp_count {arguments?: (genesis_consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (genesis_consent_templates_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate_fieldsRequest{
    avg?: genesis_consent_templates_avg_fieldsRequest
    count?: [{columns?: (genesis_consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: genesis_consent_templates_max_fieldsRequest
    min?: genesis_consent_templates_min_fieldsRequest
    stddev?: genesis_consent_templates_stddev_fieldsRequest
    stddev_pop?: genesis_consent_templates_stddev_pop_fieldsRequest
    stddev_samp?: genesis_consent_templates_stddev_samp_fieldsRequest
    sum?: genesis_consent_templates_sum_fieldsRequest
    var_pop?: genesis_consent_templates_var_pop_fieldsRequest
    var_samp?: genesis_consent_templates_var_samp_fieldsRequest
    variance?: genesis_consent_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate_order_by {avg?: (genesis_consent_templates_avg_order_by | null),count?: (order_by | null),max?: (genesis_consent_templates_max_order_by | null),min?: (genesis_consent_templates_min_order_by | null),stddev?: (genesis_consent_templates_stddev_order_by | null),stddev_pop?: (genesis_consent_templates_stddev_pop_order_by | null),stddev_samp?: (genesis_consent_templates_stddev_samp_order_by | null),sum?: (genesis_consent_templates_sum_order_by | null),var_pop?: (genesis_consent_templates_var_pop_order_by | null),var_samp?: (genesis_consent_templates_var_samp_order_by | null),variance?: (genesis_consent_templates_variance_order_by | null)}


/** input type for inserting array relation for remote table "genesis_consent_templates" */
export interface genesis_consent_templates_arr_rel_insert_input {data: genesis_consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_templates_on_conflict | null)}


/** aggregate avg on columns */
export interface genesis_consent_templates_avg_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_avg_order_by {consent_template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "genesis_consent_templates". All fields are combined with a logical 'AND'. */
export interface genesis_consent_templates_bool_exp {_and?: (genesis_consent_templates_bool_exp[] | null),_not?: (genesis_consent_templates_bool_exp | null),_or?: (genesis_consent_templates_bool_exp[] | null),consent_template?: (consent_templates_bool_exp | null),consent_template_id?: (bigint_comparison_exp | null),genesis_set?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "genesis_consent_templates" */
export interface genesis_consent_templates_inc_input {consent_template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "genesis_consent_templates" */
export interface genesis_consent_templates_insert_input {consent_template?: (consent_templates_obj_rel_insert_input | null),consent_template_id?: (Scalars['bigint'] | null),genesis_set?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface genesis_consent_templates_max_fieldsRequest{
    consent_template_id?: boolean | number
    genesis_set?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_max_order_by {consent_template_id?: (order_by | null),genesis_set?: (order_by | null)}


/** aggregate min on columns */
export interface genesis_consent_templates_min_fieldsRequest{
    consent_template_id?: boolean | number
    genesis_set?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_min_order_by {consent_template_id?: (order_by | null),genesis_set?: (order_by | null)}


/** response of any mutation on the table "genesis_consent_templates" */
export interface genesis_consent_templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: genesis_consent_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "genesis_consent_templates" */
export interface genesis_consent_templates_on_conflict {constraint: genesis_consent_templates_constraint,update_columns: genesis_consent_templates_update_column[],where?: (genesis_consent_templates_bool_exp | null)}


/** Ordering options when selecting data from "genesis_consent_templates". */
export interface genesis_consent_templates_order_by {consent_template?: (consent_templates_order_by | null),consent_template_id?: (order_by | null),genesis_set?: (order_by | null)}


/** primary key columns input for table: genesis_consent_templates */
export interface genesis_consent_templates_pk_columns_input {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}


/** input type for updating data in table "genesis_consent_templates" */
export interface genesis_consent_templates_set_input {consent_template_id?: (Scalars['bigint'] | null),genesis_set?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface genesis_consent_templates_stddev_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_stddev_order_by {consent_template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface genesis_consent_templates_stddev_pop_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_stddev_pop_order_by {consent_template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface genesis_consent_templates_stddev_samp_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_stddev_samp_order_by {consent_template_id?: (order_by | null)}


/** Streaming cursor of the table "genesis_consent_templates" */
export interface genesis_consent_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: genesis_consent_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface genesis_consent_templates_stream_cursor_value_input {consent_template_id?: (Scalars['bigint'] | null),genesis_set?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface genesis_consent_templates_sum_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_sum_order_by {consent_template_id?: (order_by | null)}

export interface genesis_consent_templates_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_templates_bool_exp}


/** aggregate var_pop on columns */
export interface genesis_consent_templates_var_pop_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_var_pop_order_by {consent_template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface genesis_consent_templates_var_samp_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_var_samp_order_by {consent_template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface genesis_consent_templates_variance_fieldsRequest{
    consent_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "genesis_consent_templates" */
export interface genesis_consent_templates_variance_order_by {consent_template_id?: (order_by | null)}


/** columns and relationships of "genesis_denied_permissions" */
export interface genesis_denied_permissionsRequest{
    customer_id?: boolean | number
    table_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregateRequest{
    aggregate?: genesis_denied_permissions_aggregate_fieldsRequest
    nodes?: genesis_denied_permissionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface genesis_denied_permissions_aggregate_bool_exp {count?: (genesis_denied_permissions_aggregate_bool_exp_count | null)}

export interface genesis_denied_permissions_aggregate_bool_exp_count {arguments?: (genesis_denied_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (genesis_denied_permissions_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate_fieldsRequest{
    count?: [{columns?: (genesis_denied_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: genesis_denied_permissions_max_fieldsRequest
    min?: genesis_denied_permissions_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate_order_by {count?: (order_by | null),max?: (genesis_denied_permissions_max_order_by | null),min?: (genesis_denied_permissions_min_order_by | null)}


/** input type for inserting array relation for remote table "genesis_denied_permissions" */
export interface genesis_denied_permissions_arr_rel_insert_input {data: genesis_denied_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_denied_permissions_on_conflict | null)}


/** Boolean expression to filter rows from the table "genesis_denied_permissions". All fields are combined with a logical 'AND'. */
export interface genesis_denied_permissions_bool_exp {_and?: (genesis_denied_permissions_bool_exp[] | null),_not?: (genesis_denied_permissions_bool_exp | null),_or?: (genesis_denied_permissions_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),table_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "genesis_denied_permissions" */
export interface genesis_denied_permissions_insert_input {customer_id?: (Scalars['uuid'] | null),table_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface genesis_denied_permissions_max_fieldsRequest{
    customer_id?: boolean | number
    table_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "genesis_denied_permissions" */
export interface genesis_denied_permissions_max_order_by {customer_id?: (order_by | null),table_id?: (order_by | null)}


/** aggregate min on columns */
export interface genesis_denied_permissions_min_fieldsRequest{
    customer_id?: boolean | number
    table_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "genesis_denied_permissions" */
export interface genesis_denied_permissions_min_order_by {customer_id?: (order_by | null),table_id?: (order_by | null)}


/** response of any mutation on the table "genesis_denied_permissions" */
export interface genesis_denied_permissions_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: genesis_denied_permissionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "genesis_denied_permissions" */
export interface genesis_denied_permissions_on_conflict {constraint: genesis_denied_permissions_constraint,update_columns: genesis_denied_permissions_update_column[],where?: (genesis_denied_permissions_bool_exp | null)}


/** Ordering options when selecting data from "genesis_denied_permissions". */
export interface genesis_denied_permissions_order_by {customer_id?: (order_by | null),table_id?: (order_by | null)}


/** primary key columns input for table: genesis_denied_permissions */
export interface genesis_denied_permissions_pk_columns_input {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}


/** input type for updating data in table "genesis_denied_permissions" */
export interface genesis_denied_permissions_set_input {customer_id?: (Scalars['uuid'] | null),table_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "genesis_denied_permissions" */
export interface genesis_denied_permissions_stream_cursor_input {
/** Stream column input with initial value */
initial_value: genesis_denied_permissions_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface genesis_denied_permissions_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),table_id?: (Scalars['uuid'] | null)}

export interface genesis_denied_permissions_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_denied_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_denied_permissions_bool_exp}


/** columns and relationships of "genesis_templates" */
export interface genesis_templatesRequest{
    created_at?: boolean | number
    genesis_set?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "genesis_templates" */
export interface genesis_templates_aggregateRequest{
    aggregate?: genesis_templates_aggregate_fieldsRequest
    nodes?: genesis_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface genesis_templates_aggregate_bool_exp {count?: (genesis_templates_aggregate_bool_exp_count | null)}

export interface genesis_templates_aggregate_bool_exp_count {arguments?: (genesis_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (genesis_templates_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "genesis_templates" */
export interface genesis_templates_aggregate_fieldsRequest{
    avg?: genesis_templates_avg_fieldsRequest
    count?: [{columns?: (genesis_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: genesis_templates_max_fieldsRequest
    min?: genesis_templates_min_fieldsRequest
    stddev?: genesis_templates_stddev_fieldsRequest
    stddev_pop?: genesis_templates_stddev_pop_fieldsRequest
    stddev_samp?: genesis_templates_stddev_samp_fieldsRequest
    sum?: genesis_templates_sum_fieldsRequest
    var_pop?: genesis_templates_var_pop_fieldsRequest
    var_samp?: genesis_templates_var_samp_fieldsRequest
    variance?: genesis_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "genesis_templates" */
export interface genesis_templates_aggregate_order_by {avg?: (genesis_templates_avg_order_by | null),count?: (order_by | null),max?: (genesis_templates_max_order_by | null),min?: (genesis_templates_min_order_by | null),stddev?: (genesis_templates_stddev_order_by | null),stddev_pop?: (genesis_templates_stddev_pop_order_by | null),stddev_samp?: (genesis_templates_stddev_samp_order_by | null),sum?: (genesis_templates_sum_order_by | null),var_pop?: (genesis_templates_var_pop_order_by | null),var_samp?: (genesis_templates_var_samp_order_by | null),variance?: (genesis_templates_variance_order_by | null)}


/** input type for inserting array relation for remote table "genesis_templates" */
export interface genesis_templates_arr_rel_insert_input {data: genesis_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_templates_on_conflict | null)}


/** aggregate avg on columns */
export interface genesis_templates_avg_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "genesis_templates" */
export interface genesis_templates_avg_order_by {template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "genesis_templates". All fields are combined with a logical 'AND'. */
export interface genesis_templates_bool_exp {_and?: (genesis_templates_bool_exp[] | null),_not?: (genesis_templates_bool_exp | null),_or?: (genesis_templates_bool_exp[] | null),created_at?: (timestamptz_comparison_exp | null),genesis_set?: (String_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "genesis_templates" */
export interface genesis_templates_inc_input {template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "genesis_templates" */
export interface genesis_templates_insert_input {created_at?: (Scalars['timestamptz'] | null),genesis_set?: (Scalars['String'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface genesis_templates_max_fieldsRequest{
    created_at?: boolean | number
    genesis_set?: boolean | number
    template_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "genesis_templates" */
export interface genesis_templates_max_order_by {created_at?: (order_by | null),genesis_set?: (order_by | null),template_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface genesis_templates_min_fieldsRequest{
    created_at?: boolean | number
    genesis_set?: boolean | number
    template_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "genesis_templates" */
export interface genesis_templates_min_order_by {created_at?: (order_by | null),genesis_set?: (order_by | null),template_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "genesis_templates" */
export interface genesis_templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: genesis_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "genesis_templates" */
export interface genesis_templates_on_conflict {constraint: genesis_templates_constraint,update_columns: genesis_templates_update_column[],where?: (genesis_templates_bool_exp | null)}


/** Ordering options when selecting data from "genesis_templates". */
export interface genesis_templates_order_by {created_at?: (order_by | null),genesis_set?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: genesis_templates */
export interface genesis_templates_pk_columns_input {genesis_set: Scalars['String'],template_id: Scalars['bigint']}


/** input type for updating data in table "genesis_templates" */
export interface genesis_templates_set_input {created_at?: (Scalars['timestamptz'] | null),genesis_set?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface genesis_templates_stddev_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "genesis_templates" */
export interface genesis_templates_stddev_order_by {template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface genesis_templates_stddev_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "genesis_templates" */
export interface genesis_templates_stddev_pop_order_by {template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface genesis_templates_stddev_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "genesis_templates" */
export interface genesis_templates_stddev_samp_order_by {template_id?: (order_by | null)}


/** Streaming cursor of the table "genesis_templates" */
export interface genesis_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: genesis_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface genesis_templates_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),genesis_set?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface genesis_templates_sum_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "genesis_templates" */
export interface genesis_templates_sum_order_by {template_id?: (order_by | null)}

export interface genesis_templates_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_templates_bool_exp}


/** aggregate var_pop on columns */
export interface genesis_templates_var_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "genesis_templates" */
export interface genesis_templates_var_pop_order_by {template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface genesis_templates_var_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "genesis_templates" */
export interface genesis_templates_var_samp_order_by {template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface genesis_templates_variance_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "genesis_templates" */
export interface genesis_templates_variance_order_by {template_id?: (order_by | null)}


/** columns and relationships of "group_context" */
export interface group_contextRequest{
    /** An array relationship */
    context_group_contexts?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_contextRequest] | context_group_contextRequest
    /** An aggregate relationship */
    context_group_contexts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_context_aggregateRequest] | context_group_context_aggregateRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    /** An array relationship */
    group_context_filters?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filtersRequest] | group_context_filtersRequest
    /** An aggregate relationship */
    group_context_filters_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filters_aggregateRequest] | group_context_filters_aggregateRequest
    id?: boolean | number
    label?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "group_context" */
export interface group_context_aggregateRequest{
    aggregate?: group_context_aggregate_fieldsRequest
    nodes?: group_contextRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "group_context" */
export interface group_context_aggregate_fieldsRequest{
    count?: [{columns?: (group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: group_context_max_fieldsRequest
    min?: group_context_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "group_context". All fields are combined with a logical 'AND'. */
export interface group_context_bool_exp {_and?: (group_context_bool_exp[] | null),_not?: (group_context_bool_exp | null),_or?: (group_context_bool_exp[] | null),context_group_contexts?: (context_group_context_bool_exp | null),context_group_contexts_aggregate?: (context_group_context_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),group_context_filters?: (group_context_filters_bool_exp | null),group_context_filters_aggregate?: (group_context_filters_aggregate_bool_exp | null),id?: (uuid_comparison_exp | null),label?: (String_comparison_exp | null),name?: (String_comparison_exp | null)}


/** columns and relationships of "group_context_filters" */
export interface group_context_filtersRequest{
    customer_id?: boolean | number
    filter?: boolean | number
    /** An object relationship */
    filterNameByFilterName?: filter_namesRequest
    filter_name?: boolean | number
    /** An object relationship */
    group_context?: group_contextRequest
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "group_context_filters" */
export interface group_context_filters_aggregateRequest{
    aggregate?: group_context_filters_aggregate_fieldsRequest
    nodes?: group_context_filtersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface group_context_filters_aggregate_bool_exp {count?: (group_context_filters_aggregate_bool_exp_count | null)}

export interface group_context_filters_aggregate_bool_exp_count {arguments?: (group_context_filters_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (group_context_filters_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "group_context_filters" */
export interface group_context_filters_aggregate_fieldsRequest{
    count?: [{columns?: (group_context_filters_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: group_context_filters_max_fieldsRequest
    min?: group_context_filters_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "group_context_filters" */
export interface group_context_filters_aggregate_order_by {count?: (order_by | null),max?: (group_context_filters_max_order_by | null),min?: (group_context_filters_min_order_by | null)}


/** input type for inserting array relation for remote table "group_context_filters" */
export interface group_context_filters_arr_rel_insert_input {data: group_context_filters_insert_input[],
/** upsert condition */
on_conflict?: (group_context_filters_on_conflict | null)}


/** Boolean expression to filter rows from the table "group_context_filters". All fields are combined with a logical 'AND'. */
export interface group_context_filters_bool_exp {_and?: (group_context_filters_bool_exp[] | null),_not?: (group_context_filters_bool_exp | null),_or?: (group_context_filters_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),filter?: (String_comparison_exp | null),filterNameByFilterName?: (filter_names_bool_exp | null),filter_name?: (filter_names_enum_comparison_exp | null),group_context?: (group_context_bool_exp | null),group_context_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "group_context_filters" */
export interface group_context_filters_insert_input {customer_id?: (Scalars['uuid'] | null),filter?: (Scalars['String'] | null),filterNameByFilterName?: (filter_names_obj_rel_insert_input | null),filter_name?: (filter_names_enum | null),group_context?: (group_context_obj_rel_insert_input | null),group_context_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface group_context_filters_max_fieldsRequest{
    customer_id?: boolean | number
    filter?: boolean | number
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "group_context_filters" */
export interface group_context_filters_max_order_by {customer_id?: (order_by | null),filter?: (order_by | null),group_context_id?: (order_by | null)}


/** aggregate min on columns */
export interface group_context_filters_min_fieldsRequest{
    customer_id?: boolean | number
    filter?: boolean | number
    group_context_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "group_context_filters" */
export interface group_context_filters_min_order_by {customer_id?: (order_by | null),filter?: (order_by | null),group_context_id?: (order_by | null)}


/** response of any mutation on the table "group_context_filters" */
export interface group_context_filters_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: group_context_filtersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "group_context_filters" */
export interface group_context_filters_on_conflict {constraint: group_context_filters_constraint,update_columns: group_context_filters_update_column[],where?: (group_context_filters_bool_exp | null)}


/** Ordering options when selecting data from "group_context_filters". */
export interface group_context_filters_order_by {customer_id?: (order_by | null),filter?: (order_by | null),filterNameByFilterName?: (filter_names_order_by | null),filter_name?: (order_by | null),group_context?: (group_context_order_by | null),group_context_id?: (order_by | null)}


/** primary key columns input for table: group_context_filters */
export interface group_context_filters_pk_columns_input {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}


/** input type for updating data in table "group_context_filters" */
export interface group_context_filters_set_input {customer_id?: (Scalars['uuid'] | null),filter?: (Scalars['String'] | null),filter_name?: (filter_names_enum | null),group_context_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "group_context_filters" */
export interface group_context_filters_stream_cursor_input {
/** Stream column input with initial value */
initial_value: group_context_filters_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface group_context_filters_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),filter?: (Scalars['String'] | null),filter_name?: (filter_names_enum | null),group_context_id?: (Scalars['uuid'] | null)}

export interface group_context_filters_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_filters_set_input | null),
/** filter the rows which have to be updated */
where: group_context_filters_bool_exp}


/** input type for inserting data into table "group_context" */
export interface group_context_insert_input {context_group_contexts?: (context_group_context_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),group_context_filters?: (group_context_filters_arr_rel_insert_input | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface group_context_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    label?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface group_context_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    label?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "group_context" */
export interface group_context_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: group_contextRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "group_context" */
export interface group_context_obj_rel_insert_input {data: group_context_insert_input,
/** upsert condition */
on_conflict?: (group_context_on_conflict | null)}


/** on_conflict condition type for table "group_context" */
export interface group_context_on_conflict {constraint: group_context_constraint,update_columns: group_context_update_column[],where?: (group_context_bool_exp | null)}


/** Ordering options when selecting data from "group_context". */
export interface group_context_order_by {context_group_contexts_aggregate?: (context_group_context_aggregate_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),directory_customers?: (directory_customers_order_by | null),group_context_filters_aggregate?: (group_context_filters_aggregate_order_by | null),id?: (order_by | null),label?: (order_by | null),name?: (order_by | null)}


/** primary key columns input for table: group_context */
export interface group_context_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "group_context" */
export interface group_context_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "group_context" */
export interface group_context_stream_cursor_input {
/** Stream column input with initial value */
initial_value: group_context_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface group_context_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),label?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface group_context_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_set_input | null),
/** filter the rows which have to be updated */
where: group_context_bool_exp}


/** columns and relationships of "groups" */
export interface groupsRequest{
    comment?: boolean | number
    /** An array relationship */
    consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templatesRequest] | consent_templatesRequest
    /** An aggregate relationship */
    consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templates_aggregateRequest] | consent_templates_aggregateRequest
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "groups" */
export interface groups_aggregateRequest{
    aggregate?: groups_aggregate_fieldsRequest
    nodes?: groupsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "groups" */
export interface groups_aggregate_fieldsRequest{
    count?: [{columns?: (groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: groups_max_fieldsRequest
    min?: groups_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "groups". All fields are combined with a logical 'AND'. */
export interface groups_bool_exp {_and?: (groups_bool_exp[] | null),_not?: (groups_bool_exp | null),_or?: (groups_bool_exp[] | null),comment?: (String_comparison_exp | null),consent_templates?: (consent_templates_bool_exp | null),consent_templates_aggregate?: (consent_templates_aggregate_bool_exp | null),consents?: (consents_bool_exp | null),consents_aggregate?: (consents_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "groups_enum". All fields are combined with logical 'AND'. */
export interface groups_enum_comparison_exp {_eq?: (groups_enum | null),_in?: (groups_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (groups_enum | null),_nin?: (groups_enum[] | null)}


/** input type for inserting data into table "groups" */
export interface groups_insert_input {comment?: (Scalars['String'] | null),consent_templates?: (consent_templates_arr_rel_insert_input | null),consents?: (consents_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface groups_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface groups_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "groups" */
export interface groups_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: groupsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "groups" */
export interface groups_obj_rel_insert_input {data: groups_insert_input,
/** upsert condition */
on_conflict?: (groups_on_conflict | null)}


/** on_conflict condition type for table "groups" */
export interface groups_on_conflict {constraint: groups_constraint,update_columns: groups_update_column[],where?: (groups_bool_exp | null)}


/** Ordering options when selecting data from "groups". */
export interface groups_order_by {comment?: (order_by | null),consent_templates_aggregate?: (consent_templates_aggregate_order_by | null),consents_aggregate?: (consents_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: groups */
export interface groups_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "groups" */
export interface groups_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "groups" */
export interface groups_stream_cursor_input {
/** Stream column input with initial value */
initial_value: groups_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface groups_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface groups_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (groups_set_input | null),
/** filter the rows which have to be updated */
where: groups_bool_exp}


/** columns and relationships of "initiators" */
export interface initiatorsRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "initiators" */
export interface initiators_aggregateRequest{
    aggregate?: initiators_aggregate_fieldsRequest
    nodes?: initiatorsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "initiators" */
export interface initiators_aggregate_fieldsRequest{
    count?: [{columns?: (initiators_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: initiators_max_fieldsRequest
    min?: initiators_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "initiators". All fields are combined with a logical 'AND'. */
export interface initiators_bool_exp {_and?: (initiators_bool_exp[] | null),_not?: (initiators_bool_exp | null),_or?: (initiators_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),queries?: (queries_bool_exp | null),queries_aggregate?: (queries_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "initiators_enum". All fields are combined with logical 'AND'. */
export interface initiators_enum_comparison_exp {_eq?: (initiators_enum | null),_in?: (initiators_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (initiators_enum | null),_nin?: (initiators_enum[] | null)}


/** input type for inserting data into table "initiators" */
export interface initiators_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),queries?: (queries_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface initiators_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface initiators_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "initiators" */
export interface initiators_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: initiatorsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "initiators" */
export interface initiators_obj_rel_insert_input {data: initiators_insert_input,
/** upsert condition */
on_conflict?: (initiators_on_conflict | null)}


/** on_conflict condition type for table "initiators" */
export interface initiators_on_conflict {constraint: initiators_constraint,update_columns: initiators_update_column[],where?: (initiators_bool_exp | null)}


/** Ordering options when selecting data from "initiators". */
export interface initiators_order_by {comment?: (order_by | null),name?: (order_by | null),queries_aggregate?: (queries_aggregate_order_by | null)}


/** primary key columns input for table: initiators */
export interface initiators_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "initiators" */
export interface initiators_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "initiators" */
export interface initiators_stream_cursor_input {
/** Stream column input with initial value */
initial_value: initiators_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface initiators_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface initiators_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (initiators_set_input | null),
/** filter the rows which have to be updated */
where: initiators_bool_exp}

export interface jsonb_cast_exp {String?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
export interface jsonb_comparison_exp {_cast?: (jsonb_cast_exp | null),
/** is the column contained in the given json value */
_contained_in?: (Scalars['jsonb'] | null),
/** does the column contain the given json value at the top level */
_contains?: (Scalars['jsonb'] | null),_eq?: (Scalars['jsonb'] | null),_gt?: (Scalars['jsonb'] | null),_gte?: (Scalars['jsonb'] | null),
/** does the string exist as a top-level key in the column */
_has_key?: (Scalars['String'] | null),
/** do all of these strings exist as top-level keys in the column */
_has_keys_all?: (Scalars['String'][] | null),
/** do any of these strings exist as top-level keys in the column */
_has_keys_any?: (Scalars['String'][] | null),_in?: (Scalars['jsonb'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['jsonb'] | null),_lte?: (Scalars['jsonb'] | null),_neq?: (Scalars['jsonb'] | null),_nin?: (Scalars['jsonb'][] | null)}


/** columns and relationships of "migrations" */
export interface migrationsRequest{
    batch?: boolean | number
    id?: boolean | number
    migration?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "migrations" */
export interface migrations_aggregateRequest{
    aggregate?: migrations_aggregate_fieldsRequest
    nodes?: migrationsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "migrations" */
export interface migrations_aggregate_fieldsRequest{
    avg?: migrations_avg_fieldsRequest
    count?: [{columns?: (migrations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: migrations_max_fieldsRequest
    min?: migrations_min_fieldsRequest
    stddev?: migrations_stddev_fieldsRequest
    stddev_pop?: migrations_stddev_pop_fieldsRequest
    stddev_samp?: migrations_stddev_samp_fieldsRequest
    sum?: migrations_sum_fieldsRequest
    var_pop?: migrations_var_pop_fieldsRequest
    var_samp?: migrations_var_samp_fieldsRequest
    variance?: migrations_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface migrations_avg_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "migrations". All fields are combined with a logical 'AND'. */
export interface migrations_bool_exp {_and?: (migrations_bool_exp[] | null),_not?: (migrations_bool_exp | null),_or?: (migrations_bool_exp[] | null),batch?: (bigint_comparison_exp | null),id?: (bigint_comparison_exp | null),migration?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "migrations" */
export interface migrations_inc_input {batch?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "migrations" */
export interface migrations_insert_input {batch?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null),migration?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface migrations_max_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    migration?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface migrations_min_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    migration?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "migrations" */
export interface migrations_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: migrationsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "migrations" */
export interface migrations_on_conflict {constraint: migrations_constraint,update_columns: migrations_update_column[],where?: (migrations_bool_exp | null)}


/** Ordering options when selecting data from "migrations". */
export interface migrations_order_by {batch?: (order_by | null),id?: (order_by | null),migration?: (order_by | null)}


/** primary key columns input for table: migrations */
export interface migrations_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "migrations" */
export interface migrations_set_input {batch?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null),migration?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface migrations_stddev_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface migrations_stddev_pop_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface migrations_stddev_samp_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "migrations" */
export interface migrations_stream_cursor_input {
/** Stream column input with initial value */
initial_value: migrations_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface migrations_stream_cursor_value_input {batch?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null),migration?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface migrations_sum_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface migrations_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (migrations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (migrations_set_input | null),
/** filter the rows which have to be updated */
where: migrations_bool_exp}


/** aggregate var_pop on columns */
export interface migrations_var_pop_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface migrations_var_samp_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface migrations_variance_fieldsRequest{
    batch?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** mutation root */
export interface mutation_rootRequest{
    /** delete data from the table: "DocKladd_properties" */
    delete_DocKladd_properties?: [{
    /** filter the rows which have to be deleted */
    where: DocKladd_properties_bool_exp},DocKladd_properties_mutation_responseRequest]
    /** delete single row from the table: "DocKladd_properties" */
    delete_DocKladd_properties_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['Int']},DocKladd_propertiesRequest]
    /** delete data from the table: "DocKladd_questions" */
    delete_DocKladd_questions?: [{
    /** filter the rows which have to be deleted */
    where: DocKladd_questions_bool_exp},DocKladd_questions_mutation_responseRequest]
    /** delete single row from the table: "DocKladd_questions" */
    delete_DocKladd_questions_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']},DocKladd_questionsRequest]
    /** delete data from the table: "accessible" */
    delete_accessible?: [{
    /** filter the rows which have to be deleted */
    where: accessible_bool_exp},accessible_mutation_responseRequest]
    /** delete single row from the table: "accessible" */
    delete_accessible_by_pk?: [{name: Scalars['String']},accessibleRequest]
    /** delete data from the table: "adopus_AdgangLinjer" */
    delete_adopus_AdgangLinjer?: [{
    /** filter the rows which have to be deleted */
    where: adopus_AdgangLinjer_bool_exp},adopus_AdgangLinjer_mutation_responseRequest]
    /** delete single row from the table: "adopus_AdgangLinjer" */
    delete_adopus_AdgangLinjer_by_pk?: [{BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']},adopus_AdgangLinjerRequest]
    /** delete data from the table: "anonymous_answers" */
    delete_anonymous_answers?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_answers_bool_exp},anonymous_answers_mutation_responseRequest]
    /** delete single row from the table: "anonymous_answers" */
    delete_anonymous_answers_by_pk?: [{id: Scalars['bigint']},anonymous_answersRequest]
    /** delete data from the table: "anonymous_invitations" */
    delete_anonymous_invitations?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_invitations_bool_exp},anonymous_invitations_mutation_responseRequest]
    /** delete single row from the table: "anonymous_invitations" */
    delete_anonymous_invitations_by_pk?: [{id: Scalars['bigint']},anonymous_invitationsRequest]
    /** delete data from the table: "anonymous_queries" */
    delete_anonymous_queries?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_queries_bool_exp},anonymous_queries_mutation_responseRequest]
    /** delete single row from the table: "anonymous_queries" */
    delete_anonymous_queries_by_pk?: [{id: Scalars['bigint']},anonymous_queriesRequest]
    /** delete data from the table: "anonymous_sms" */
    delete_anonymous_sms?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_sms_bool_exp},anonymous_sms_mutation_responseRequest]
    /** delete single row from the table: "anonymous_sms" */
    delete_anonymous_sms_by_pk?: [{id: Scalars['bigint']},anonymous_smsRequest]
    /** delete data from the table: "anonymous_template_question" */
    delete_anonymous_template_question?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_template_question_bool_exp},anonymous_template_question_mutation_responseRequest]
    /** delete data from the table: "anonymous_templates" */
    delete_anonymous_templates?: [{
    /** filter the rows which have to be deleted */
    where: anonymous_templates_bool_exp},anonymous_templates_mutation_responseRequest]
    /** delete single row from the table: "anonymous_templates" */
    delete_anonymous_templates_by_pk?: [{id: Scalars['bigint']},anonymous_templatesRequest]
    /** delete data from the table: "artifact_package_artifact_parcel" */
    delete_artifact_package_artifact_parcel?: [{
    /** filter the rows which have to be deleted */
    where: artifact_package_artifact_parcel_bool_exp},artifact_package_artifact_parcel_mutation_responseRequest]
    /** delete single row from the table: "artifact_package_artifact_parcel" */
    delete_artifact_package_artifact_parcel_by_pk?: [{artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']},artifact_package_artifact_parcelRequest]
    /** delete data from the table: "artifact_package_cron" */
    delete_artifact_package_cron?: [{
    /** filter the rows which have to be deleted */
    where: artifact_package_cron_bool_exp},artifact_package_cron_mutation_responseRequest]
    /** delete single row from the table: "artifact_package_cron" */
    delete_artifact_package_cron_by_pk?: [{artifact_packages_id: Scalars['uuid']},artifact_package_cronRequest]
    /** delete data from the table: "artifact_package_groups" */
    delete_artifact_package_groups?: [{
    /** filter the rows which have to be deleted */
    where: artifact_package_groups_bool_exp},artifact_package_groups_mutation_responseRequest]
    /** delete single row from the table: "artifact_package_groups" */
    delete_artifact_package_groups_by_pk?: [{id: Scalars['uuid']},artifact_package_groupsRequest]
    /** delete data from the table: "artifact_packages" */
    delete_artifact_packages?: [{
    /** filter the rows which have to be deleted */
    where: artifact_packages_bool_exp},artifact_packages_mutation_responseRequest]
    /** delete single row from the table: "artifact_packages" */
    delete_artifact_packages_by_pk?: [{id: Scalars['uuid']},artifact_packagesRequest]
    /** delete data from the table: "artifact_parcels" */
    delete_artifact_parcels?: [{
    /** filter the rows which have to be deleted */
    where: artifact_parcels_bool_exp},artifact_parcels_mutation_responseRequest]
    /** delete single row from the table: "artifact_parcels" */
    delete_artifact_parcels_by_pk?: [{id: Scalars['uuid']},artifact_parcelsRequest]
    /** delete data from the table: "categories" */
    delete_categories?: [{
    /** filter the rows which have to be deleted */
    where: categories_bool_exp},categories_mutation_responseRequest]
    /** delete single row from the table: "categories" */
    delete_categories_by_pk?: [{name: Scalars['String']},categoriesRequest]
    /** delete data from the table: "consent_approval_rejection_reasons" */
    delete_consent_approval_rejection_reasons?: [{
    /** filter the rows which have to be deleted */
    where: consent_approval_rejection_reasons_bool_exp},consent_approval_rejection_reasons_mutation_responseRequest]
    /** delete single row from the table: "consent_approval_rejection_reasons" */
    delete_consent_approval_rejection_reasons_by_pk?: [{id: Scalars['Int']},consent_approval_rejection_reasonsRequest]
    /** delete data from the table: "consent_patient" */
    delete_consent_patient?: [{
    /** filter the rows which have to be deleted */
    where: consent_patient_bool_exp},consent_patient_mutation_responseRequest]
    /** delete single row from the table: "consent_patient" */
    delete_consent_patient_by_pk?: [{consent_id: Scalars['bigint'],patient_id: Scalars['uuid']},consent_patientRequest]
    /** delete data from the table: "consent_status" */
    delete_consent_status?: [{
    /** filter the rows which have to be deleted */
    where: consent_status_bool_exp},consent_status_mutation_responseRequest]
    /** delete single row from the table: "consent_status" */
    delete_consent_status_by_pk?: [{name: Scalars['String']},consent_statusRequest]
    /** delete data from the table: "consent_template_to_template" */
    delete_consent_template_to_template?: [{
    /** filter the rows which have to be deleted */
    where: consent_template_to_template_bool_exp},consent_template_to_template_mutation_responseRequest]
    /** delete data from the table: "consent_templates" */
    delete_consent_templates?: [{
    /** filter the rows which have to be deleted */
    where: consent_templates_bool_exp},consent_templates_mutation_responseRequest]
    /** delete single row from the table: "consent_templates" */
    delete_consent_templates_by_pk?: [{id: Scalars['bigint']},consent_templatesRequest]
    /** delete data from the table: "consents" */
    delete_consents?: [{
    /** filter the rows which have to be deleted */
    where: consents_bool_exp},consents_mutation_responseRequest]
    /** delete single row from the table: "consents" */
    delete_consents_by_pk?: [{id: Scalars['bigint']},consentsRequest]
    /** delete data from the table: "context_group_context" */
    delete_context_group_context?: [{
    /** filter the rows which have to be deleted */
    where: context_group_context_bool_exp},context_group_context_mutation_responseRequest]
    /** delete single row from the table: "context_group_context" */
    delete_context_group_context_by_pk?: [{context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']},context_group_contextRequest]
    /** delete data from the table: "contexts" */
    delete_contexts?: [{
    /** filter the rows which have to be deleted */
    where: contexts_bool_exp},contexts_mutation_responseRequest]
    /** delete single row from the table: "contexts" */
    delete_contexts_by_pk?: [{customer_id: Scalars['String'],name: Scalars['String']},contextsRequest]
    /** delete data from the table: "custom_db_nodes" */
    delete_custom_db_nodes?: [{
    /** filter the rows which have to be deleted */
    where: custom_db_nodes_bool_exp},custom_db_nodes_mutation_responseRequest]
    /** delete single row from the table: "custom_db_nodes" */
    delete_custom_db_nodes_by_pk?: [{id: Scalars['bigint']},custom_db_nodesRequest]
    /** delete data from the table: "directory_customers" */
    delete_directory_customers?: [{
    /** filter the rows which have to be deleted */
    where: directory_customers_bool_exp},directory_customers_mutation_responseRequest]
    /** delete single row from the table: "directory_customers" */
    delete_directory_customers_by_pk?: [{id: Scalars['uuid']},directory_customersRequest]
    /** delete data from the table: "directory_user_name" */
    delete_directory_user_name?: [{
    /** filter the rows which have to be deleted */
    where: directory_user_name_bool_exp},directory_user_name_mutation_responseRequest]
    /** delete single row from the table: "directory_user_name" */
    delete_directory_user_name_by_pk?: [{user_id: Scalars['uuid']},directory_user_nameRequest]
    /** delete data from the table: "document_patient" */
    delete_document_patient?: [{
    /** filter the rows which have to be deleted */
    where: document_patient_bool_exp},document_patient_mutation_responseRequest]
    /** delete single row from the table: "document_patient" */
    delete_document_patient_by_pk?: [{document_id: Scalars['bigint'],patient_id: Scalars['uuid']},document_patientRequest]
    /** delete data from the table: "document_sms" */
    delete_document_sms?: [{
    /** filter the rows which have to be deleted */
    where: document_sms_bool_exp},document_sms_mutation_responseRequest]
    /** delete data from the table: "documents" */
    delete_documents?: [{
    /** filter the rows which have to be deleted */
    where: documents_bool_exp},documents_mutation_responseRequest]
    /** delete single row from the table: "documents" */
    delete_documents_by_pk?: [{id: Scalars['bigint']},documentsRequest]
    /** delete data from the table: "event_artifact_package" */
    delete_event_artifact_package?: [{
    /** filter the rows which have to be deleted */
    where: event_artifact_package_bool_exp},event_artifact_package_mutation_responseRequest]
    /** delete single row from the table: "event_artifact_package" */
    delete_event_artifact_package_by_pk?: [{artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']},event_artifact_packageRequest]
    /** delete data from the table: "favorite_templates_order" */
    delete_favorite_templates_order?: [{
    /** filter the rows which have to be deleted */
    where: favorite_templates_order_bool_exp},favorite_templates_order_mutation_responseRequest]
    /** delete single row from the table: "favorite_templates_order" */
    delete_favorite_templates_order_by_pk?: [{customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']},favorite_templates_orderRequest]
    /** delete data from the table: "favorites" */
    delete_favorites?: [{
    /** filter the rows which have to be deleted */
    where: favorites_bool_exp},favorites_mutation_responseRequest]
    /** delete single row from the table: "favorites" */
    delete_favorites_by_pk?: [{customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']},favoritesRequest]
    /** delete data from the table: "filter_names" */
    delete_filter_names?: [{
    /** filter the rows which have to be deleted */
    where: filter_names_bool_exp},filter_names_mutation_responseRequest]
    /** delete single row from the table: "filter_names" */
    delete_filter_names_by_pk?: [{name: Scalars['String']},filter_namesRequest]
    /** delete data from the table: "genesis_consent_permissions" */
    delete_genesis_consent_permissions?: [{
    /** filter the rows which have to be deleted */
    where: genesis_consent_permissions_bool_exp},genesis_consent_permissions_mutation_responseRequest]
    /** delete single row from the table: "genesis_consent_permissions" */
    delete_genesis_consent_permissions_by_pk?: [{consent_id: Scalars['bigint'],customer_id: Scalars['uuid']},genesis_consent_permissionsRequest]
    /** delete data from the table: "genesis_consent_templates" */
    delete_genesis_consent_templates?: [{
    /** filter the rows which have to be deleted */
    where: genesis_consent_templates_bool_exp},genesis_consent_templates_mutation_responseRequest]
    /** delete single row from the table: "genesis_consent_templates" */
    delete_genesis_consent_templates_by_pk?: [{consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']},genesis_consent_templatesRequest]
    /** delete data from the table: "genesis_denied_permissions" */
    delete_genesis_denied_permissions?: [{
    /** filter the rows which have to be deleted */
    where: genesis_denied_permissions_bool_exp},genesis_denied_permissions_mutation_responseRequest]
    /** delete single row from the table: "genesis_denied_permissions" */
    delete_genesis_denied_permissions_by_pk?: [{customer_id: Scalars['uuid'],table_id: Scalars['uuid']},genesis_denied_permissionsRequest]
    /** delete data from the table: "genesis_templates" */
    delete_genesis_templates?: [{
    /** filter the rows which have to be deleted */
    where: genesis_templates_bool_exp},genesis_templates_mutation_responseRequest]
    /** delete single row from the table: "genesis_templates" */
    delete_genesis_templates_by_pk?: [{genesis_set: Scalars['String'],template_id: Scalars['bigint']},genesis_templatesRequest]
    /** delete data from the table: "group_context" */
    delete_group_context?: [{
    /** filter the rows which have to be deleted */
    where: group_context_bool_exp},group_context_mutation_responseRequest]
    /** delete single row from the table: "group_context" */
    delete_group_context_by_pk?: [{id: Scalars['uuid']},group_contextRequest]
    /** delete data from the table: "group_context_filters" */
    delete_group_context_filters?: [{
    /** filter the rows which have to be deleted */
    where: group_context_filters_bool_exp},group_context_filters_mutation_responseRequest]
    /** delete single row from the table: "group_context_filters" */
    delete_group_context_filters_by_pk?: [{customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']},group_context_filtersRequest]
    /** delete data from the table: "groups" */
    delete_groups?: [{
    /** filter the rows which have to be deleted */
    where: groups_bool_exp},groups_mutation_responseRequest]
    /** delete single row from the table: "groups" */
    delete_groups_by_pk?: [{name: Scalars['String']},groupsRequest]
    /** delete data from the table: "initiators" */
    delete_initiators?: [{
    /** filter the rows which have to be deleted */
    where: initiators_bool_exp},initiators_mutation_responseRequest]
    /** delete single row from the table: "initiators" */
    delete_initiators_by_pk?: [{name: Scalars['String']},initiatorsRequest]
    /** delete data from the table: "migrations" */
    delete_migrations?: [{
    /** filter the rows which have to be deleted */
    where: migrations_bool_exp},migrations_mutation_responseRequest]
    /** delete single row from the table: "migrations" */
    delete_migrations_by_pk?: [{id: Scalars['bigint']},migrationsRequest]
    /** delete data from the table: "organization_qnr_widget" */
    delete_organization_qnr_widget?: [{
    /** filter the rows which have to be deleted */
    where: organization_qnr_widget_bool_exp},organization_qnr_widget_mutation_responseRequest]
    /** delete single row from the table: "organization_qnr_widget" */
    delete_organization_qnr_widget_by_pk?: [{id: Scalars['uuid']},organization_qnr_widgetRequest]
    /** delete data from the table: "projects" */
    delete_projects?: [{
    /** filter the rows which have to be deleted */
    where: projects_bool_exp},projects_mutation_responseRequest]
    /** delete single row from the table: "projects" */
    delete_projects_by_pk?: [{customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']},projectsRequest]
    /** delete data from the table: "qnr_template_genesis_overrides" */
    delete_qnr_template_genesis_overrides?: [{
    /** filter the rows which have to be deleted */
    where: qnr_template_genesis_overrides_bool_exp},qnr_template_genesis_overrides_mutation_responseRequest]
    /** delete single row from the table: "qnr_template_genesis_overrides" */
    delete_qnr_template_genesis_overrides_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},qnr_template_genesis_overridesRequest]
    /** delete data from the table: "qnr_template_genesis_overrides_log" */
    delete_qnr_template_genesis_overrides_log?: [{
    /** filter the rows which have to be deleted */
    where: qnr_template_genesis_overrides_log_bool_exp},qnr_template_genesis_overrides_log_mutation_responseRequest]
    /** delete single row from the table: "qnr_template_genesis_overrides_log" */
    delete_qnr_template_genesis_overrides_log_by_pk?: [{id: Scalars['Int']},qnr_template_genesis_overrides_logRequest]
    /** delete data from the table: "queries" */
    delete_queries?: [{
    /** filter the rows which have to be deleted */
    where: queries_bool_exp},queries_mutation_responseRequest]
    /** delete single row from the table: "queries" */
    delete_queries_by_pk?: [{id: Scalars['bigint']},queriesRequest]
    /** delete data from the table: "queries_cache" */
    delete_queries_cache?: [{
    /** filter the rows which have to be deleted */
    where: queries_cache_bool_exp},queries_cache_mutation_responseRequest]
    /** delete single row from the table: "queries_cache" */
    delete_queries_cache_by_pk?: [{query_id: Scalars['uuid']},queries_cacheRequest]
    /** delete data from the table: "queries_error" */
    delete_queries_error?: [{
    /** filter the rows which have to be deleted */
    where: queries_error_bool_exp},queries_error_mutation_responseRequest]
    /** delete single row from the table: "queries_error" */
    delete_queries_error_by_pk?: [{ai_id: Scalars['Int']},queries_errorRequest]
    /** delete data from the table: "queries_log" */
    delete_queries_log?: [{
    /** filter the rows which have to be deleted */
    where: queries_log_bool_exp},queries_log_mutation_responseRequest]
    /** delete single row from the table: "queries_log" */
    delete_queries_log_by_pk?: [{ai_id: Scalars['Int']},queries_logRequest]
    /** delete data from the table: "question_composite_question" */
    delete_question_composite_question?: [{
    /** filter the rows which have to be deleted */
    where: question_composite_question_bool_exp},question_composite_question_mutation_responseRequest]
    /** delete data from the table: "question_template" */
    delete_question_template?: [{
    /** filter the rows which have to be deleted */
    where: question_template_bool_exp},question_template_mutation_responseRequest]
    /** delete data from the table: "questions" */
    delete_questions?: [{
    /** filter the rows which have to be deleted */
    where: questions_bool_exp},questions_mutation_responseRequest]
    /** delete single row from the table: "questions" */
    delete_questions_by_pk?: [{id: Scalars['bigint']},questionsRequest]
    /** delete data from the table: "security_levels" */
    delete_security_levels?: [{
    /** filter the rows which have to be deleted */
    where: security_levels_bool_exp},security_levels_mutation_responseRequest]
    /** delete single row from the table: "security_levels" */
    delete_security_levels_by_pk?: [{name: Scalars['String']},security_levelsRequest]
    /** delete data from the table: "settings" */
    delete_settings?: [{
    /** filter the rows which have to be deleted */
    where: settings_bool_exp},settings_mutation_responseRequest]
    /** delete single row from the table: "settings" */
    delete_settings_by_pk?: [{id: Scalars['bigint']},settingsRequest]
    /** delete data from the table: "shortcuts" */
    delete_shortcuts?: [{
    /** filter the rows which have to be deleted */
    where: shortcuts_bool_exp},shortcuts_mutation_responseRequest]
    /** delete single row from the table: "shortcuts" */
    delete_shortcuts_by_pk?: [{id: Scalars['String']},shortcutsRequest]
    /** delete data from the table: "sms" */
    delete_sms?: [{
    /** filter the rows which have to be deleted */
    where: sms_bool_exp},sms_mutation_responseRequest]
    /** delete single row from the table: "sms" */
    delete_sms_by_pk?: [{id: Scalars['bigint']},smsRequest]
    /** delete data from the table: "sms_template_template" */
    delete_sms_template_template?: [{
    /** filter the rows which have to be deleted */
    where: sms_template_template_bool_exp},sms_template_template_mutation_responseRequest]
    /** delete single row from the table: "sms_template_template" */
    delete_sms_template_template_by_pk?: [{sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']},sms_template_templateRequest]
    /** delete data from the table: "sms_templates" */
    delete_sms_templates?: [{
    /** filter the rows which have to be deleted */
    where: sms_templates_bool_exp},sms_templates_mutation_responseRequest]
    /** delete single row from the table: "sms_templates" */
    delete_sms_templates_by_pk?: [{id: Scalars['bigint']},sms_templatesRequest]
    /** delete data from the table: "status" */
    delete_status?: [{
    /** filter the rows which have to be deleted */
    where: status_bool_exp},status_mutation_responseRequest]
    /** delete single row from the table: "status" */
    delete_status_by_pk?: [{name: Scalars['String']},statusRequest]
    /** delete data from the table: "table_names" */
    delete_table_names?: [{
    /** filter the rows which have to be deleted */
    where: table_names_bool_exp},table_names_mutation_responseRequest]
    /** delete single row from the table: "table_names" */
    delete_table_names_by_pk?: [{name: Scalars['String']},table_namesRequest]
    /** delete data from the table: "template_artifact_parcel" */
    delete_template_artifact_parcel?: [{
    /** filter the rows which have to be deleted */
    where: template_artifact_parcel_bool_exp},template_artifact_parcel_mutation_responseRequest]
    /** delete single row from the table: "template_artifact_parcel" */
    delete_template_artifact_parcel_by_pk?: [{artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']},template_artifact_parcelRequest]
    /** delete data from the table: "template_cache" */
    delete_template_cache?: [{
    /** filter the rows which have to be deleted */
    where: template_cache_bool_exp},template_cache_mutation_responseRequest]
    /** delete data from the table: "template_cache_access" */
    delete_template_cache_access?: [{
    /** filter the rows which have to be deleted */
    where: template_cache_access_bool_exp},template_cache_access_mutation_responseRequest]
    /** delete single row from the table: "template_cache_access" */
    delete_template_cache_access_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},template_cache_accessRequest]
    /** delete single row from the table: "template_cache" */
    delete_template_cache_by_pk?: [{template_uuid: Scalars['uuid']},template_cacheRequest]
    /** delete data from the table: "template_flags" */
    delete_template_flags?: [{
    /** filter the rows which have to be deleted */
    where: template_flags_bool_exp},template_flags_mutation_responseRequest]
    /** delete data from the table: "template_journal_roles" */
    delete_template_journal_roles?: [{
    /** filter the rows which have to be deleted */
    where: template_journal_roles_bool_exp},template_journal_roles_mutation_responseRequest]
    /** delete single row from the table: "template_journal_roles" */
    delete_template_journal_roles_by_pk?: [{role: Scalars['String'],template_uuid: Scalars['uuid']},template_journal_rolesRequest]
    /** delete data from the table: "template_offer_types" */
    delete_template_offer_types?: [{
    /** filter the rows which have to be deleted */
    where: template_offer_types_bool_exp},template_offer_types_mutation_responseRequest]
    /** delete single row from the table: "template_offer_types" */
    delete_template_offer_types_by_pk?: [{offer_type: Scalars['String'],template_uuid: Scalars['uuid']},template_offer_typesRequest]
    /** delete data from the table: "template_offers" */
    delete_template_offers?: [{
    /** filter the rows which have to be deleted */
    where: template_offers_bool_exp},template_offers_mutation_responseRequest]
    /** delete single row from the table: "template_offers" */
    delete_template_offers_by_pk?: [{offer: Scalars['String'],template_uuid: Scalars['uuid']},template_offersRequest]
    /** delete data from the table: "templates" */
    delete_templates?: [{
    /** filter the rows which have to be deleted */
    where: templates_bool_exp},templates_mutation_responseRequest]
    /** delete single row from the table: "templates" */
    delete_templates_by_pk?: [{id: Scalars['bigint']},templatesRequest]
    /** delete data from the table: "types" */
    delete_types?: [{
    /** filter the rows which have to be deleted */
    where: types_bool_exp},types_mutation_responseRequest]
    /** delete single row from the table: "types" */
    delete_types_by_pk?: [{name: Scalars['String']},typesRequest]
    /** create_notification */
    insertNotification?: [{objects: NotificationInput[]},NotificationOutputRequest]
    /** insert data into the table: "DocKladd_properties" */
    insert_DocKladd_properties?: [{
    /** the rows to be inserted */
    objects: DocKladd_properties_insert_input[],
    /** upsert condition */
    on_conflict?: (DocKladd_properties_on_conflict | null)},DocKladd_properties_mutation_responseRequest]
    /** insert a single row into the table: "DocKladd_properties" */
    insert_DocKladd_properties_one?: [{
    /** the row to be inserted */
    object: DocKladd_properties_insert_input,
    /** upsert condition */
    on_conflict?: (DocKladd_properties_on_conflict | null)},DocKladd_propertiesRequest]
    /** insert data into the table: "DocKladd_questions" */
    insert_DocKladd_questions?: [{
    /** the rows to be inserted */
    objects: DocKladd_questions_insert_input[],
    /** upsert condition */
    on_conflict?: (DocKladd_questions_on_conflict | null)},DocKladd_questions_mutation_responseRequest]
    /** insert a single row into the table: "DocKladd_questions" */
    insert_DocKladd_questions_one?: [{
    /** the row to be inserted */
    object: DocKladd_questions_insert_input,
    /** upsert condition */
    on_conflict?: (DocKladd_questions_on_conflict | null)},DocKladd_questionsRequest]
    /** insert data into the table: "accessible" */
    insert_accessible?: [{
    /** the rows to be inserted */
    objects: accessible_insert_input[],
    /** upsert condition */
    on_conflict?: (accessible_on_conflict | null)},accessible_mutation_responseRequest]
    /** insert a single row into the table: "accessible" */
    insert_accessible_one?: [{
    /** the row to be inserted */
    object: accessible_insert_input,
    /** upsert condition */
    on_conflict?: (accessible_on_conflict | null)},accessibleRequest]
    /** insert data into the table: "adopus_AdgangLinjer" */
    insert_adopus_AdgangLinjer?: [{
    /** the rows to be inserted */
    objects: adopus_AdgangLinjer_insert_input[],
    /** upsert condition */
    on_conflict?: (adopus_AdgangLinjer_on_conflict | null)},adopus_AdgangLinjer_mutation_responseRequest]
    /** insert a single row into the table: "adopus_AdgangLinjer" */
    insert_adopus_AdgangLinjer_one?: [{
    /** the row to be inserted */
    object: adopus_AdgangLinjer_insert_input,
    /** upsert condition */
    on_conflict?: (adopus_AdgangLinjer_on_conflict | null)},adopus_AdgangLinjerRequest]
    /** insert data into the table: "anonymous_answers" */
    insert_anonymous_answers?: [{
    /** the rows to be inserted */
    objects: anonymous_answers_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_answers_on_conflict | null)},anonymous_answers_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_answers" */
    insert_anonymous_answers_one?: [{
    /** the row to be inserted */
    object: anonymous_answers_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_answers_on_conflict | null)},anonymous_answersRequest]
    /** insert data into the table: "anonymous_invitations" */
    insert_anonymous_invitations?: [{
    /** the rows to be inserted */
    objects: anonymous_invitations_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_invitations_on_conflict | null)},anonymous_invitations_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_invitations" */
    insert_anonymous_invitations_one?: [{
    /** the row to be inserted */
    object: anonymous_invitations_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_invitations_on_conflict | null)},anonymous_invitationsRequest]
    /** insert data into the table: "anonymous_queries" */
    insert_anonymous_queries?: [{
    /** the rows to be inserted */
    objects: anonymous_queries_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_queries_on_conflict | null)},anonymous_queries_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_queries" */
    insert_anonymous_queries_one?: [{
    /** the row to be inserted */
    object: anonymous_queries_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_queries_on_conflict | null)},anonymous_queriesRequest]
    /** insert data into the table: "anonymous_sms" */
    insert_anonymous_sms?: [{
    /** the rows to be inserted */
    objects: anonymous_sms_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_sms_on_conflict | null)},anonymous_sms_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_sms" */
    insert_anonymous_sms_one?: [{
    /** the row to be inserted */
    object: anonymous_sms_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_sms_on_conflict | null)},anonymous_smsRequest]
    /** insert data into the table: "anonymous_template_question" */
    insert_anonymous_template_question?: [{
    /** the rows to be inserted */
    objects: anonymous_template_question_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_template_question_on_conflict | null)},anonymous_template_question_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_template_question" */
    insert_anonymous_template_question_one?: [{
    /** the row to be inserted */
    object: anonymous_template_question_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_template_question_on_conflict | null)},anonymous_template_questionRequest]
    /** insert data into the table: "anonymous_templates" */
    insert_anonymous_templates?: [{
    /** the rows to be inserted */
    objects: anonymous_templates_insert_input[],
    /** upsert condition */
    on_conflict?: (anonymous_templates_on_conflict | null)},anonymous_templates_mutation_responseRequest]
    /** insert a single row into the table: "anonymous_templates" */
    insert_anonymous_templates_one?: [{
    /** the row to be inserted */
    object: anonymous_templates_insert_input,
    /** upsert condition */
    on_conflict?: (anonymous_templates_on_conflict | null)},anonymous_templatesRequest]
    /** insert data into the table: "artifact_package_artifact_parcel" */
    insert_artifact_package_artifact_parcel?: [{
    /** the rows to be inserted */
    objects: artifact_package_artifact_parcel_insert_input[],
    /** upsert condition */
    on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)},artifact_package_artifact_parcel_mutation_responseRequest]
    /** insert a single row into the table: "artifact_package_artifact_parcel" */
    insert_artifact_package_artifact_parcel_one?: [{
    /** the row to be inserted */
    object: artifact_package_artifact_parcel_insert_input,
    /** upsert condition */
    on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)},artifact_package_artifact_parcelRequest]
    /** insert data into the table: "artifact_package_cron" */
    insert_artifact_package_cron?: [{
    /** the rows to be inserted */
    objects: artifact_package_cron_insert_input[],
    /** upsert condition */
    on_conflict?: (artifact_package_cron_on_conflict | null)},artifact_package_cron_mutation_responseRequest]
    /** insert a single row into the table: "artifact_package_cron" */
    insert_artifact_package_cron_one?: [{
    /** the row to be inserted */
    object: artifact_package_cron_insert_input,
    /** upsert condition */
    on_conflict?: (artifact_package_cron_on_conflict | null)},artifact_package_cronRequest]
    /** insert data into the table: "artifact_package_groups" */
    insert_artifact_package_groups?: [{
    /** the rows to be inserted */
    objects: artifact_package_groups_insert_input[],
    /** upsert condition */
    on_conflict?: (artifact_package_groups_on_conflict | null)},artifact_package_groups_mutation_responseRequest]
    /** insert a single row into the table: "artifact_package_groups" */
    insert_artifact_package_groups_one?: [{
    /** the row to be inserted */
    object: artifact_package_groups_insert_input,
    /** upsert condition */
    on_conflict?: (artifact_package_groups_on_conflict | null)},artifact_package_groupsRequest]
    /** insert data into the table: "artifact_packages" */
    insert_artifact_packages?: [{
    /** the rows to be inserted */
    objects: artifact_packages_insert_input[],
    /** upsert condition */
    on_conflict?: (artifact_packages_on_conflict | null)},artifact_packages_mutation_responseRequest]
    /** insert a single row into the table: "artifact_packages" */
    insert_artifact_packages_one?: [{
    /** the row to be inserted */
    object: artifact_packages_insert_input,
    /** upsert condition */
    on_conflict?: (artifact_packages_on_conflict | null)},artifact_packagesRequest]
    /** insert data into the table: "artifact_parcels" */
    insert_artifact_parcels?: [{
    /** the rows to be inserted */
    objects: artifact_parcels_insert_input[],
    /** upsert condition */
    on_conflict?: (artifact_parcels_on_conflict | null)},artifact_parcels_mutation_responseRequest]
    /** insert a single row into the table: "artifact_parcels" */
    insert_artifact_parcels_one?: [{
    /** the row to be inserted */
    object: artifact_parcels_insert_input,
    /** upsert condition */
    on_conflict?: (artifact_parcels_on_conflict | null)},artifact_parcelsRequest]
    /** insert data into the table: "categories" */
    insert_categories?: [{
    /** the rows to be inserted */
    objects: categories_insert_input[],
    /** upsert condition */
    on_conflict?: (categories_on_conflict | null)},categories_mutation_responseRequest]
    /** insert a single row into the table: "categories" */
    insert_categories_one?: [{
    /** the row to be inserted */
    object: categories_insert_input,
    /** upsert condition */
    on_conflict?: (categories_on_conflict | null)},categoriesRequest]
    /** insert data into the table: "consent_approval_rejection_reasons" */
    insert_consent_approval_rejection_reasons?: [{
    /** the rows to be inserted */
    objects: consent_approval_rejection_reasons_insert_input[],
    /** upsert condition */
    on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)},consent_approval_rejection_reasons_mutation_responseRequest]
    /** insert a single row into the table: "consent_approval_rejection_reasons" */
    insert_consent_approval_rejection_reasons_one?: [{
    /** the row to be inserted */
    object: consent_approval_rejection_reasons_insert_input,
    /** upsert condition */
    on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)},consent_approval_rejection_reasonsRequest]
    /** insert data into the table: "consent_patient" */
    insert_consent_patient?: [{
    /** the rows to be inserted */
    objects: consent_patient_insert_input[],
    /** upsert condition */
    on_conflict?: (consent_patient_on_conflict | null)},consent_patient_mutation_responseRequest]
    /** insert a single row into the table: "consent_patient" */
    insert_consent_patient_one?: [{
    /** the row to be inserted */
    object: consent_patient_insert_input,
    /** upsert condition */
    on_conflict?: (consent_patient_on_conflict | null)},consent_patientRequest]
    /** insert data into the table: "consent_status" */
    insert_consent_status?: [{
    /** the rows to be inserted */
    objects: consent_status_insert_input[],
    /** upsert condition */
    on_conflict?: (consent_status_on_conflict | null)},consent_status_mutation_responseRequest]
    /** insert a single row into the table: "consent_status" */
    insert_consent_status_one?: [{
    /** the row to be inserted */
    object: consent_status_insert_input,
    /** upsert condition */
    on_conflict?: (consent_status_on_conflict | null)},consent_statusRequest]
    /** insert data into the table: "consent_template_to_template" */
    insert_consent_template_to_template?: [{
    /** the rows to be inserted */
    objects: consent_template_to_template_insert_input[],
    /** upsert condition */
    on_conflict?: (consent_template_to_template_on_conflict | null)},consent_template_to_template_mutation_responseRequest]
    /** insert a single row into the table: "consent_template_to_template" */
    insert_consent_template_to_template_one?: [{
    /** the row to be inserted */
    object: consent_template_to_template_insert_input,
    /** upsert condition */
    on_conflict?: (consent_template_to_template_on_conflict | null)},consent_template_to_templateRequest]
    /** insert data into the table: "consent_templates" */
    insert_consent_templates?: [{
    /** the rows to be inserted */
    objects: consent_templates_insert_input[],
    /** upsert condition */
    on_conflict?: (consent_templates_on_conflict | null)},consent_templates_mutation_responseRequest]
    /** insert a single row into the table: "consent_templates" */
    insert_consent_templates_one?: [{
    /** the row to be inserted */
    object: consent_templates_insert_input,
    /** upsert condition */
    on_conflict?: (consent_templates_on_conflict | null)},consent_templatesRequest]
    /** insert data into the table: "consents" */
    insert_consents?: [{
    /** the rows to be inserted */
    objects: consents_insert_input[],
    /** upsert condition */
    on_conflict?: (consents_on_conflict | null)},consents_mutation_responseRequest]
    /** insert a single row into the table: "consents" */
    insert_consents_one?: [{
    /** the row to be inserted */
    object: consents_insert_input,
    /** upsert condition */
    on_conflict?: (consents_on_conflict | null)},consentsRequest]
    /** insert data into the table: "context_group_context" */
    insert_context_group_context?: [{
    /** the rows to be inserted */
    objects: context_group_context_insert_input[],
    /** upsert condition */
    on_conflict?: (context_group_context_on_conflict | null)},context_group_context_mutation_responseRequest]
    /** insert a single row into the table: "context_group_context" */
    insert_context_group_context_one?: [{
    /** the row to be inserted */
    object: context_group_context_insert_input,
    /** upsert condition */
    on_conflict?: (context_group_context_on_conflict | null)},context_group_contextRequest]
    /** insert data into the table: "contexts" */
    insert_contexts?: [{
    /** the rows to be inserted */
    objects: contexts_insert_input[],
    /** upsert condition */
    on_conflict?: (contexts_on_conflict | null)},contexts_mutation_responseRequest]
    /** insert a single row into the table: "contexts" */
    insert_contexts_one?: [{
    /** the row to be inserted */
    object: contexts_insert_input,
    /** upsert condition */
    on_conflict?: (contexts_on_conflict | null)},contextsRequest]
    /** insert data into the table: "custom_db_nodes" */
    insert_custom_db_nodes?: [{
    /** the rows to be inserted */
    objects: custom_db_nodes_insert_input[],
    /** upsert condition */
    on_conflict?: (custom_db_nodes_on_conflict | null)},custom_db_nodes_mutation_responseRequest]
    /** insert a single row into the table: "custom_db_nodes" */
    insert_custom_db_nodes_one?: [{
    /** the row to be inserted */
    object: custom_db_nodes_insert_input,
    /** upsert condition */
    on_conflict?: (custom_db_nodes_on_conflict | null)},custom_db_nodesRequest]
    /** insert data into the table: "directory_customers" */
    insert_directory_customers?: [{
    /** the rows to be inserted */
    objects: directory_customers_insert_input[],
    /** upsert condition */
    on_conflict?: (directory_customers_on_conflict | null)},directory_customers_mutation_responseRequest]
    /** insert a single row into the table: "directory_customers" */
    insert_directory_customers_one?: [{
    /** the row to be inserted */
    object: directory_customers_insert_input,
    /** upsert condition */
    on_conflict?: (directory_customers_on_conflict | null)},directory_customersRequest]
    /** insert data into the table: "directory_user_name" */
    insert_directory_user_name?: [{
    /** the rows to be inserted */
    objects: directory_user_name_insert_input[],
    /** upsert condition */
    on_conflict?: (directory_user_name_on_conflict | null)},directory_user_name_mutation_responseRequest]
    /** insert a single row into the table: "directory_user_name" */
    insert_directory_user_name_one?: [{
    /** the row to be inserted */
    object: directory_user_name_insert_input,
    /** upsert condition */
    on_conflict?: (directory_user_name_on_conflict | null)},directory_user_nameRequest]
    /** insert data into the table: "document_patient" */
    insert_document_patient?: [{
    /** the rows to be inserted */
    objects: document_patient_insert_input[],
    /** upsert condition */
    on_conflict?: (document_patient_on_conflict | null)},document_patient_mutation_responseRequest]
    /** insert a single row into the table: "document_patient" */
    insert_document_patient_one?: [{
    /** the row to be inserted */
    object: document_patient_insert_input,
    /** upsert condition */
    on_conflict?: (document_patient_on_conflict | null)},document_patientRequest]
    /** insert data into the table: "document_sms" */
    insert_document_sms?: [{
    /** the rows to be inserted */
    objects: document_sms_insert_input[]},document_sms_mutation_responseRequest]
    /** insert a single row into the table: "document_sms" */
    insert_document_sms_one?: [{
    /** the row to be inserted */
    object: document_sms_insert_input},document_smsRequest]
    /** insert data into the table: "documents" */
    insert_documents?: [{
    /** the rows to be inserted */
    objects: documents_insert_input[],
    /** upsert condition */
    on_conflict?: (documents_on_conflict | null)},documents_mutation_responseRequest]
    /** insert a single row into the table: "documents" */
    insert_documents_one?: [{
    /** the row to be inserted */
    object: documents_insert_input,
    /** upsert condition */
    on_conflict?: (documents_on_conflict | null)},documentsRequest]
    /** insert data into the table: "event_artifact_package" */
    insert_event_artifact_package?: [{
    /** the rows to be inserted */
    objects: event_artifact_package_insert_input[],
    /** upsert condition */
    on_conflict?: (event_artifact_package_on_conflict | null)},event_artifact_package_mutation_responseRequest]
    /** insert a single row into the table: "event_artifact_package" */
    insert_event_artifact_package_one?: [{
    /** the row to be inserted */
    object: event_artifact_package_insert_input,
    /** upsert condition */
    on_conflict?: (event_artifact_package_on_conflict | null)},event_artifact_packageRequest]
    /** insert data into the table: "favorite_templates_order" */
    insert_favorite_templates_order?: [{
    /** the rows to be inserted */
    objects: favorite_templates_order_insert_input[],
    /** upsert condition */
    on_conflict?: (favorite_templates_order_on_conflict | null)},favorite_templates_order_mutation_responseRequest]
    /** insert a single row into the table: "favorite_templates_order" */
    insert_favorite_templates_order_one?: [{
    /** the row to be inserted */
    object: favorite_templates_order_insert_input,
    /** upsert condition */
    on_conflict?: (favorite_templates_order_on_conflict | null)},favorite_templates_orderRequest]
    /** insert data into the table: "favorites" */
    insert_favorites?: [{
    /** the rows to be inserted */
    objects: favorites_insert_input[],
    /** upsert condition */
    on_conflict?: (favorites_on_conflict | null)},favorites_mutation_responseRequest]
    /** insert a single row into the table: "favorites" */
    insert_favorites_one?: [{
    /** the row to be inserted */
    object: favorites_insert_input,
    /** upsert condition */
    on_conflict?: (favorites_on_conflict | null)},favoritesRequest]
    /** insert data into the table: "filter_names" */
    insert_filter_names?: [{
    /** the rows to be inserted */
    objects: filter_names_insert_input[],
    /** upsert condition */
    on_conflict?: (filter_names_on_conflict | null)},filter_names_mutation_responseRequest]
    /** insert a single row into the table: "filter_names" */
    insert_filter_names_one?: [{
    /** the row to be inserted */
    object: filter_names_insert_input,
    /** upsert condition */
    on_conflict?: (filter_names_on_conflict | null)},filter_namesRequest]
    /** insert data into the table: "genesis_consent_permissions" */
    insert_genesis_consent_permissions?: [{
    /** the rows to be inserted */
    objects: genesis_consent_permissions_insert_input[],
    /** upsert condition */
    on_conflict?: (genesis_consent_permissions_on_conflict | null)},genesis_consent_permissions_mutation_responseRequest]
    /** insert a single row into the table: "genesis_consent_permissions" */
    insert_genesis_consent_permissions_one?: [{
    /** the row to be inserted */
    object: genesis_consent_permissions_insert_input,
    /** upsert condition */
    on_conflict?: (genesis_consent_permissions_on_conflict | null)},genesis_consent_permissionsRequest]
    /** insert data into the table: "genesis_consent_templates" */
    insert_genesis_consent_templates?: [{
    /** the rows to be inserted */
    objects: genesis_consent_templates_insert_input[],
    /** upsert condition */
    on_conflict?: (genesis_consent_templates_on_conflict | null)},genesis_consent_templates_mutation_responseRequest]
    /** insert a single row into the table: "genesis_consent_templates" */
    insert_genesis_consent_templates_one?: [{
    /** the row to be inserted */
    object: genesis_consent_templates_insert_input,
    /** upsert condition */
    on_conflict?: (genesis_consent_templates_on_conflict | null)},genesis_consent_templatesRequest]
    /** insert data into the table: "genesis_denied_permissions" */
    insert_genesis_denied_permissions?: [{
    /** the rows to be inserted */
    objects: genesis_denied_permissions_insert_input[],
    /** upsert condition */
    on_conflict?: (genesis_denied_permissions_on_conflict | null)},genesis_denied_permissions_mutation_responseRequest]
    /** insert a single row into the table: "genesis_denied_permissions" */
    insert_genesis_denied_permissions_one?: [{
    /** the row to be inserted */
    object: genesis_denied_permissions_insert_input,
    /** upsert condition */
    on_conflict?: (genesis_denied_permissions_on_conflict | null)},genesis_denied_permissionsRequest]
    /** insert data into the table: "genesis_templates" */
    insert_genesis_templates?: [{
    /** the rows to be inserted */
    objects: genesis_templates_insert_input[],
    /** upsert condition */
    on_conflict?: (genesis_templates_on_conflict | null)},genesis_templates_mutation_responseRequest]
    /** insert a single row into the table: "genesis_templates" */
    insert_genesis_templates_one?: [{
    /** the row to be inserted */
    object: genesis_templates_insert_input,
    /** upsert condition */
    on_conflict?: (genesis_templates_on_conflict | null)},genesis_templatesRequest]
    /** insert data into the table: "group_context" */
    insert_group_context?: [{
    /** the rows to be inserted */
    objects: group_context_insert_input[],
    /** upsert condition */
    on_conflict?: (group_context_on_conflict | null)},group_context_mutation_responseRequest]
    /** insert data into the table: "group_context_filters" */
    insert_group_context_filters?: [{
    /** the rows to be inserted */
    objects: group_context_filters_insert_input[],
    /** upsert condition */
    on_conflict?: (group_context_filters_on_conflict | null)},group_context_filters_mutation_responseRequest]
    /** insert a single row into the table: "group_context_filters" */
    insert_group_context_filters_one?: [{
    /** the row to be inserted */
    object: group_context_filters_insert_input,
    /** upsert condition */
    on_conflict?: (group_context_filters_on_conflict | null)},group_context_filtersRequest]
    /** insert a single row into the table: "group_context" */
    insert_group_context_one?: [{
    /** the row to be inserted */
    object: group_context_insert_input,
    /** upsert condition */
    on_conflict?: (group_context_on_conflict | null)},group_contextRequest]
    /** insert data into the table: "groups" */
    insert_groups?: [{
    /** the rows to be inserted */
    objects: groups_insert_input[],
    /** upsert condition */
    on_conflict?: (groups_on_conflict | null)},groups_mutation_responseRequest]
    /** insert a single row into the table: "groups" */
    insert_groups_one?: [{
    /** the row to be inserted */
    object: groups_insert_input,
    /** upsert condition */
    on_conflict?: (groups_on_conflict | null)},groupsRequest]
    /** insert data into the table: "initiators" */
    insert_initiators?: [{
    /** the rows to be inserted */
    objects: initiators_insert_input[],
    /** upsert condition */
    on_conflict?: (initiators_on_conflict | null)},initiators_mutation_responseRequest]
    /** insert a single row into the table: "initiators" */
    insert_initiators_one?: [{
    /** the row to be inserted */
    object: initiators_insert_input,
    /** upsert condition */
    on_conflict?: (initiators_on_conflict | null)},initiatorsRequest]
    /** insert data into the table: "migrations" */
    insert_migrations?: [{
    /** the rows to be inserted */
    objects: migrations_insert_input[],
    /** upsert condition */
    on_conflict?: (migrations_on_conflict | null)},migrations_mutation_responseRequest]
    /** insert a single row into the table: "migrations" */
    insert_migrations_one?: [{
    /** the row to be inserted */
    object: migrations_insert_input,
    /** upsert condition */
    on_conflict?: (migrations_on_conflict | null)},migrationsRequest]
    /** insert data into the table: "organization_qnr_widget" */
    insert_organization_qnr_widget?: [{
    /** the rows to be inserted */
    objects: organization_qnr_widget_insert_input[],
    /** upsert condition */
    on_conflict?: (organization_qnr_widget_on_conflict | null)},organization_qnr_widget_mutation_responseRequest]
    /** insert a single row into the table: "organization_qnr_widget" */
    insert_organization_qnr_widget_one?: [{
    /** the row to be inserted */
    object: organization_qnr_widget_insert_input,
    /** upsert condition */
    on_conflict?: (organization_qnr_widget_on_conflict | null)},organization_qnr_widgetRequest]
    /** insert data into the table: "projects" */
    insert_projects?: [{
    /** the rows to be inserted */
    objects: projects_insert_input[],
    /** upsert condition */
    on_conflict?: (projects_on_conflict | null)},projects_mutation_responseRequest]
    /** insert a single row into the table: "projects" */
    insert_projects_one?: [{
    /** the row to be inserted */
    object: projects_insert_input,
    /** upsert condition */
    on_conflict?: (projects_on_conflict | null)},projectsRequest]
    /** insert data into the table: "qnr_template_genesis_overrides" */
    insert_qnr_template_genesis_overrides?: [{
    /** the rows to be inserted */
    objects: qnr_template_genesis_overrides_insert_input[],
    /** upsert condition */
    on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)},qnr_template_genesis_overrides_mutation_responseRequest]
    /** insert data into the table: "qnr_template_genesis_overrides_log" */
    insert_qnr_template_genesis_overrides_log?: [{
    /** the rows to be inserted */
    objects: qnr_template_genesis_overrides_log_insert_input[],
    /** upsert condition */
    on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)},qnr_template_genesis_overrides_log_mutation_responseRequest]
    /** insert a single row into the table: "qnr_template_genesis_overrides_log" */
    insert_qnr_template_genesis_overrides_log_one?: [{
    /** the row to be inserted */
    object: qnr_template_genesis_overrides_log_insert_input,
    /** upsert condition */
    on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)},qnr_template_genesis_overrides_logRequest]
    /** insert a single row into the table: "qnr_template_genesis_overrides" */
    insert_qnr_template_genesis_overrides_one?: [{
    /** the row to be inserted */
    object: qnr_template_genesis_overrides_insert_input,
    /** upsert condition */
    on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)},qnr_template_genesis_overridesRequest]
    /** insert data into the table: "queries" */
    insert_queries?: [{
    /** the rows to be inserted */
    objects: queries_insert_input[],
    /** upsert condition */
    on_conflict?: (queries_on_conflict | null)},queries_mutation_responseRequest]
    /** insert data into the table: "queries_cache" */
    insert_queries_cache?: [{
    /** the rows to be inserted */
    objects: queries_cache_insert_input[],
    /** upsert condition */
    on_conflict?: (queries_cache_on_conflict | null)},queries_cache_mutation_responseRequest]
    /** insert a single row into the table: "queries_cache" */
    insert_queries_cache_one?: [{
    /** the row to be inserted */
    object: queries_cache_insert_input,
    /** upsert condition */
    on_conflict?: (queries_cache_on_conflict | null)},queries_cacheRequest]
    /** insert data into the table: "queries_error" */
    insert_queries_error?: [{
    /** the rows to be inserted */
    objects: queries_error_insert_input[],
    /** upsert condition */
    on_conflict?: (queries_error_on_conflict | null)},queries_error_mutation_responseRequest]
    /** insert a single row into the table: "queries_error" */
    insert_queries_error_one?: [{
    /** the row to be inserted */
    object: queries_error_insert_input,
    /** upsert condition */
    on_conflict?: (queries_error_on_conflict | null)},queries_errorRequest]
    /** insert data into the table: "queries_log" */
    insert_queries_log?: [{
    /** the rows to be inserted */
    objects: queries_log_insert_input[],
    /** upsert condition */
    on_conflict?: (queries_log_on_conflict | null)},queries_log_mutation_responseRequest]
    /** insert a single row into the table: "queries_log" */
    insert_queries_log_one?: [{
    /** the row to be inserted */
    object: queries_log_insert_input,
    /** upsert condition */
    on_conflict?: (queries_log_on_conflict | null)},queries_logRequest]
    /** insert a single row into the table: "queries" */
    insert_queries_one?: [{
    /** the row to be inserted */
    object: queries_insert_input,
    /** upsert condition */
    on_conflict?: (queries_on_conflict | null)},queriesRequest]
    /** insert data into the table: "question_composite_question" */
    insert_question_composite_question?: [{
    /** the rows to be inserted */
    objects: question_composite_question_insert_input[],
    /** upsert condition */
    on_conflict?: (question_composite_question_on_conflict | null)},question_composite_question_mutation_responseRequest]
    /** insert a single row into the table: "question_composite_question" */
    insert_question_composite_question_one?: [{
    /** the row to be inserted */
    object: question_composite_question_insert_input,
    /** upsert condition */
    on_conflict?: (question_composite_question_on_conflict | null)},question_composite_questionRequest]
    /** insert data into the table: "question_template" */
    insert_question_template?: [{
    /** the rows to be inserted */
    objects: question_template_insert_input[],
    /** upsert condition */
    on_conflict?: (question_template_on_conflict | null)},question_template_mutation_responseRequest]
    /** insert a single row into the table: "question_template" */
    insert_question_template_one?: [{
    /** the row to be inserted */
    object: question_template_insert_input,
    /** upsert condition */
    on_conflict?: (question_template_on_conflict | null)},question_templateRequest]
    /** insert data into the table: "questions" */
    insert_questions?: [{
    /** the rows to be inserted */
    objects: questions_insert_input[],
    /** upsert condition */
    on_conflict?: (questions_on_conflict | null)},questions_mutation_responseRequest]
    /** insert a single row into the table: "questions" */
    insert_questions_one?: [{
    /** the row to be inserted */
    object: questions_insert_input,
    /** upsert condition */
    on_conflict?: (questions_on_conflict | null)},questionsRequest]
    /** insert data into the table: "security_levels" */
    insert_security_levels?: [{
    /** the rows to be inserted */
    objects: security_levels_insert_input[],
    /** upsert condition */
    on_conflict?: (security_levels_on_conflict | null)},security_levels_mutation_responseRequest]
    /** insert a single row into the table: "security_levels" */
    insert_security_levels_one?: [{
    /** the row to be inserted */
    object: security_levels_insert_input,
    /** upsert condition */
    on_conflict?: (security_levels_on_conflict | null)},security_levelsRequest]
    /** insert data into the table: "settings" */
    insert_settings?: [{
    /** the rows to be inserted */
    objects: settings_insert_input[],
    /** upsert condition */
    on_conflict?: (settings_on_conflict | null)},settings_mutation_responseRequest]
    /** insert a single row into the table: "settings" */
    insert_settings_one?: [{
    /** the row to be inserted */
    object: settings_insert_input,
    /** upsert condition */
    on_conflict?: (settings_on_conflict | null)},settingsRequest]
    /** insert data into the table: "shortcuts" */
    insert_shortcuts?: [{
    /** the rows to be inserted */
    objects: shortcuts_insert_input[],
    /** upsert condition */
    on_conflict?: (shortcuts_on_conflict | null)},shortcuts_mutation_responseRequest]
    /** insert a single row into the table: "shortcuts" */
    insert_shortcuts_one?: [{
    /** the row to be inserted */
    object: shortcuts_insert_input,
    /** upsert condition */
    on_conflict?: (shortcuts_on_conflict | null)},shortcutsRequest]
    /** insert data into the table: "sms" */
    insert_sms?: [{
    /** the rows to be inserted */
    objects: sms_insert_input[],
    /** upsert condition */
    on_conflict?: (sms_on_conflict | null)},sms_mutation_responseRequest]
    /** insert a single row into the table: "sms" */
    insert_sms_one?: [{
    /** the row to be inserted */
    object: sms_insert_input,
    /** upsert condition */
    on_conflict?: (sms_on_conflict | null)},smsRequest]
    /** insert data into the table: "sms_template_template" */
    insert_sms_template_template?: [{
    /** the rows to be inserted */
    objects: sms_template_template_insert_input[],
    /** upsert condition */
    on_conflict?: (sms_template_template_on_conflict | null)},sms_template_template_mutation_responseRequest]
    /** insert a single row into the table: "sms_template_template" */
    insert_sms_template_template_one?: [{
    /** the row to be inserted */
    object: sms_template_template_insert_input,
    /** upsert condition */
    on_conflict?: (sms_template_template_on_conflict | null)},sms_template_templateRequest]
    /** insert data into the table: "sms_templates" */
    insert_sms_templates?: [{
    /** the rows to be inserted */
    objects: sms_templates_insert_input[],
    /** upsert condition */
    on_conflict?: (sms_templates_on_conflict | null)},sms_templates_mutation_responseRequest]
    /** insert a single row into the table: "sms_templates" */
    insert_sms_templates_one?: [{
    /** the row to be inserted */
    object: sms_templates_insert_input,
    /** upsert condition */
    on_conflict?: (sms_templates_on_conflict | null)},sms_templatesRequest]
    /** insert data into the table: "status" */
    insert_status?: [{
    /** the rows to be inserted */
    objects: status_insert_input[],
    /** upsert condition */
    on_conflict?: (status_on_conflict | null)},status_mutation_responseRequest]
    /** insert a single row into the table: "status" */
    insert_status_one?: [{
    /** the row to be inserted */
    object: status_insert_input,
    /** upsert condition */
    on_conflict?: (status_on_conflict | null)},statusRequest]
    /** insert data into the table: "table_names" */
    insert_table_names?: [{
    /** the rows to be inserted */
    objects: table_names_insert_input[],
    /** upsert condition */
    on_conflict?: (table_names_on_conflict | null)},table_names_mutation_responseRequest]
    /** insert a single row into the table: "table_names" */
    insert_table_names_one?: [{
    /** the row to be inserted */
    object: table_names_insert_input,
    /** upsert condition */
    on_conflict?: (table_names_on_conflict | null)},table_namesRequest]
    /** insert data into the table: "template_artifact_parcel" */
    insert_template_artifact_parcel?: [{
    /** the rows to be inserted */
    objects: template_artifact_parcel_insert_input[],
    /** upsert condition */
    on_conflict?: (template_artifact_parcel_on_conflict | null)},template_artifact_parcel_mutation_responseRequest]
    /** insert a single row into the table: "template_artifact_parcel" */
    insert_template_artifact_parcel_one?: [{
    /** the row to be inserted */
    object: template_artifact_parcel_insert_input,
    /** upsert condition */
    on_conflict?: (template_artifact_parcel_on_conflict | null)},template_artifact_parcelRequest]
    /** insert data into the table: "template_cache" */
    insert_template_cache?: [{
    /** the rows to be inserted */
    objects: template_cache_insert_input[],
    /** upsert condition */
    on_conflict?: (template_cache_on_conflict | null)},template_cache_mutation_responseRequest]
    /** insert data into the table: "template_cache_access" */
    insert_template_cache_access?: [{
    /** the rows to be inserted */
    objects: template_cache_access_insert_input[],
    /** upsert condition */
    on_conflict?: (template_cache_access_on_conflict | null)},template_cache_access_mutation_responseRequest]
    /** insert a single row into the table: "template_cache_access" */
    insert_template_cache_access_one?: [{
    /** the row to be inserted */
    object: template_cache_access_insert_input,
    /** upsert condition */
    on_conflict?: (template_cache_access_on_conflict | null)},template_cache_accessRequest]
    /** insert a single row into the table: "template_cache" */
    insert_template_cache_one?: [{
    /** the row to be inserted */
    object: template_cache_insert_input,
    /** upsert condition */
    on_conflict?: (template_cache_on_conflict | null)},template_cacheRequest]
    /** insert data into the table: "template_flags" */
    insert_template_flags?: [{
    /** the rows to be inserted */
    objects: template_flags_insert_input[]},template_flags_mutation_responseRequest]
    /** insert a single row into the table: "template_flags" */
    insert_template_flags_one?: [{
    /** the row to be inserted */
    object: template_flags_insert_input},template_flagsRequest]
    /** insert data into the table: "template_journal_roles" */
    insert_template_journal_roles?: [{
    /** the rows to be inserted */
    objects: template_journal_roles_insert_input[],
    /** upsert condition */
    on_conflict?: (template_journal_roles_on_conflict | null)},template_journal_roles_mutation_responseRequest]
    /** insert a single row into the table: "template_journal_roles" */
    insert_template_journal_roles_one?: [{
    /** the row to be inserted */
    object: template_journal_roles_insert_input,
    /** upsert condition */
    on_conflict?: (template_journal_roles_on_conflict | null)},template_journal_rolesRequest]
    /** insert data into the table: "template_offer_types" */
    insert_template_offer_types?: [{
    /** the rows to be inserted */
    objects: template_offer_types_insert_input[],
    /** upsert condition */
    on_conflict?: (template_offer_types_on_conflict | null)},template_offer_types_mutation_responseRequest]
    /** insert a single row into the table: "template_offer_types" */
    insert_template_offer_types_one?: [{
    /** the row to be inserted */
    object: template_offer_types_insert_input,
    /** upsert condition */
    on_conflict?: (template_offer_types_on_conflict | null)},template_offer_typesRequest]
    /** insert data into the table: "template_offers" */
    insert_template_offers?: [{
    /** the rows to be inserted */
    objects: template_offers_insert_input[],
    /** upsert condition */
    on_conflict?: (template_offers_on_conflict | null)},template_offers_mutation_responseRequest]
    /** insert a single row into the table: "template_offers" */
    insert_template_offers_one?: [{
    /** the row to be inserted */
    object: template_offers_insert_input,
    /** upsert condition */
    on_conflict?: (template_offers_on_conflict | null)},template_offersRequest]
    /** insert data into the table: "templates" */
    insert_templates?: [{
    /** the rows to be inserted */
    objects: templates_insert_input[],
    /** upsert condition */
    on_conflict?: (templates_on_conflict | null)},templates_mutation_responseRequest]
    /** insert a single row into the table: "templates" */
    insert_templates_one?: [{
    /** the row to be inserted */
    object: templates_insert_input,
    /** upsert condition */
    on_conflict?: (templates_on_conflict | null)},templatesRequest]
    /** insert data into the table: "types" */
    insert_types?: [{
    /** the rows to be inserted */
    objects: types_insert_input[],
    /** upsert condition */
    on_conflict?: (types_on_conflict | null)},types_mutation_responseRequest]
    /** insert a single row into the table: "types" */
    insert_types_one?: [{
    /** the row to be inserted */
    object: types_insert_input,
    /** upsert condition */
    on_conflict?: (types_on_conflict | null)},typesRequest]
    /** qnrResponse */
    qnrResponse?: [{participants: Participant[],qnrs: qnrs_ActionType[],shareQnr?: (Scalars['Boolean'] | null),withPostToConnector?: (Scalars['Boolean'] | null),withPrefillFromConnector?: (Scalars['Boolean'] | null),withPropertiesToReturn?: (Scalars['Boolean'] | null),withSave?: (Scalars['Boolean'] | null)},qnrs_ActionTypeResponseDataRequest]
    /** Send sms */
    sendSms?: [{objects?: (SmsInput[] | null)},SmsOutputRequest] | SmsOutputRequest
    /** update data of the table: "DocKladd_properties" */
    update_DocKladd_properties?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (DocKladd_properties_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (DocKladd_properties_set_input | null),
    /** filter the rows which have to be updated */
    where: DocKladd_properties_bool_exp},DocKladd_properties_mutation_responseRequest]
    /** update single row of the table: "DocKladd_properties" */
    update_DocKladd_properties_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (DocKladd_properties_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (DocKladd_properties_set_input | null),pk_columns: DocKladd_properties_pk_columns_input},DocKladd_propertiesRequest]
    /** update multiples rows of table: "DocKladd_properties" */
    update_DocKladd_properties_many?: [{
    /** updates to execute, in order */
    updates: DocKladd_properties_updates[]},DocKladd_properties_mutation_responseRequest]
    /** update data of the table: "DocKladd_questions" */
    update_DocKladd_questions?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (DocKladd_questions_set_input | null),
    /** filter the rows which have to be updated */
    where: DocKladd_questions_bool_exp},DocKladd_questions_mutation_responseRequest]
    /** update single row of the table: "DocKladd_questions" */
    update_DocKladd_questions_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (DocKladd_questions_set_input | null),pk_columns: DocKladd_questions_pk_columns_input},DocKladd_questionsRequest]
    /** update multiples rows of table: "DocKladd_questions" */
    update_DocKladd_questions_many?: [{
    /** updates to execute, in order */
    updates: DocKladd_questions_updates[]},DocKladd_questions_mutation_responseRequest]
    /** update data of the table: "accessible" */
    update_accessible?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (accessible_set_input | null),
    /** filter the rows which have to be updated */
    where: accessible_bool_exp},accessible_mutation_responseRequest]
    /** update single row of the table: "accessible" */
    update_accessible_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (accessible_set_input | null),pk_columns: accessible_pk_columns_input},accessibleRequest]
    /** update multiples rows of table: "accessible" */
    update_accessible_many?: [{
    /** updates to execute, in order */
    updates: accessible_updates[]},accessible_mutation_responseRequest]
    /** update data of the table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (adopus_AdgangLinjer_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (adopus_AdgangLinjer_set_input | null),
    /** filter the rows which have to be updated */
    where: adopus_AdgangLinjer_bool_exp},adopus_AdgangLinjer_mutation_responseRequest]
    /** update single row of the table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (adopus_AdgangLinjer_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (adopus_AdgangLinjer_set_input | null),pk_columns: adopus_AdgangLinjer_pk_columns_input},adopus_AdgangLinjerRequest]
    /** update multiples rows of table: "adopus_AdgangLinjer" */
    update_adopus_AdgangLinjer_many?: [{
    /** updates to execute, in order */
    updates: adopus_AdgangLinjer_updates[]},adopus_AdgangLinjer_mutation_responseRequest]
    /** update data of the table: "anonymous_answers" */
    update_anonymous_answers?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_answers_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_answers_delete_at_path_input | null),
    /** 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_elem?: (anonymous_answers_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_answers_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_answers_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_answers_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_answers_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_answers_bool_exp},anonymous_answers_mutation_responseRequest]
    /** update single row of the table: "anonymous_answers" */
    update_anonymous_answers_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_answers_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_answers_delete_at_path_input | null),
    /** 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_elem?: (anonymous_answers_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_answers_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_answers_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_answers_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_answers_set_input | null),pk_columns: anonymous_answers_pk_columns_input},anonymous_answersRequest]
    /** update multiples rows of table: "anonymous_answers" */
    update_anonymous_answers_many?: [{
    /** updates to execute, in order */
    updates: anonymous_answers_updates[]},anonymous_answers_mutation_responseRequest]
    /** update data of the table: "anonymous_invitations" */
    update_anonymous_invitations?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_invitations_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_invitations_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_invitations_bool_exp},anonymous_invitations_mutation_responseRequest]
    /** update single row of the table: "anonymous_invitations" */
    update_anonymous_invitations_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_invitations_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_invitations_set_input | null),pk_columns: anonymous_invitations_pk_columns_input},anonymous_invitationsRequest]
    /** update multiples rows of table: "anonymous_invitations" */
    update_anonymous_invitations_many?: [{
    /** updates to execute, in order */
    updates: anonymous_invitations_updates[]},anonymous_invitations_mutation_responseRequest]
    /** update data of the table: "anonymous_queries" */
    update_anonymous_queries?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_queries_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_queries_delete_at_path_input | null),
    /** 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_elem?: (anonymous_queries_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_queries_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_queries_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_queries_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_queries_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_queries_bool_exp},anonymous_queries_mutation_responseRequest]
    /** update single row of the table: "anonymous_queries" */
    update_anonymous_queries_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_queries_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_queries_delete_at_path_input | null),
    /** 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_elem?: (anonymous_queries_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_queries_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_queries_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_queries_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_queries_set_input | null),pk_columns: anonymous_queries_pk_columns_input},anonymous_queriesRequest]
    /** update multiples rows of table: "anonymous_queries" */
    update_anonymous_queries_many?: [{
    /** updates to execute, in order */
    updates: anonymous_queries_updates[]},anonymous_queries_mutation_responseRequest]
    /** update data of the table: "anonymous_sms" */
    update_anonymous_sms?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_sms_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_sms_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_sms_bool_exp},anonymous_sms_mutation_responseRequest]
    /** update single row of the table: "anonymous_sms" */
    update_anonymous_sms_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_sms_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_sms_set_input | null),pk_columns: anonymous_sms_pk_columns_input},anonymous_smsRequest]
    /** update multiples rows of table: "anonymous_sms" */
    update_anonymous_sms_many?: [{
    /** updates to execute, in order */
    updates: anonymous_sms_updates[]},anonymous_sms_mutation_responseRequest]
    /** update data of the table: "anonymous_template_question" */
    update_anonymous_template_question?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_template_question_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_template_question_delete_at_path_input | null),
    /** 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_elem?: (anonymous_template_question_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_template_question_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_template_question_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_template_question_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_template_question_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_template_question_bool_exp},anonymous_template_question_mutation_responseRequest]
    /** update multiples rows of table: "anonymous_template_question" */
    update_anonymous_template_question_many?: [{
    /** updates to execute, in order */
    updates: anonymous_template_question_updates[]},anonymous_template_question_mutation_responseRequest]
    /** update data of the table: "anonymous_templates" */
    update_anonymous_templates?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_templates_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_templates_delete_at_path_input | null),
    /** 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_elem?: (anonymous_templates_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_templates_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_templates_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_templates_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_templates_set_input | null),
    /** filter the rows which have to be updated */
    where: anonymous_templates_bool_exp},anonymous_templates_mutation_responseRequest]
    /** update single row of the table: "anonymous_templates" */
    update_anonymous_templates_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (anonymous_templates_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (anonymous_templates_delete_at_path_input | null),
    /** 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_elem?: (anonymous_templates_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (anonymous_templates_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (anonymous_templates_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (anonymous_templates_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (anonymous_templates_set_input | null),pk_columns: anonymous_templates_pk_columns_input},anonymous_templatesRequest]
    /** update multiples rows of table: "anonymous_templates" */
    update_anonymous_templates_many?: [{
    /** updates to execute, in order */
    updates: anonymous_templates_updates[]},anonymous_templates_mutation_responseRequest]
    /** update data of the table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_artifact_parcel_set_input | null),
    /** filter the rows which have to be updated */
    where: artifact_package_artifact_parcel_bool_exp},artifact_package_artifact_parcel_mutation_responseRequest]
    /** update single row of the table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_artifact_parcel_set_input | null),pk_columns: artifact_package_artifact_parcel_pk_columns_input},artifact_package_artifact_parcelRequest]
    /** update multiples rows of table: "artifact_package_artifact_parcel" */
    update_artifact_package_artifact_parcel_many?: [{
    /** updates to execute, in order */
    updates: artifact_package_artifact_parcel_updates[]},artifact_package_artifact_parcel_mutation_responseRequest]
    /** update data of the table: "artifact_package_cron" */
    update_artifact_package_cron?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_cron_set_input | null),
    /** filter the rows which have to be updated */
    where: artifact_package_cron_bool_exp},artifact_package_cron_mutation_responseRequest]
    /** update single row of the table: "artifact_package_cron" */
    update_artifact_package_cron_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_cron_set_input | null),pk_columns: artifact_package_cron_pk_columns_input},artifact_package_cronRequest]
    /** update multiples rows of table: "artifact_package_cron" */
    update_artifact_package_cron_many?: [{
    /** updates to execute, in order */
    updates: artifact_package_cron_updates[]},artifact_package_cron_mutation_responseRequest]
    /** update data of the table: "artifact_package_groups" */
    update_artifact_package_groups?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (artifact_package_groups_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_groups_set_input | null),
    /** filter the rows which have to be updated */
    where: artifact_package_groups_bool_exp},artifact_package_groups_mutation_responseRequest]
    /** update single row of the table: "artifact_package_groups" */
    update_artifact_package_groups_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (artifact_package_groups_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_package_groups_set_input | null),pk_columns: artifact_package_groups_pk_columns_input},artifact_package_groupsRequest]
    /** update multiples rows of table: "artifact_package_groups" */
    update_artifact_package_groups_many?: [{
    /** updates to execute, in order */
    updates: artifact_package_groups_updates[]},artifact_package_groups_mutation_responseRequest]
    /** update data of the table: "artifact_packages" */
    update_artifact_packages?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_packages_set_input | null),
    /** filter the rows which have to be updated */
    where: artifact_packages_bool_exp},artifact_packages_mutation_responseRequest]
    /** update single row of the table: "artifact_packages" */
    update_artifact_packages_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_packages_set_input | null),pk_columns: artifact_packages_pk_columns_input},artifact_packagesRequest]
    /** update multiples rows of table: "artifact_packages" */
    update_artifact_packages_many?: [{
    /** updates to execute, in order */
    updates: artifact_packages_updates[]},artifact_packages_mutation_responseRequest]
    /** update data of the table: "artifact_parcels" */
    update_artifact_parcels?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_parcels_set_input | null),
    /** filter the rows which have to be updated */
    where: artifact_parcels_bool_exp},artifact_parcels_mutation_responseRequest]
    /** update single row of the table: "artifact_parcels" */
    update_artifact_parcels_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (artifact_parcels_set_input | null),pk_columns: artifact_parcels_pk_columns_input},artifact_parcelsRequest]
    /** update multiples rows of table: "artifact_parcels" */
    update_artifact_parcels_many?: [{
    /** updates to execute, in order */
    updates: artifact_parcels_updates[]},artifact_parcels_mutation_responseRequest]
    /** update data of the table: "categories" */
    update_categories?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (categories_set_input | null),
    /** filter the rows which have to be updated */
    where: categories_bool_exp},categories_mutation_responseRequest]
    /** update single row of the table: "categories" */
    update_categories_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (categories_set_input | null),pk_columns: categories_pk_columns_input},categoriesRequest]
    /** update multiples rows of table: "categories" */
    update_categories_many?: [{
    /** updates to execute, in order */
    updates: categories_updates[]},categories_mutation_responseRequest]
    /** update data of the table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_approval_rejection_reasons_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_approval_rejection_reasons_set_input | null),
    /** filter the rows which have to be updated */
    where: consent_approval_rejection_reasons_bool_exp},consent_approval_rejection_reasons_mutation_responseRequest]
    /** update single row of the table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_approval_rejection_reasons_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_approval_rejection_reasons_set_input | null),pk_columns: consent_approval_rejection_reasons_pk_columns_input},consent_approval_rejection_reasonsRequest]
    /** update multiples rows of table: "consent_approval_rejection_reasons" */
    update_consent_approval_rejection_reasons_many?: [{
    /** updates to execute, in order */
    updates: consent_approval_rejection_reasons_updates[]},consent_approval_rejection_reasons_mutation_responseRequest]
    /** update data of the table: "consent_patient" */
    update_consent_patient?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_patient_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_patient_set_input | null),
    /** filter the rows which have to be updated */
    where: consent_patient_bool_exp},consent_patient_mutation_responseRequest]
    /** update single row of the table: "consent_patient" */
    update_consent_patient_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_patient_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_patient_set_input | null),pk_columns: consent_patient_pk_columns_input},consent_patientRequest]
    /** update multiples rows of table: "consent_patient" */
    update_consent_patient_many?: [{
    /** updates to execute, in order */
    updates: consent_patient_updates[]},consent_patient_mutation_responseRequest]
    /** update data of the table: "consent_status" */
    update_consent_status?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_status_set_input | null),
    /** filter the rows which have to be updated */
    where: consent_status_bool_exp},consent_status_mutation_responseRequest]
    /** update single row of the table: "consent_status" */
    update_consent_status_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_status_set_input | null),pk_columns: consent_status_pk_columns_input},consent_statusRequest]
    /** update multiples rows of table: "consent_status" */
    update_consent_status_many?: [{
    /** updates to execute, in order */
    updates: consent_status_updates[]},consent_status_mutation_responseRequest]
    /** update data of the table: "consent_template_to_template" */
    update_consent_template_to_template?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_template_to_template_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_template_to_template_set_input | null),
    /** filter the rows which have to be updated */
    where: consent_template_to_template_bool_exp},consent_template_to_template_mutation_responseRequest]
    /** update multiples rows of table: "consent_template_to_template" */
    update_consent_template_to_template_many?: [{
    /** updates to execute, in order */
    updates: consent_template_to_template_updates[]},consent_template_to_template_mutation_responseRequest]
    /** update data of the table: "consent_templates" */
    update_consent_templates?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_templates_set_input | null),
    /** filter the rows which have to be updated */
    where: consent_templates_bool_exp},consent_templates_mutation_responseRequest]
    /** update single row of the table: "consent_templates" */
    update_consent_templates_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consent_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consent_templates_set_input | null),pk_columns: consent_templates_pk_columns_input},consent_templatesRequest]
    /** update multiples rows of table: "consent_templates" */
    update_consent_templates_many?: [{
    /** updates to execute, in order */
    updates: consent_templates_updates[]},consent_templates_mutation_responseRequest]
    /** update data of the table: "consents" */
    update_consents?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consents_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consents_set_input | null),
    /** filter the rows which have to be updated */
    where: consents_bool_exp},consents_mutation_responseRequest]
    /** update single row of the table: "consents" */
    update_consents_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (consents_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (consents_set_input | null),pk_columns: consents_pk_columns_input},consentsRequest]
    /** update multiples rows of table: "consents" */
    update_consents_many?: [{
    /** updates to execute, in order */
    updates: consents_updates[]},consents_mutation_responseRequest]
    /** update data of the table: "context_group_context" */
    update_context_group_context?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (context_group_context_set_input | null),
    /** filter the rows which have to be updated */
    where: context_group_context_bool_exp},context_group_context_mutation_responseRequest]
    /** update single row of the table: "context_group_context" */
    update_context_group_context_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (context_group_context_set_input | null),pk_columns: context_group_context_pk_columns_input},context_group_contextRequest]
    /** update multiples rows of table: "context_group_context" */
    update_context_group_context_many?: [{
    /** updates to execute, in order */
    updates: context_group_context_updates[]},context_group_context_mutation_responseRequest]
    /** update data of the table: "contexts" */
    update_contexts?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (contexts_set_input | null),
    /** filter the rows which have to be updated */
    where: contexts_bool_exp},contexts_mutation_responseRequest]
    /** update single row of the table: "contexts" */
    update_contexts_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (contexts_set_input | null),pk_columns: contexts_pk_columns_input},contextsRequest]
    /** update multiples rows of table: "contexts" */
    update_contexts_many?: [{
    /** updates to execute, in order */
    updates: contexts_updates[]},contexts_mutation_responseRequest]
    /** update data of the table: "custom_db_nodes" */
    update_custom_db_nodes?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (custom_db_nodes_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
    /** 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_elem?: (custom_db_nodes_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (custom_db_nodes_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (custom_db_nodes_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (custom_db_nodes_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (custom_db_nodes_set_input | null),
    /** filter the rows which have to be updated */
    where: custom_db_nodes_bool_exp},custom_db_nodes_mutation_responseRequest]
    /** update single row of the table: "custom_db_nodes" */
    update_custom_db_nodes_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (custom_db_nodes_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
    /** 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_elem?: (custom_db_nodes_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (custom_db_nodes_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (custom_db_nodes_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (custom_db_nodes_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (custom_db_nodes_set_input | null),pk_columns: custom_db_nodes_pk_columns_input},custom_db_nodesRequest]
    /** update multiples rows of table: "custom_db_nodes" */
    update_custom_db_nodes_many?: [{
    /** updates to execute, in order */
    updates: custom_db_nodes_updates[]},custom_db_nodes_mutation_responseRequest]
    /** update data of the table: "directory_customers" */
    update_directory_customers?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_customers_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_customers_bool_exp},directory_customers_mutation_responseRequest]
    /** update single row of the table: "directory_customers" */
    update_directory_customers_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_customers_set_input | null),pk_columns: directory_customers_pk_columns_input},directory_customersRequest]
    /** update multiples rows of table: "directory_customers" */
    update_directory_customers_many?: [{
    /** updates to execute, in order */
    updates: directory_customers_updates[]},directory_customers_mutation_responseRequest]
    /** update data of the table: "directory_user_name" */
    update_directory_user_name?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_user_name_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_user_name_bool_exp},directory_user_name_mutation_responseRequest]
    /** update single row of the table: "directory_user_name" */
    update_directory_user_name_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_user_name_set_input | null),pk_columns: directory_user_name_pk_columns_input},directory_user_nameRequest]
    /** update multiples rows of table: "directory_user_name" */
    update_directory_user_name_many?: [{
    /** updates to execute, in order */
    updates: directory_user_name_updates[]},directory_user_name_mutation_responseRequest]
    /** update data of the table: "document_patient" */
    update_document_patient?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (document_patient_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (document_patient_set_input | null),
    /** filter the rows which have to be updated */
    where: document_patient_bool_exp},document_patient_mutation_responseRequest]
    /** update single row of the table: "document_patient" */
    update_document_patient_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (document_patient_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (document_patient_set_input | null),pk_columns: document_patient_pk_columns_input},document_patientRequest]
    /** update multiples rows of table: "document_patient" */
    update_document_patient_many?: [{
    /** updates to execute, in order */
    updates: document_patient_updates[]},document_patient_mutation_responseRequest]
    /** update data of the table: "document_sms" */
    update_document_sms?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (document_sms_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (document_sms_set_input | null),
    /** filter the rows which have to be updated */
    where: document_sms_bool_exp},document_sms_mutation_responseRequest]
    /** update multiples rows of table: "document_sms" */
    update_document_sms_many?: [{
    /** updates to execute, in order */
    updates: document_sms_updates[]},document_sms_mutation_responseRequest]
    /** update data of the table: "documents" */
    update_documents?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (documents_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (documents_set_input | null),
    /** filter the rows which have to be updated */
    where: documents_bool_exp},documents_mutation_responseRequest]
    /** update single row of the table: "documents" */
    update_documents_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (documents_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (documents_set_input | null),pk_columns: documents_pk_columns_input},documentsRequest]
    /** update multiples rows of table: "documents" */
    update_documents_many?: [{
    /** updates to execute, in order */
    updates: documents_updates[]},documents_mutation_responseRequest]
    /** update data of the table: "event_artifact_package" */
    update_event_artifact_package?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (event_artifact_package_set_input | null),
    /** filter the rows which have to be updated */
    where: event_artifact_package_bool_exp},event_artifact_package_mutation_responseRequest]
    /** update single row of the table: "event_artifact_package" */
    update_event_artifact_package_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (event_artifact_package_set_input | null),pk_columns: event_artifact_package_pk_columns_input},event_artifact_packageRequest]
    /** update multiples rows of table: "event_artifact_package" */
    update_event_artifact_package_many?: [{
    /** updates to execute, in order */
    updates: event_artifact_package_updates[]},event_artifact_package_mutation_responseRequest]
    /** update data of the table: "favorite_templates_order" */
    update_favorite_templates_order?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (favorite_templates_order_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (favorite_templates_order_set_input | null),
    /** filter the rows which have to be updated */
    where: favorite_templates_order_bool_exp},favorite_templates_order_mutation_responseRequest]
    /** update single row of the table: "favorite_templates_order" */
    update_favorite_templates_order_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (favorite_templates_order_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (favorite_templates_order_set_input | null),pk_columns: favorite_templates_order_pk_columns_input},favorite_templates_orderRequest]
    /** update multiples rows of table: "favorite_templates_order" */
    update_favorite_templates_order_many?: [{
    /** updates to execute, in order */
    updates: favorite_templates_order_updates[]},favorite_templates_order_mutation_responseRequest]
    /** update data of the table: "favorites" */
    update_favorites?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (favorites_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (favorites_set_input | null),
    /** filter the rows which have to be updated */
    where: favorites_bool_exp},favorites_mutation_responseRequest]
    /** update single row of the table: "favorites" */
    update_favorites_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (favorites_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (favorites_set_input | null),pk_columns: favorites_pk_columns_input},favoritesRequest]
    /** update multiples rows of table: "favorites" */
    update_favorites_many?: [{
    /** updates to execute, in order */
    updates: favorites_updates[]},favorites_mutation_responseRequest]
    /** update data of the table: "filter_names" */
    update_filter_names?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (filter_names_set_input | null),
    /** filter the rows which have to be updated */
    where: filter_names_bool_exp},filter_names_mutation_responseRequest]
    /** update single row of the table: "filter_names" */
    update_filter_names_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (filter_names_set_input | null),pk_columns: filter_names_pk_columns_input},filter_namesRequest]
    /** update multiples rows of table: "filter_names" */
    update_filter_names_many?: [{
    /** updates to execute, in order */
    updates: filter_names_updates[]},filter_names_mutation_responseRequest]
    /** update data of the table: "genesis_consent_permissions" */
    update_genesis_consent_permissions?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_consent_permissions_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_consent_permissions_set_input | null),
    /** filter the rows which have to be updated */
    where: genesis_consent_permissions_bool_exp},genesis_consent_permissions_mutation_responseRequest]
    /** update single row of the table: "genesis_consent_permissions" */
    update_genesis_consent_permissions_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_consent_permissions_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_consent_permissions_set_input | null),pk_columns: genesis_consent_permissions_pk_columns_input},genesis_consent_permissionsRequest]
    /** update multiples rows of table: "genesis_consent_permissions" */
    update_genesis_consent_permissions_many?: [{
    /** updates to execute, in order */
    updates: genesis_consent_permissions_updates[]},genesis_consent_permissions_mutation_responseRequest]
    /** update data of the table: "genesis_consent_templates" */
    update_genesis_consent_templates?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_consent_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_consent_templates_set_input | null),
    /** filter the rows which have to be updated */
    where: genesis_consent_templates_bool_exp},genesis_consent_templates_mutation_responseRequest]
    /** update single row of the table: "genesis_consent_templates" */
    update_genesis_consent_templates_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_consent_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_consent_templates_set_input | null),pk_columns: genesis_consent_templates_pk_columns_input},genesis_consent_templatesRequest]
    /** update multiples rows of table: "genesis_consent_templates" */
    update_genesis_consent_templates_many?: [{
    /** updates to execute, in order */
    updates: genesis_consent_templates_updates[]},genesis_consent_templates_mutation_responseRequest]
    /** update data of the table: "genesis_denied_permissions" */
    update_genesis_denied_permissions?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_denied_permissions_set_input | null),
    /** filter the rows which have to be updated */
    where: genesis_denied_permissions_bool_exp},genesis_denied_permissions_mutation_responseRequest]
    /** update single row of the table: "genesis_denied_permissions" */
    update_genesis_denied_permissions_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_denied_permissions_set_input | null),pk_columns: genesis_denied_permissions_pk_columns_input},genesis_denied_permissionsRequest]
    /** update multiples rows of table: "genesis_denied_permissions" */
    update_genesis_denied_permissions_many?: [{
    /** updates to execute, in order */
    updates: genesis_denied_permissions_updates[]},genesis_denied_permissions_mutation_responseRequest]
    /** update data of the table: "genesis_templates" */
    update_genesis_templates?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_templates_set_input | null),
    /** filter the rows which have to be updated */
    where: genesis_templates_bool_exp},genesis_templates_mutation_responseRequest]
    /** update single row of the table: "genesis_templates" */
    update_genesis_templates_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (genesis_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (genesis_templates_set_input | null),pk_columns: genesis_templates_pk_columns_input},genesis_templatesRequest]
    /** update multiples rows of table: "genesis_templates" */
    update_genesis_templates_many?: [{
    /** updates to execute, in order */
    updates: genesis_templates_updates[]},genesis_templates_mutation_responseRequest]
    /** update data of the table: "group_context" */
    update_group_context?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (group_context_set_input | null),
    /** filter the rows which have to be updated */
    where: group_context_bool_exp},group_context_mutation_responseRequest]
    /** update single row of the table: "group_context" */
    update_group_context_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (group_context_set_input | null),pk_columns: group_context_pk_columns_input},group_contextRequest]
    /** update data of the table: "group_context_filters" */
    update_group_context_filters?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (group_context_filters_set_input | null),
    /** filter the rows which have to be updated */
    where: group_context_filters_bool_exp},group_context_filters_mutation_responseRequest]
    /** update single row of the table: "group_context_filters" */
    update_group_context_filters_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (group_context_filters_set_input | null),pk_columns: group_context_filters_pk_columns_input},group_context_filtersRequest]
    /** update multiples rows of table: "group_context_filters" */
    update_group_context_filters_many?: [{
    /** updates to execute, in order */
    updates: group_context_filters_updates[]},group_context_filters_mutation_responseRequest]
    /** update multiples rows of table: "group_context" */
    update_group_context_many?: [{
    /** updates to execute, in order */
    updates: group_context_updates[]},group_context_mutation_responseRequest]
    /** update data of the table: "groups" */
    update_groups?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (groups_set_input | null),
    /** filter the rows which have to be updated */
    where: groups_bool_exp},groups_mutation_responseRequest]
    /** update single row of the table: "groups" */
    update_groups_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (groups_set_input | null),pk_columns: groups_pk_columns_input},groupsRequest]
    /** update multiples rows of table: "groups" */
    update_groups_many?: [{
    /** updates to execute, in order */
    updates: groups_updates[]},groups_mutation_responseRequest]
    /** update data of the table: "initiators" */
    update_initiators?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (initiators_set_input | null),
    /** filter the rows which have to be updated */
    where: initiators_bool_exp},initiators_mutation_responseRequest]
    /** update single row of the table: "initiators" */
    update_initiators_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (initiators_set_input | null),pk_columns: initiators_pk_columns_input},initiatorsRequest]
    /** update multiples rows of table: "initiators" */
    update_initiators_many?: [{
    /** updates to execute, in order */
    updates: initiators_updates[]},initiators_mutation_responseRequest]
    /** update data of the table: "migrations" */
    update_migrations?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (migrations_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (migrations_set_input | null),
    /** filter the rows which have to be updated */
    where: migrations_bool_exp},migrations_mutation_responseRequest]
    /** update single row of the table: "migrations" */
    update_migrations_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (migrations_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (migrations_set_input | null),pk_columns: migrations_pk_columns_input},migrationsRequest]
    /** update multiples rows of table: "migrations" */
    update_migrations_many?: [{
    /** updates to execute, in order */
    updates: migrations_updates[]},migrations_mutation_responseRequest]
    /** update data of the table: "organization_qnr_widget" */
    update_organization_qnr_widget?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (organization_qnr_widget_set_input | null),
    /** filter the rows which have to be updated */
    where: organization_qnr_widget_bool_exp},organization_qnr_widget_mutation_responseRequest]
    /** update single row of the table: "organization_qnr_widget" */
    update_organization_qnr_widget_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (organization_qnr_widget_set_input | null),pk_columns: organization_qnr_widget_pk_columns_input},organization_qnr_widgetRequest]
    /** update multiples rows of table: "organization_qnr_widget" */
    update_organization_qnr_widget_many?: [{
    /** updates to execute, in order */
    updates: organization_qnr_widget_updates[]},organization_qnr_widget_mutation_responseRequest]
    /** update data of the table: "projects" */
    update_projects?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (projects_set_input | null),
    /** filter the rows which have to be updated */
    where: projects_bool_exp},projects_mutation_responseRequest]
    /** update single row of the table: "projects" */
    update_projects_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (projects_set_input | null),pk_columns: projects_pk_columns_input},projectsRequest]
    /** update multiples rows of table: "projects" */
    update_projects_many?: [{
    /** updates to execute, in order */
    updates: projects_updates[]},projects_mutation_responseRequest]
    /** update data of the table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (qnr_template_genesis_overrides_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
    /** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (qnr_template_genesis_overrides_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (qnr_template_genesis_overrides_set_input | null),
    /** filter the rows which have to be updated */
    where: qnr_template_genesis_overrides_bool_exp},qnr_template_genesis_overrides_mutation_responseRequest]
    /** update single row of the table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (qnr_template_genesis_overrides_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
    /** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (qnr_template_genesis_overrides_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (qnr_template_genesis_overrides_set_input | null),pk_columns: qnr_template_genesis_overrides_pk_columns_input},qnr_template_genesis_overridesRequest]
    /** update data of the table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (qnr_template_genesis_overrides_log_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
    /** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (qnr_template_genesis_overrides_log_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (qnr_template_genesis_overrides_log_set_input | null),
    /** filter the rows which have to be updated */
    where: qnr_template_genesis_overrides_log_bool_exp},qnr_template_genesis_overrides_log_mutation_responseRequest]
    /** update single row of the table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (qnr_template_genesis_overrides_log_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
    /** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (qnr_template_genesis_overrides_log_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (qnr_template_genesis_overrides_log_set_input | null),pk_columns: qnr_template_genesis_overrides_log_pk_columns_input},qnr_template_genesis_overrides_logRequest]
    /** update multiples rows of table: "qnr_template_genesis_overrides_log" */
    update_qnr_template_genesis_overrides_log_many?: [{
    /** updates to execute, in order */
    updates: qnr_template_genesis_overrides_log_updates[]},qnr_template_genesis_overrides_log_mutation_responseRequest]
    /** update multiples rows of table: "qnr_template_genesis_overrides" */
    update_qnr_template_genesis_overrides_many?: [{
    /** updates to execute, in order */
    updates: qnr_template_genesis_overrides_updates[]},qnr_template_genesis_overrides_mutation_responseRequest]
    /** update data of the table: "queries" */
    update_queries?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_delete_at_path_input | null),
    /** 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_elem?: (queries_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_set_input | null),
    /** filter the rows which have to be updated */
    where: queries_bool_exp},queries_mutation_responseRequest]
    /** update single row of the table: "queries" */
    update_queries_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_delete_at_path_input | null),
    /** 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_elem?: (queries_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_set_input | null),pk_columns: queries_pk_columns_input},queriesRequest]
    /** update data of the table: "queries_cache" */
    update_queries_cache?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_cache_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_cache_delete_at_path_input | null),
    /** 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_elem?: (queries_cache_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_cache_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_cache_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_cache_set_input | null),
    /** filter the rows which have to be updated */
    where: queries_cache_bool_exp},queries_cache_mutation_responseRequest]
    /** update single row of the table: "queries_cache" */
    update_queries_cache_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_cache_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_cache_delete_at_path_input | null),
    /** 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_elem?: (queries_cache_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_cache_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_cache_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_cache_set_input | null),pk_columns: queries_cache_pk_columns_input},queries_cacheRequest]
    /** update multiples rows of table: "queries_cache" */
    update_queries_cache_many?: [{
    /** updates to execute, in order */
    updates: queries_cache_updates[]},queries_cache_mutation_responseRequest]
    /** update data of the table: "queries_error" */
    update_queries_error?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_error_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_error_delete_at_path_input | null),
    /** 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_elem?: (queries_error_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_error_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_error_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_error_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_error_set_input | null),
    /** filter the rows which have to be updated */
    where: queries_error_bool_exp},queries_error_mutation_responseRequest]
    /** update single row of the table: "queries_error" */
    update_queries_error_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_error_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_error_delete_at_path_input | null),
    /** 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_elem?: (queries_error_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_error_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_error_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_error_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_error_set_input | null),pk_columns: queries_error_pk_columns_input},queries_errorRequest]
    /** update multiples rows of table: "queries_error" */
    update_queries_error_many?: [{
    /** updates to execute, in order */
    updates: queries_error_updates[]},queries_error_mutation_responseRequest]
    /** update data of the table: "queries_log" */
    update_queries_log?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_log_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_log_delete_at_path_input | null),
    /** 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_elem?: (queries_log_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_log_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_log_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_log_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_log_set_input | null),
    /** filter the rows which have to be updated */
    where: queries_log_bool_exp},queries_log_mutation_responseRequest]
    /** update single row of the table: "queries_log" */
    update_queries_log_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (queries_log_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (queries_log_delete_at_path_input | null),
    /** 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_elem?: (queries_log_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (queries_log_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (queries_log_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (queries_log_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (queries_log_set_input | null),pk_columns: queries_log_pk_columns_input},queries_logRequest]
    /** update multiples rows of table: "queries_log" */
    update_queries_log_many?: [{
    /** updates to execute, in order */
    updates: queries_log_updates[]},queries_log_mutation_responseRequest]
    /** update multiples rows of table: "queries" */
    update_queries_many?: [{
    /** updates to execute, in order */
    updates: queries_updates[]},queries_mutation_responseRequest]
    /** update data of the table: "question_composite_question" */
    update_question_composite_question?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (question_composite_question_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (question_composite_question_set_input | null),
    /** filter the rows which have to be updated */
    where: question_composite_question_bool_exp},question_composite_question_mutation_responseRequest]
    /** update multiples rows of table: "question_composite_question" */
    update_question_composite_question_many?: [{
    /** updates to execute, in order */
    updates: question_composite_question_updates[]},question_composite_question_mutation_responseRequest]
    /** update data of the table: "question_template" */
    update_question_template?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (question_template_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (question_template_delete_at_path_input | null),
    /** 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_elem?: (question_template_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (question_template_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (question_template_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (question_template_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (question_template_set_input | null),
    /** filter the rows which have to be updated */
    where: question_template_bool_exp},question_template_mutation_responseRequest]
    /** update multiples rows of table: "question_template" */
    update_question_template_many?: [{
    /** updates to execute, in order */
    updates: question_template_updates[]},question_template_mutation_responseRequest]
    /** update data of the table: "questions" */
    update_questions?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (questions_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (questions_delete_at_path_input | null),
    /** 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_elem?: (questions_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (questions_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (questions_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (questions_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (questions_set_input | null),
    /** filter the rows which have to be updated */
    where: questions_bool_exp},questions_mutation_responseRequest]
    /** update single row of the table: "questions" */
    update_questions_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (questions_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (questions_delete_at_path_input | null),
    /** 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_elem?: (questions_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (questions_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (questions_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (questions_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (questions_set_input | null),pk_columns: questions_pk_columns_input},questionsRequest]
    /** update multiples rows of table: "questions" */
    update_questions_many?: [{
    /** updates to execute, in order */
    updates: questions_updates[]},questions_mutation_responseRequest]
    /** update data of the table: "security_levels" */
    update_security_levels?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (security_levels_set_input | null),
    /** filter the rows which have to be updated */
    where: security_levels_bool_exp},security_levels_mutation_responseRequest]
    /** update single row of the table: "security_levels" */
    update_security_levels_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (security_levels_set_input | null),pk_columns: security_levels_pk_columns_input},security_levelsRequest]
    /** update multiples rows of table: "security_levels" */
    update_security_levels_many?: [{
    /** updates to execute, in order */
    updates: security_levels_updates[]},security_levels_mutation_responseRequest]
    /** update data of the table: "settings" */
    update_settings?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (settings_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (settings_set_input | null),
    /** filter the rows which have to be updated */
    where: settings_bool_exp},settings_mutation_responseRequest]
    /** update single row of the table: "settings" */
    update_settings_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (settings_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (settings_set_input | null),pk_columns: settings_pk_columns_input},settingsRequest]
    /** update multiples rows of table: "settings" */
    update_settings_many?: [{
    /** updates to execute, in order */
    updates: settings_updates[]},settings_mutation_responseRequest]
    /** update data of the table: "shortcuts" */
    update_shortcuts?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (shortcuts_set_input | null),
    /** filter the rows which have to be updated */
    where: shortcuts_bool_exp},shortcuts_mutation_responseRequest]
    /** update single row of the table: "shortcuts" */
    update_shortcuts_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (shortcuts_set_input | null),pk_columns: shortcuts_pk_columns_input},shortcutsRequest]
    /** update multiples rows of table: "shortcuts" */
    update_shortcuts_many?: [{
    /** updates to execute, in order */
    updates: shortcuts_updates[]},shortcuts_mutation_responseRequest]
    /** update data of the table: "sms" */
    update_sms?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_set_input | null),
    /** filter the rows which have to be updated */
    where: sms_bool_exp},sms_mutation_responseRequest]
    /** update single row of the table: "sms" */
    update_sms_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_set_input | null),pk_columns: sms_pk_columns_input},smsRequest]
    /** update multiples rows of table: "sms" */
    update_sms_many?: [{
    /** updates to execute, in order */
    updates: sms_updates[]},sms_mutation_responseRequest]
    /** update data of the table: "sms_template_template" */
    update_sms_template_template?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_template_template_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_template_template_set_input | null),
    /** filter the rows which have to be updated */
    where: sms_template_template_bool_exp},sms_template_template_mutation_responseRequest]
    /** update single row of the table: "sms_template_template" */
    update_sms_template_template_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_template_template_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_template_template_set_input | null),pk_columns: sms_template_template_pk_columns_input},sms_template_templateRequest]
    /** update multiples rows of table: "sms_template_template" */
    update_sms_template_template_many?: [{
    /** updates to execute, in order */
    updates: sms_template_template_updates[]},sms_template_template_mutation_responseRequest]
    /** update data of the table: "sms_templates" */
    update_sms_templates?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_templates_set_input | null),
    /** filter the rows which have to be updated */
    where: sms_templates_bool_exp},sms_templates_mutation_responseRequest]
    /** update single row of the table: "sms_templates" */
    update_sms_templates_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (sms_templates_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (sms_templates_set_input | null),pk_columns: sms_templates_pk_columns_input},sms_templatesRequest]
    /** update multiples rows of table: "sms_templates" */
    update_sms_templates_many?: [{
    /** updates to execute, in order */
    updates: sms_templates_updates[]},sms_templates_mutation_responseRequest]
    /** update data of the table: "status" */
    update_status?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (status_set_input | null),
    /** filter the rows which have to be updated */
    where: status_bool_exp},status_mutation_responseRequest]
    /** update single row of the table: "status" */
    update_status_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (status_set_input | null),pk_columns: status_pk_columns_input},statusRequest]
    /** update multiples rows of table: "status" */
    update_status_many?: [{
    /** updates to execute, in order */
    updates: status_updates[]},status_mutation_responseRequest]
    /** update data of the table: "table_names" */
    update_table_names?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (table_names_set_input | null),
    /** filter the rows which have to be updated */
    where: table_names_bool_exp},table_names_mutation_responseRequest]
    /** update single row of the table: "table_names" */
    update_table_names_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (table_names_set_input | null),pk_columns: table_names_pk_columns_input},table_namesRequest]
    /** update multiples rows of table: "table_names" */
    update_table_names_many?: [{
    /** updates to execute, in order */
    updates: table_names_updates[]},table_names_mutation_responseRequest]
    /** update data of the table: "template_artifact_parcel" */
    update_template_artifact_parcel?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (template_artifact_parcel_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_artifact_parcel_set_input | null),
    /** filter the rows which have to be updated */
    where: template_artifact_parcel_bool_exp},template_artifact_parcel_mutation_responseRequest]
    /** update single row of the table: "template_artifact_parcel" */
    update_template_artifact_parcel_by_pk?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (template_artifact_parcel_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_artifact_parcel_set_input | null),pk_columns: template_artifact_parcel_pk_columns_input},template_artifact_parcelRequest]
    /** update multiples rows of table: "template_artifact_parcel" */
    update_template_artifact_parcel_many?: [{
    /** updates to execute, in order */
    updates: template_artifact_parcel_updates[]},template_artifact_parcel_mutation_responseRequest]
    /** update data of the table: "template_cache" */
    update_template_cache?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (template_cache_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (template_cache_delete_at_path_input | null),
    /** 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_elem?: (template_cache_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (template_cache_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (template_cache_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_cache_set_input | null),
    /** filter the rows which have to be updated */
    where: template_cache_bool_exp},template_cache_mutation_responseRequest]
    /** update data of the table: "template_cache_access" */
    update_template_cache_access?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_cache_access_set_input | null),
    /** filter the rows which have to be updated */
    where: template_cache_access_bool_exp},template_cache_access_mutation_responseRequest]
    /** update single row of the table: "template_cache_access" */
    update_template_cache_access_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_cache_access_set_input | null),pk_columns: template_cache_access_pk_columns_input},template_cache_accessRequest]
    /** update multiples rows of table: "template_cache_access" */
    update_template_cache_access_many?: [{
    /** updates to execute, in order */
    updates: template_cache_access_updates[]},template_cache_access_mutation_responseRequest]
    /** update single row of the table: "template_cache" */
    update_template_cache_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (template_cache_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (template_cache_delete_at_path_input | null),
    /** 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_elem?: (template_cache_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (template_cache_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (template_cache_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_cache_set_input | null),pk_columns: template_cache_pk_columns_input},template_cacheRequest]
    /** update multiples rows of table: "template_cache" */
    update_template_cache_many?: [{
    /** updates to execute, in order */
    updates: template_cache_updates[]},template_cache_mutation_responseRequest]
    /** update data of the table: "template_flags" */
    update_template_flags?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (template_flags_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_flags_set_input | null),
    /** filter the rows which have to be updated */
    where: template_flags_bool_exp},template_flags_mutation_responseRequest]
    /** update multiples rows of table: "template_flags" */
    update_template_flags_many?: [{
    /** updates to execute, in order */
    updates: template_flags_updates[]},template_flags_mutation_responseRequest]
    /** update data of the table: "template_journal_roles" */
    update_template_journal_roles?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_journal_roles_set_input | null),
    /** filter the rows which have to be updated */
    where: template_journal_roles_bool_exp},template_journal_roles_mutation_responseRequest]
    /** update single row of the table: "template_journal_roles" */
    update_template_journal_roles_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_journal_roles_set_input | null),pk_columns: template_journal_roles_pk_columns_input},template_journal_rolesRequest]
    /** update multiples rows of table: "template_journal_roles" */
    update_template_journal_roles_many?: [{
    /** updates to execute, in order */
    updates: template_journal_roles_updates[]},template_journal_roles_mutation_responseRequest]
    /** update data of the table: "template_offer_types" */
    update_template_offer_types?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_offer_types_set_input | null),
    /** filter the rows which have to be updated */
    where: template_offer_types_bool_exp},template_offer_types_mutation_responseRequest]
    /** update single row of the table: "template_offer_types" */
    update_template_offer_types_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_offer_types_set_input | null),pk_columns: template_offer_types_pk_columns_input},template_offer_typesRequest]
    /** update multiples rows of table: "template_offer_types" */
    update_template_offer_types_many?: [{
    /** updates to execute, in order */
    updates: template_offer_types_updates[]},template_offer_types_mutation_responseRequest]
    /** update data of the table: "template_offers" */
    update_template_offers?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_offers_set_input | null),
    /** filter the rows which have to be updated */
    where: template_offers_bool_exp},template_offers_mutation_responseRequest]
    /** update single row of the table: "template_offers" */
    update_template_offers_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (template_offers_set_input | null),pk_columns: template_offers_pk_columns_input},template_offersRequest]
    /** update multiples rows of table: "template_offers" */
    update_template_offers_many?: [{
    /** updates to execute, in order */
    updates: template_offers_updates[]},template_offers_mutation_responseRequest]
    /** update data of the table: "templates" */
    update_templates?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (templates_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (templates_delete_at_path_input | null),
    /** 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_elem?: (templates_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (templates_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (templates_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (templates_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (templates_set_input | null),
    /** filter the rows which have to be updated */
    where: templates_bool_exp},templates_mutation_responseRequest]
    /** update single row of the table: "templates" */
    update_templates_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (templates_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (templates_delete_at_path_input | null),
    /** 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_elem?: (templates_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (templates_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (templates_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (templates_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (templates_set_input | null),pk_columns: templates_pk_columns_input},templatesRequest]
    /** update multiples rows of table: "templates" */
    update_templates_many?: [{
    /** updates to execute, in order */
    updates: templates_updates[]},templates_mutation_responseRequest]
    /** update data of the table: "types" */
    update_types?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (types_set_input | null),
    /** filter the rows which have to be updated */
    where: types_bool_exp},types_mutation_responseRequest]
    /** update single row of the table: "types" */
    update_types_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (types_set_input | null),pk_columns: types_pk_columns_input},typesRequest]
    /** update multiples rows of table: "types" */
    update_types_many?: [{
    /** updates to execute, in order */
    updates: types_updates[]},types_mutation_responseRequest]
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "organization_qnr_widget" */
export interface organization_qnr_widgetRequest{
    contact_person_journal_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    organization_journal_user_id?: boolean | number
    qnr_id?: boolean | number
    /** An object relationship */
    query?: queriesRequest
    question_id?: boolean | number
    recipient_activity_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregateRequest{
    aggregate?: organization_qnr_widget_aggregate_fieldsRequest
    nodes?: organization_qnr_widgetRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface organization_qnr_widget_aggregate_bool_exp {count?: (organization_qnr_widget_aggregate_bool_exp_count | null)}

export interface organization_qnr_widget_aggregate_bool_exp_count {arguments?: (organization_qnr_widget_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (organization_qnr_widget_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate_fieldsRequest{
    count?: [{columns?: (organization_qnr_widget_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: organization_qnr_widget_max_fieldsRequest
    min?: organization_qnr_widget_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate_order_by {count?: (order_by | null),max?: (organization_qnr_widget_max_order_by | null),min?: (organization_qnr_widget_min_order_by | null)}


/** input type for inserting array relation for remote table "organization_qnr_widget" */
export interface organization_qnr_widget_arr_rel_insert_input {data: organization_qnr_widget_insert_input[],
/** upsert condition */
on_conflict?: (organization_qnr_widget_on_conflict | null)}


/** Boolean expression to filter rows from the table "organization_qnr_widget". All fields are combined with a logical 'AND'. */
export interface organization_qnr_widget_bool_exp {_and?: (organization_qnr_widget_bool_exp[] | null),_not?: (organization_qnr_widget_bool_exp | null),_or?: (organization_qnr_widget_bool_exp[] | null),contact_person_journal_user_id?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),id?: (uuid_comparison_exp | null),journal_user_id?: (String_comparison_exp | null),organization_journal_user_id?: (String_comparison_exp | null),qnr_id?: (uuid_comparison_exp | null),query?: (queries_bool_exp | null),question_id?: (uuid_comparison_exp | null),recipient_activity_id?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for inserting data into table "organization_qnr_widget" */
export interface organization_qnr_widget_insert_input {contact_person_journal_user_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),organization_journal_user_id?: (Scalars['String'] | null),qnr_id?: (Scalars['uuid'] | null),query?: (queries_obj_rel_insert_input | null),question_id?: (Scalars['uuid'] | null),recipient_activity_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface organization_qnr_widget_max_fieldsRequest{
    contact_person_journal_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    organization_journal_user_id?: boolean | number
    qnr_id?: boolean | number
    question_id?: boolean | number
    recipient_activity_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "organization_qnr_widget" */
export interface organization_qnr_widget_max_order_by {contact_person_journal_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),organization_journal_user_id?: (order_by | null),qnr_id?: (order_by | null),question_id?: (order_by | null),recipient_activity_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface organization_qnr_widget_min_fieldsRequest{
    contact_person_journal_user_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    organization_journal_user_id?: boolean | number
    qnr_id?: boolean | number
    question_id?: boolean | number
    recipient_activity_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "organization_qnr_widget" */
export interface organization_qnr_widget_min_order_by {contact_person_journal_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),organization_journal_user_id?: (order_by | null),qnr_id?: (order_by | null),question_id?: (order_by | null),recipient_activity_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "organization_qnr_widget" */
export interface organization_qnr_widget_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: organization_qnr_widgetRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "organization_qnr_widget" */
export interface organization_qnr_widget_on_conflict {constraint: organization_qnr_widget_constraint,update_columns: organization_qnr_widget_update_column[],where?: (organization_qnr_widget_bool_exp | null)}


/** Ordering options when selecting data from "organization_qnr_widget". */
export interface organization_qnr_widget_order_by {contact_person_journal_user_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),organization_journal_user_id?: (order_by | null),qnr_id?: (order_by | null),query?: (queries_order_by | null),question_id?: (order_by | null),recipient_activity_id?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: organization_qnr_widget */
export interface organization_qnr_widget_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "organization_qnr_widget" */
export interface organization_qnr_widget_set_input {contact_person_journal_user_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),organization_journal_user_id?: (Scalars['String'] | null),qnr_id?: (Scalars['uuid'] | null),question_id?: (Scalars['uuid'] | null),recipient_activity_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "organization_qnr_widget" */
export interface organization_qnr_widget_stream_cursor_input {
/** Stream column input with initial value */
initial_value: organization_qnr_widget_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface organization_qnr_widget_stream_cursor_value_input {contact_person_journal_user_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),organization_journal_user_id?: (Scalars['String'] | null),qnr_id?: (Scalars['uuid'] | null),question_id?: (Scalars['uuid'] | null),recipient_activity_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface organization_qnr_widget_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (organization_qnr_widget_set_input | null),
/** filter the rows which have to be updated */
where: organization_qnr_widget_bool_exp}


/** columns and relationships of "projects" */
export interface projectsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_project_id?: boolean | number
    /** An object relationship */
    shortcut?: shortcutsRequest
    shortcut_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "projects" */
export interface projects_aggregateRequest{
    aggregate?: projects_aggregate_fieldsRequest
    nodes?: projectsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface projects_aggregate_bool_exp {count?: (projects_aggregate_bool_exp_count | null)}

export interface projects_aggregate_bool_exp_count {arguments?: (projects_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (projects_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "projects" */
export interface projects_aggregate_fieldsRequest{
    count?: [{columns?: (projects_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: projects_max_fieldsRequest
    min?: projects_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "projects" */
export interface projects_aggregate_order_by {count?: (order_by | null),max?: (projects_max_order_by | null),min?: (projects_min_order_by | null)}


/** input type for inserting array relation for remote table "projects" */
export interface projects_arr_rel_insert_input {data: projects_insert_input[],
/** upsert condition */
on_conflict?: (projects_on_conflict | null)}


/** Boolean expression to filter rows from the table "projects". All fields are combined with a logical 'AND'. */
export interface projects_bool_exp {_and?: (projects_bool_exp[] | null),_not?: (projects_bool_exp | null),_or?: (projects_bool_exp[] | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),id?: (String_comparison_exp | null),journal_project_id?: (String_comparison_exp | null),shortcut?: (shortcuts_bool_exp | null),shortcut_id?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for inserting data into table "projects" */
export interface projects_insert_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),journal_project_id?: (Scalars['String'] | null),shortcut?: (shortcuts_obj_rel_insert_input | null),shortcut_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface projects_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_project_id?: boolean | number
    shortcut_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "projects" */
export interface projects_max_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_project_id?: (order_by | null),shortcut_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface projects_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    journal_project_id?: boolean | number
    shortcut_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "projects" */
export interface projects_min_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_project_id?: (order_by | null),shortcut_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "projects" */
export interface projects_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: projectsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "projects" */
export interface projects_on_conflict {constraint: projects_constraint,update_columns: projects_update_column[],where?: (projects_bool_exp | null)}


/** Ordering options when selecting data from "projects". */
export interface projects_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),journal_project_id?: (order_by | null),shortcut?: (shortcuts_order_by | null),shortcut_id?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: projects */
export interface projects_pk_columns_input {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}


/** input type for updating data in table "projects" */
export interface projects_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),journal_project_id?: (Scalars['String'] | null),shortcut_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "projects" */
export interface projects_stream_cursor_input {
/** Stream column input with initial value */
initial_value: projects_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface projects_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['String'] | null),journal_project_id?: (Scalars['String'] | null),shortcut_id?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface projects_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (projects_set_input | null),
/** filter the rows which have to be updated */
where: projects_bool_exp}

export interface qnr_Properties {properties: Scalars['jsonb'],questions: Scalars['jsonb']}

export interface qnr_PropertiesResponseRequest{
    properties?: boolean | number
    questions?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface qnr_Schedule {is_blueprint: Scalars['Boolean'],recipient_id: Scalars['String'],rruleset?: (Scalars['String'] | null),updated_by: Scalars['String']}

export interface qnr_SelectedQuestion {composite_question_id?: (Scalars['String'] | null),question_id: Scalars['String'],row_id?: (Scalars['bigint'] | null)}

export interface qnr_additionalData {context?: (Scalars['String'] | null),importWithoutAnswer?: (Scalars['Boolean'] | null),isUserContextMe?: (Scalars['Boolean'] | null),qnr_Schedule?: (qnr_Schedule | null),selected_question?: (qnr_SelectedQuestion[] | null),version_id?: (Scalars['bigint'] | null)}


/** holds overridden data of the qnr_templates(templates) table of the genesis customer; only fields allowed to be modified are: qnr_info,template_uuid(insert only), */
export interface qnr_template_genesis_overridesRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    generate_on_start?: boolean | number
    journal_roles?: boolean | number
    offer_types?: boolean | number
    offers?: boolean | number
    qnr_info?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregateRequest{
    aggregate?: qnr_template_genesis_overrides_aggregate_fieldsRequest
    nodes?: qnr_template_genesis_overridesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface qnr_template_genesis_overrides_aggregate_bool_exp {bool_and?: (qnr_template_genesis_overrides_aggregate_bool_exp_bool_and | null),bool_or?: (qnr_template_genesis_overrides_aggregate_bool_exp_bool_or | null),count?: (qnr_template_genesis_overrides_aggregate_bool_exp_count | null)}

export interface qnr_template_genesis_overrides_aggregate_bool_exp_bool_and {arguments: qnr_template_genesis_overrides_select_column_qnr_template_genesis_overrides_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (qnr_template_genesis_overrides_bool_exp | null),predicate: Boolean_comparison_exp}

export interface qnr_template_genesis_overrides_aggregate_bool_exp_bool_or {arguments: qnr_template_genesis_overrides_select_column_qnr_template_genesis_overrides_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (qnr_template_genesis_overrides_bool_exp | null),predicate: Boolean_comparison_exp}

export interface qnr_template_genesis_overrides_aggregate_bool_exp_count {arguments?: (qnr_template_genesis_overrides_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (qnr_template_genesis_overrides_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate_fieldsRequest{
    count?: [{columns?: (qnr_template_genesis_overrides_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: qnr_template_genesis_overrides_max_fieldsRequest
    min?: qnr_template_genesis_overrides_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate_order_by {count?: (order_by | null),max?: (qnr_template_genesis_overrides_max_order_by | null),min?: (qnr_template_genesis_overrides_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface qnr_template_genesis_overrides_append_input {qnr_info?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_arr_rel_insert_input {data: qnr_template_genesis_overrides_insert_input[],
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)}


/** Boolean expression to filter rows from the table "qnr_template_genesis_overrides". All fields are combined with a logical 'AND'. */
export interface qnr_template_genesis_overrides_bool_exp {_and?: (qnr_template_genesis_overrides_bool_exp[] | null),_not?: (qnr_template_genesis_overrides_bool_exp | null),_or?: (qnr_template_genesis_overrides_bool_exp[] | null),changed_at?: (timestamptz_comparison_exp | null),changed_by?: (String_comparison_exp | null),context?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),generate_on_start?: (Boolean_comparison_exp | null),journal_roles?: (String_array_comparison_exp | null),offer_types?: (String_array_comparison_exp | null),offers?: (String_array_comparison_exp | null),qnr_info?: (jsonb_comparison_exp | null),template?: (templates_bool_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface qnr_template_genesis_overrides_delete_at_path_input {qnr_info?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface qnr_template_genesis_overrides_delete_elem_input {qnr_info?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface qnr_template_genesis_overrides_delete_key_input {qnr_info?: (Scalars['String'] | null)}


/** input type for inserting data into table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_insert_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),generate_on_start?: (Scalars['Boolean'] | null),journal_roles?: (Scalars['String'][] | null),offer_types?: (Scalars['String'][] | null),offers?: (Scalars['String'][] | null),qnr_info?: (Scalars['jsonb'] | null),template?: (templates_obj_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null)}


/** logs table for qnr_template_genesis_overrides  */
export interface qnr_template_genesis_overrides_logRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    customer_id?: boolean | number
    db_op?: boolean | number
    deleted_by?: boolean | number
    id?: boolean | number
    qnr_info?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregateRequest{
    aggregate?: qnr_template_genesis_overrides_log_aggregate_fieldsRequest
    nodes?: qnr_template_genesis_overrides_logRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregate_fieldsRequest{
    avg?: qnr_template_genesis_overrides_log_avg_fieldsRequest
    count?: [{columns?: (qnr_template_genesis_overrides_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: qnr_template_genesis_overrides_log_max_fieldsRequest
    min?: qnr_template_genesis_overrides_log_min_fieldsRequest
    stddev?: qnr_template_genesis_overrides_log_stddev_fieldsRequest
    stddev_pop?: qnr_template_genesis_overrides_log_stddev_pop_fieldsRequest
    stddev_samp?: qnr_template_genesis_overrides_log_stddev_samp_fieldsRequest
    sum?: qnr_template_genesis_overrides_log_sum_fieldsRequest
    var_pop?: qnr_template_genesis_overrides_log_var_pop_fieldsRequest
    var_samp?: qnr_template_genesis_overrides_log_var_samp_fieldsRequest
    variance?: qnr_template_genesis_overrides_log_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface qnr_template_genesis_overrides_log_append_input {qnr_info?: (Scalars['jsonb'] | null)}


/** aggregate avg on columns */
export interface qnr_template_genesis_overrides_log_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "qnr_template_genesis_overrides_log". All fields are combined with a logical 'AND'. */
export interface qnr_template_genesis_overrides_log_bool_exp {_and?: (qnr_template_genesis_overrides_log_bool_exp[] | null),_not?: (qnr_template_genesis_overrides_log_bool_exp | null),_or?: (qnr_template_genesis_overrides_log_bool_exp[] | null),changed_at?: (timestamptz_comparison_exp | null),changed_by?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),db_op?: (String_comparison_exp | null),deleted_by?: (String_comparison_exp | null),id?: (Int_comparison_exp | null),qnr_info?: (jsonb_comparison_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface qnr_template_genesis_overrides_log_delete_at_path_input {qnr_info?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface qnr_template_genesis_overrides_log_delete_elem_input {qnr_info?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface qnr_template_genesis_overrides_log_delete_key_input {qnr_info?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_inc_input {id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_insert_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),db_op?: (Scalars['String'] | null),deleted_by?: (Scalars['String'] | null),id?: (Scalars['Int'] | null),qnr_info?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_log_max_fieldsRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    customer_id?: boolean | number
    db_op?: boolean | number
    deleted_by?: boolean | number
    id?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_log_min_fieldsRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    customer_id?: boolean | number
    db_op?: boolean | number
    deleted_by?: boolean | number
    id?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: qnr_template_genesis_overrides_logRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_on_conflict {constraint: qnr_template_genesis_overrides_log_constraint,update_columns: qnr_template_genesis_overrides_log_update_column[],where?: (qnr_template_genesis_overrides_log_bool_exp | null)}


/** Ordering options when selecting data from "qnr_template_genesis_overrides_log". */
export interface qnr_template_genesis_overrides_log_order_by {changed_at?: (order_by | null),changed_by?: (order_by | null),customer_id?: (order_by | null),db_op?: (order_by | null),deleted_by?: (order_by | null),id?: (order_by | null),qnr_info?: (order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: qnr_template_genesis_overrides_log */
export interface qnr_template_genesis_overrides_log_pk_columns_input {id: Scalars['Int']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface qnr_template_genesis_overrides_log_prepend_input {qnr_info?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_set_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),db_op?: (Scalars['String'] | null),deleted_by?: (Scalars['String'] | null),id?: (Scalars['Int'] | null),qnr_info?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface qnr_template_genesis_overrides_log_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface qnr_template_genesis_overrides_log_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface qnr_template_genesis_overrides_log_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_stream_cursor_input {
/** Stream column input with initial value */
initial_value: qnr_template_genesis_overrides_log_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface qnr_template_genesis_overrides_log_stream_cursor_value_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),db_op?: (Scalars['String'] | null),deleted_by?: (Scalars['String'] | null),id?: (Scalars['Int'] | null),qnr_info?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface qnr_template_genesis_overrides_log_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface qnr_template_genesis_overrides_log_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (qnr_template_genesis_overrides_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_log_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_log_bool_exp}


/** aggregate var_pop on columns */
export interface qnr_template_genesis_overrides_log_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface qnr_template_genesis_overrides_log_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface qnr_template_genesis_overrides_log_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_max_fieldsRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    journal_roles?: boolean | number
    offer_types?: boolean | number
    offers?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_max_order_by {changed_at?: (order_by | null),changed_by?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),journal_roles?: (order_by | null),offer_types?: (order_by | null),offers?: (order_by | null),template_uuid?: (order_by | null)}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_min_fieldsRequest{
    changed_at?: boolean | number
    changed_by?: boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    journal_roles?: boolean | number
    offer_types?: boolean | number
    offers?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_min_order_by {changed_at?: (order_by | null),changed_by?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),journal_roles?: (order_by | null),offer_types?: (order_by | null),offers?: (order_by | null),template_uuid?: (order_by | null)}


/** response of any mutation on the table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: qnr_template_genesis_overridesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_on_conflict {constraint: qnr_template_genesis_overrides_constraint,update_columns: qnr_template_genesis_overrides_update_column[],where?: (qnr_template_genesis_overrides_bool_exp | null)}


/** Ordering options when selecting data from "qnr_template_genesis_overrides". */
export interface qnr_template_genesis_overrides_order_by {changed_at?: (order_by | null),changed_by?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),generate_on_start?: (order_by | null),journal_roles?: (order_by | null),offer_types?: (order_by | null),offers?: (order_by | null),qnr_info?: (order_by | null),template?: (templates_order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: qnr_template_genesis_overrides */
export interface qnr_template_genesis_overrides_pk_columns_input {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface qnr_template_genesis_overrides_prepend_input {qnr_info?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_set_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),generate_on_start?: (Scalars['Boolean'] | null),journal_roles?: (Scalars['String'][] | null),offer_types?: (Scalars['String'][] | null),offers?: (Scalars['String'][] | null),qnr_info?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_stream_cursor_input {
/** Stream column input with initial value */
initial_value: qnr_template_genesis_overrides_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface qnr_template_genesis_overrides_stream_cursor_value_input {changed_at?: (Scalars['timestamptz'] | null),changed_by?: (Scalars['String'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),generate_on_start?: (Scalars['Boolean'] | null),journal_roles?: (Scalars['String'][] | null),offer_types?: (Scalars['String'][] | null),offers?: (Scalars['String'][] | null),qnr_info?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null)}

export interface qnr_template_genesis_overrides_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_bool_exp}

export interface qnrs_ActionType {additionalData: qnr_additionalData,archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['String'] | null),customer_id: Scalars['uuid'],deleted_at?: (Scalars['String'] | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (qnr_Properties | null),queries_log?: ((queriesLogInput | null)[] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['String'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['String'] | null),valid_to?: (Scalars['String'] | null)}

export interface qnrs_ActionTypeResponseRequest{
    archived?: boolean | number
    artifact_package?: artifactPackageRequest
    artifact_package_id?: boolean | number
    cache?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    hide_for_patient?: boolean | number
    id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    properties?: qnr_PropertiesResponseRequest
    queries_log?: queriesLogRequest
    query_uuid?: boolean | number
    region?: boolean | number
    rejected?: boolean | number
    security_level?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface qnrs_ActionTypeResponseDataRequest{
    errors?: qnrs_ResponseErrorsRequest
    qnrs?: qnrs_ActionTypeResponseRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface qnrs_ResponseErrorsRequest{
    error?: boolean | number
    participant_id?: boolean | number
    query_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** New name of this table is qnrs */
export interface queriesRequest{
    /** An array relationship */
    DocKladd_questions?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questionsRequest] | DocKladd_questionsRequest
    /** An aggregate relationship */
    DocKladd_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questions_aggregateRequest] | DocKladd_questions_aggregateRequest
    /** An array relationship */
    adopus_AdgangLinjer?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjerRequest] | adopus_AdgangLinjerRequest
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjer_aggregateRequest] | adopus_AdgangLinjer_aggregateRequest
    archived?: boolean | number
    /** An object relationship */
    artifact_package?: artifact_packagesRequest
    artifact_package_id?: boolean | number
    cache?: boolean | number
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    /** An object relationship */
    customers?: directory_customersRequest
    deleted_at?: boolean | number
    /** An object relationship */
    directory_user_name_patient_id?: directory_user_nameRequest
    /** An object relationship */
    directory_user_name_updated_by?: directory_user_nameRequest
    document_id?: boolean | number
    /** An object relationship */
    documents?: documentsRequest
    hide_for_patient?: boolean | number
    id?: boolean | number
    initiator?: boolean | number
    /** An object relationship */
    initiatorByInitiator?: initiatorsRequest
    /** An array relationship */
    organization_qnr_widgets?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widgetRequest] | organization_qnr_widgetRequest
    /** An aggregate relationship */
    organization_qnr_widgets_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widget_aggregateRequest] | organization_qnr_widget_aggregateRequest
    patient_id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    qnr_template?: templatesRequest
    /** An object relationship */
    queries_cache?: queries_cacheRequest
    /** An array relationship */
    queries_error?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_errorRequest] | queries_errorRequest
    /** An aggregate relationship */
    queries_error_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_error_aggregateRequest] | queries_error_aggregateRequest
    /** An array relationship */
    queries_log?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_logRequest] | queries_logRequest
    /** An aggregate relationship */
    queries_log_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_log_aggregateRequest] | queries_log_aggregateRequest
    /** An object relationship */
    queries_queries_templates?: queries_templatesRequest
    query_uuid?: boolean | number
    region?: boolean | number
    rejected?: boolean | number
    security_level?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    /** An array relationship */
    sms?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},smsRequest] | smsRequest
    /** An aggregate relationship */
    sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},sms_aggregateRequest] | sms_aggregateRequest
    soknad_id?: boolean | number
    status?: boolean | number
    /** An object relationship */
    statusByStatus?: statusRequest
    template_id?: boolean | number
    /** An object relationship */
    templates?: templatesRequest
    title?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queriesLogRequest{
    ai_id?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queriesLogInput {ai_id?: (Scalars['bigint'] | null),updated_by?: (Scalars['String'] | null)}


/** aggregated selection of "queries" */
export interface queries_aggregateRequest{
    aggregate?: queries_aggregate_fieldsRequest
    nodes?: queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queries_aggregate_bool_exp {bool_and?: (queries_aggregate_bool_exp_bool_and | null),bool_or?: (queries_aggregate_bool_exp_bool_or | null),count?: (queries_aggregate_bool_exp_count | null)}

export interface queries_aggregate_bool_exp_bool_and {arguments: queries_select_column_queries_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (queries_bool_exp | null),predicate: Boolean_comparison_exp}

export interface queries_aggregate_bool_exp_bool_or {arguments: queries_select_column_queries_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (queries_bool_exp | null),predicate: Boolean_comparison_exp}

export interface queries_aggregate_bool_exp_count {arguments?: (queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (queries_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "queries" */
export interface queries_aggregate_fieldsRequest{
    avg?: queries_avg_fieldsRequest
    count?: [{columns?: (queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: queries_max_fieldsRequest
    min?: queries_min_fieldsRequest
    stddev?: queries_stddev_fieldsRequest
    stddev_pop?: queries_stddev_pop_fieldsRequest
    stddev_samp?: queries_stddev_samp_fieldsRequest
    sum?: queries_sum_fieldsRequest
    var_pop?: queries_var_pop_fieldsRequest
    var_samp?: queries_var_samp_fieldsRequest
    variance?: queries_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "queries" */
export interface queries_aggregate_order_by {avg?: (queries_avg_order_by | null),count?: (order_by | null),max?: (queries_max_order_by | null),min?: (queries_min_order_by | null),stddev?: (queries_stddev_order_by | null),stddev_pop?: (queries_stddev_pop_order_by | null),stddev_samp?: (queries_stddev_samp_order_by | null),sum?: (queries_sum_order_by | null),var_pop?: (queries_var_pop_order_by | null),var_samp?: (queries_var_samp_order_by | null),variance?: (queries_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface queries_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "queries" */
export interface queries_arr_rel_insert_input {data: queries_insert_input[],
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}


/** aggregate avg on columns */
export interface queries_avg_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "queries" */
export interface queries_avg_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "queries". All fields are combined with a logical 'AND'. */
export interface queries_bool_exp {DocKladd_questions?: (DocKladd_questions_bool_exp | null),DocKladd_questions_aggregate?: (DocKladd_questions_aggregate_bool_exp | null),_and?: (queries_bool_exp[] | null),_not?: (queries_bool_exp | null),_or?: (queries_bool_exp[] | null),adopus_AdgangLinjer?: (adopus_AdgangLinjer_bool_exp | null),adopus_AdgangLinjer_aggregate?: (adopus_AdgangLinjer_aggregate_bool_exp | null),archived?: (Boolean_comparison_exp | null),artifact_package?: (artifact_packages_bool_exp | null),artifact_package_id?: (uuid_comparison_exp | null),cache?: (Boolean_comparison_exp | null),consents?: (consents_bool_exp | null),consents_aggregate?: (consents_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),customers?: (directory_customers_bool_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directory_user_name_patient_id?: (directory_user_name_bool_exp | null),directory_user_name_updated_by?: (directory_user_name_bool_exp | null),document_id?: (bigint_comparison_exp | null),documents?: (documents_bool_exp | null),hide_for_patient?: (Boolean_comparison_exp | null),id?: (bigint_comparison_exp | null),initiator?: (initiators_enum_comparison_exp | null),initiatorByInitiator?: (initiators_bool_exp | null),organization_qnr_widgets?: (organization_qnr_widget_bool_exp | null),organization_qnr_widgets_aggregate?: (organization_qnr_widget_aggregate_bool_exp | null),patient_id?: (uuid_comparison_exp | null),properties?: (jsonb_comparison_exp | null),qnr_template?: (templates_bool_exp | null),queries_cache?: (queries_cache_bool_exp | null),queries_error?: (queries_error_bool_exp | null),queries_error_aggregate?: (queries_error_aggregate_bool_exp | null),queries_log?: (queries_log_bool_exp | null),queries_log_aggregate?: (queries_log_aggregate_bool_exp | null),queries_queries_templates?: (queries_templates_bool_exp | null),query_uuid?: (uuid_comparison_exp | null),region?: (String_comparison_exp | null),rejected?: (Boolean_comparison_exp | null),security_level?: (smallint_comparison_exp | null),seen_by_therapist?: (Boolean_comparison_exp | null),share_with_recipient?: (Boolean_comparison_exp | null),sms?: (sms_bool_exp | null),sms_aggregate?: (sms_aggregate_bool_exp | null),soknad_id?: (String_comparison_exp | null),status?: (status_enum_comparison_exp | null),statusByStatus?: (status_bool_exp | null),template_id?: (bigint_comparison_exp | null),templates?: (templates_bool_exp | null),title?: (String_comparison_exp | null),token?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (uuid_comparison_exp | null),valid_from?: (date_comparison_exp | null),valid_to?: (date_comparison_exp | null)}


/** temp cahce for query creation for dev purposes only */
export interface queries_cacheRequest{
    cache?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    query?: queriesRequest
    query_id?: boolean | number
    soknad_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "queries_cache" */
export interface queries_cache_aggregateRequest{
    aggregate?: queries_cache_aggregate_fieldsRequest
    nodes?: queries_cacheRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "queries_cache" */
export interface queries_cache_aggregate_fieldsRequest{
    count?: [{columns?: (queries_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: queries_cache_max_fieldsRequest
    min?: queries_cache_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface queries_cache_append_input {properties?: (Scalars['jsonb'] | null)}


/** Boolean expression to filter rows from the table "queries_cache". All fields are combined with a logical 'AND'. */
export interface queries_cache_bool_exp {_and?: (queries_cache_bool_exp[] | null),_not?: (queries_cache_bool_exp | null),_or?: (queries_cache_bool_exp[] | null),cache?: (Boolean_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),properties?: (jsonb_comparison_exp | null),query?: (queries_bool_exp | null),query_id?: (uuid_comparison_exp | null),soknad_id?: (bpchar_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface queries_cache_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface queries_cache_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface queries_cache_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for inserting data into table "queries_cache" */
export interface queries_cache_insert_input {cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query?: (queries_obj_rel_insert_input | null),query_id?: (Scalars['uuid'] | null),soknad_id?: (Scalars['bpchar'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface queries_cache_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    query_id?: boolean | number
    soknad_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface queries_cache_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    query_id?: boolean | number
    soknad_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "queries_cache" */
export interface queries_cache_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: queries_cacheRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "queries_cache" */
export interface queries_cache_obj_rel_insert_input {data: queries_cache_insert_input,
/** upsert condition */
on_conflict?: (queries_cache_on_conflict | null)}


/** on_conflict condition type for table "queries_cache" */
export interface queries_cache_on_conflict {constraint: queries_cache_constraint,update_columns: queries_cache_update_column[],where?: (queries_cache_bool_exp | null)}


/** Ordering options when selecting data from "queries_cache". */
export interface queries_cache_order_by {cache?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),properties?: (order_by | null),query?: (queries_order_by | null),query_id?: (order_by | null),soknad_id?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: queries_cache */
export interface queries_cache_pk_columns_input {query_id: Scalars['uuid']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface queries_cache_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "queries_cache" */
export interface queries_cache_set_input {cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_id?: (Scalars['uuid'] | null),soknad_id?: (Scalars['bpchar'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "queries_cache" */
export interface queries_cache_stream_cursor_input {
/** Stream column input with initial value */
initial_value: queries_cache_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface queries_cache_stream_cursor_value_input {cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_id?: (Scalars['uuid'] | null),soknad_id?: (Scalars['bpchar'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface queries_cache_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_cache_delete_at_path_input | null),
/** 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_elem?: (queries_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_cache_set_input | null),
/** filter the rows which have to be updated */
where: queries_cache_bool_exp}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface queries_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface queries_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface queries_delete_key_input {properties?: (Scalars['String'] | null)}


/** columns and relationships of "queries_error" */
export interface queries_errorRequest{
    ai_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    customer_id?: boolean | number
    error?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    query?: queriesRequest
    query_uuid?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "queries_error" */
export interface queries_error_aggregateRequest{
    aggregate?: queries_error_aggregate_fieldsRequest
    nodes?: queries_errorRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queries_error_aggregate_bool_exp {count?: (queries_error_aggregate_bool_exp_count | null)}

export interface queries_error_aggregate_bool_exp_count {arguments?: (queries_error_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (queries_error_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "queries_error" */
export interface queries_error_aggregate_fieldsRequest{
    avg?: queries_error_avg_fieldsRequest
    count?: [{columns?: (queries_error_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: queries_error_max_fieldsRequest
    min?: queries_error_min_fieldsRequest
    stddev?: queries_error_stddev_fieldsRequest
    stddev_pop?: queries_error_stddev_pop_fieldsRequest
    stddev_samp?: queries_error_stddev_samp_fieldsRequest
    sum?: queries_error_sum_fieldsRequest
    var_pop?: queries_error_var_pop_fieldsRequest
    var_samp?: queries_error_var_samp_fieldsRequest
    variance?: queries_error_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "queries_error" */
export interface queries_error_aggregate_order_by {avg?: (queries_error_avg_order_by | null),count?: (order_by | null),max?: (queries_error_max_order_by | null),min?: (queries_error_min_order_by | null),stddev?: (queries_error_stddev_order_by | null),stddev_pop?: (queries_error_stddev_pop_order_by | null),stddev_samp?: (queries_error_stddev_samp_order_by | null),sum?: (queries_error_sum_order_by | null),var_pop?: (queries_error_var_pop_order_by | null),var_samp?: (queries_error_var_samp_order_by | null),variance?: (queries_error_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface queries_error_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "queries_error" */
export interface queries_error_arr_rel_insert_input {data: queries_error_insert_input[],
/** upsert condition */
on_conflict?: (queries_error_on_conflict | null)}


/** aggregate avg on columns */
export interface queries_error_avg_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "queries_error" */
export interface queries_error_avg_order_by {ai_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "queries_error". All fields are combined with a logical 'AND'. */
export interface queries_error_bool_exp {_and?: (queries_error_bool_exp[] | null),_not?: (queries_error_bool_exp | null),_or?: (queries_error_bool_exp[] | null),ai_id?: (Int_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),created_by?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),error?: (String_comparison_exp | null),properties?: (jsonb_comparison_exp | null),query?: (queries_bool_exp | null),query_uuid?: (uuid_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface queries_error_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface queries_error_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface queries_error_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "queries_error" */
export interface queries_error_inc_input {ai_id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "queries_error" */
export interface queries_error_insert_input {ai_id?: (Scalars['Int'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),error?: (Scalars['String'] | null),properties?: (Scalars['jsonb'] | null),query?: (queries_obj_rel_insert_input | null),query_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface queries_error_max_fieldsRequest{
    ai_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    customer_id?: boolean | number
    error?: boolean | number
    query_uuid?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "queries_error" */
export interface queries_error_max_order_by {ai_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),customer_id?: (order_by | null),error?: (order_by | null),query_uuid?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** aggregate min on columns */
export interface queries_error_min_fieldsRequest{
    ai_id?: boolean | number
    created_at?: boolean | number
    created_by?: boolean | number
    customer_id?: boolean | number
    error?: boolean | number
    query_uuid?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "queries_error" */
export interface queries_error_min_order_by {ai_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),customer_id?: (order_by | null),error?: (order_by | null),query_uuid?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** response of any mutation on the table "queries_error" */
export interface queries_error_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: queries_errorRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "queries_error" */
export interface queries_error_on_conflict {constraint: queries_error_constraint,update_columns: queries_error_update_column[],where?: (queries_error_bool_exp | null)}


/** Ordering options when selecting data from "queries_error". */
export interface queries_error_order_by {ai_id?: (order_by | null),created_at?: (order_by | null),created_by?: (order_by | null),customer_id?: (order_by | null),error?: (order_by | null),properties?: (order_by | null),query?: (queries_order_by | null),query_uuid?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null)}


/** primary key columns input for table: queries_error */
export interface queries_error_pk_columns_input {ai_id: Scalars['Int']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface queries_error_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "queries_error" */
export interface queries_error_set_input {ai_id?: (Scalars['Int'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),error?: (Scalars['String'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface queries_error_stddev_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "queries_error" */
export interface queries_error_stddev_order_by {ai_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface queries_error_stddev_pop_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "queries_error" */
export interface queries_error_stddev_pop_order_by {ai_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface queries_error_stddev_samp_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "queries_error" */
export interface queries_error_stddev_samp_order_by {ai_id?: (order_by | null)}


/** Streaming cursor of the table "queries_error" */
export interface queries_error_stream_cursor_input {
/** Stream column input with initial value */
initial_value: queries_error_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface queries_error_stream_cursor_value_input {ai_id?: (Scalars['Int'] | null),created_at?: (Scalars['timestamptz'] | null),created_by?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),error?: (Scalars['String'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface queries_error_sum_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "queries_error" */
export interface queries_error_sum_order_by {ai_id?: (order_by | null)}

export interface queries_error_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_error_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_error_delete_at_path_input | null),
/** 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_elem?: (queries_error_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_error_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_error_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_error_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_error_set_input | null),
/** filter the rows which have to be updated */
where: queries_error_bool_exp}


/** aggregate var_pop on columns */
export interface queries_error_var_pop_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "queries_error" */
export interface queries_error_var_pop_order_by {ai_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface queries_error_var_samp_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "queries_error" */
export interface queries_error_var_samp_order_by {ai_id?: (order_by | null)}


/** aggregate variance on columns */
export interface queries_error_variance_fieldsRequest{
    ai_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "queries_error" */
export interface queries_error_variance_order_by {ai_id?: (order_by | null)}


/** input type for incrementing numeric columns in table "queries" */
export interface queries_inc_input {document_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null),security_level?: (Scalars['smallint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "queries" */
export interface queries_insert_input {DocKladd_questions?: (DocKladd_questions_arr_rel_insert_input | null),adopus_AdgangLinjer?: (adopus_AdgangLinjer_arr_rel_insert_input | null),archived?: (Scalars['Boolean'] | null),artifact_package?: (artifact_packages_obj_rel_insert_input | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),consents?: (consents_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),customers?: (directory_customers_obj_rel_insert_input | null),deleted_at?: (Scalars['timestamptz'] | null),directory_user_name_patient_id?: (directory_user_name_obj_rel_insert_input | null),directory_user_name_updated_by?: (directory_user_name_obj_rel_insert_input | null),document_id?: (Scalars['bigint'] | null),documents?: (documents_obj_rel_insert_input | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (initiators_enum | null),initiatorByInitiator?: (initiators_obj_rel_insert_input | null),organization_qnr_widgets?: (organization_qnr_widget_arr_rel_insert_input | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),qnr_template?: (templates_obj_rel_insert_input | null),queries_cache?: (queries_cache_obj_rel_insert_input | null),queries_error?: (queries_error_arr_rel_insert_input | null),queries_log?: (queries_log_arr_rel_insert_input | null),queries_queries_templates?: (queries_templates_obj_rel_insert_input | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),sms?: (sms_arr_rel_insert_input | null),soknad_id?: (Scalars['String'] | null),status?: (status_enum | null),statusByStatus?: (status_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null),templates?: (templates_obj_rel_insert_input | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** columns and relationships of "queries_log" */
export interface queries_logRequest{
    ai_id?: boolean | number
    archived?: boolean | number
    artifact_package_id?: boolean | number
    cache?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    /** An object relationship */
    documents?: documentsRequest
    hide_for_patient?: boolean | number
    id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    query_uuid?: boolean | number
    region?: boolean | number
    rejected?: boolean | number
    security_level?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    unique_uuid_for_compare_with_prev?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "queries_log" */
export interface queries_log_aggregateRequest{
    aggregate?: queries_log_aggregate_fieldsRequest
    nodes?: queries_logRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queries_log_aggregate_bool_exp {bool_and?: (queries_log_aggregate_bool_exp_bool_and | null),bool_or?: (queries_log_aggregate_bool_exp_bool_or | null),count?: (queries_log_aggregate_bool_exp_count | null)}

export interface queries_log_aggregate_bool_exp_bool_and {arguments: queries_log_select_column_queries_log_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (queries_log_bool_exp | null),predicate: Boolean_comparison_exp}

export interface queries_log_aggregate_bool_exp_bool_or {arguments: queries_log_select_column_queries_log_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (queries_log_bool_exp | null),predicate: Boolean_comparison_exp}

export interface queries_log_aggregate_bool_exp_count {arguments?: (queries_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (queries_log_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "queries_log" */
export interface queries_log_aggregate_fieldsRequest{
    avg?: queries_log_avg_fieldsRequest
    count?: [{columns?: (queries_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: queries_log_max_fieldsRequest
    min?: queries_log_min_fieldsRequest
    stddev?: queries_log_stddev_fieldsRequest
    stddev_pop?: queries_log_stddev_pop_fieldsRequest
    stddev_samp?: queries_log_stddev_samp_fieldsRequest
    sum?: queries_log_sum_fieldsRequest
    var_pop?: queries_log_var_pop_fieldsRequest
    var_samp?: queries_log_var_samp_fieldsRequest
    variance?: queries_log_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "queries_log" */
export interface queries_log_aggregate_order_by {avg?: (queries_log_avg_order_by | null),count?: (order_by | null),max?: (queries_log_max_order_by | null),min?: (queries_log_min_order_by | null),stddev?: (queries_log_stddev_order_by | null),stddev_pop?: (queries_log_stddev_pop_order_by | null),stddev_samp?: (queries_log_stddev_samp_order_by | null),sum?: (queries_log_sum_order_by | null),var_pop?: (queries_log_var_pop_order_by | null),var_samp?: (queries_log_var_samp_order_by | null),variance?: (queries_log_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface queries_log_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "queries_log" */
export interface queries_log_arr_rel_insert_input {data: queries_log_insert_input[],
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}


/** aggregate avg on columns */
export interface queries_log_avg_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "queries_log" */
export interface queries_log_avg_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "queries_log". All fields are combined with a logical 'AND'. */
export interface queries_log_bool_exp {_and?: (queries_log_bool_exp[] | null),_not?: (queries_log_bool_exp | null),_or?: (queries_log_bool_exp[] | null),ai_id?: (Int_comparison_exp | null),archived?: (Boolean_comparison_exp | null),artifact_package_id?: (uuid_comparison_exp | null),cache?: (Boolean_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),document_id?: (bigint_comparison_exp | null),documents?: (documents_bool_exp | null),hide_for_patient?: (Boolean_comparison_exp | null),id?: (bigint_comparison_exp | null),initiator?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),properties?: (jsonb_comparison_exp | null),query_uuid?: (uuid_comparison_exp | null),region?: (String_comparison_exp | null),rejected?: (Boolean_comparison_exp | null),security_level?: (smallint_comparison_exp | null),seen_by_therapist?: (Boolean_comparison_exp | null),share_with_recipient?: (Boolean_comparison_exp | null),soknad_id?: (String_comparison_exp | null),status?: (String_comparison_exp | null),template_id?: (bigint_comparison_exp | null),title?: (String_comparison_exp | null),token?: (String_comparison_exp | null),unique_uuid_for_compare_with_prev?: (uuid_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),updated_by?: (uuid_comparison_exp | null),valid_from?: (date_comparison_exp | null),valid_to?: (date_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface queries_log_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface queries_log_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface queries_log_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "queries_log" */
export interface queries_log_inc_input {ai_id?: (Scalars['Int'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['bigint'] | null),security_level?: (Scalars['smallint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "queries_log" */
export interface queries_log_insert_input {ai_id?: (Scalars['Int'] | null),archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['bigint'] | null),documents?: (documents_obj_rel_insert_input | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),unique_uuid_for_compare_with_prev?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate max on columns */
export interface queries_log_max_fieldsRequest{
    ai_id?: boolean | number
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    region?: boolean | number
    security_level?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    unique_uuid_for_compare_with_prev?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "queries_log" */
export interface queries_log_max_order_by {ai_id?: (order_by | null),artifact_package_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),initiator?: (order_by | null),patient_id?: (order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),security_level?: (order_by | null),soknad_id?: (order_by | null),status?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null),token?: (order_by | null),unique_uuid_for_compare_with_prev?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** aggregate min on columns */
export interface queries_log_min_fieldsRequest{
    ai_id?: boolean | number
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    region?: boolean | number
    security_level?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    unique_uuid_for_compare_with_prev?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "queries_log" */
export interface queries_log_min_order_by {ai_id?: (order_by | null),artifact_package_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),initiator?: (order_by | null),patient_id?: (order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),security_level?: (order_by | null),soknad_id?: (order_by | null),status?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null),token?: (order_by | null),unique_uuid_for_compare_with_prev?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** response of any mutation on the table "queries_log" */
export interface queries_log_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: queries_logRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "queries_log" */
export interface queries_log_obj_rel_insert_input {data: queries_log_insert_input,
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}


/** on_conflict condition type for table "queries_log" */
export interface queries_log_on_conflict {constraint: queries_log_constraint,update_columns: queries_log_update_column[],where?: (queries_log_bool_exp | null)}


/** Ordering options when selecting data from "queries_log". */
export interface queries_log_order_by {ai_id?: (order_by | null),archived?: (order_by | null),artifact_package_id?: (order_by | null),cache?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_id?: (order_by | null),documents?: (documents_order_by | null),hide_for_patient?: (order_by | null),id?: (order_by | null),initiator?: (order_by | null),patient_id?: (order_by | null),properties?: (order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),rejected?: (order_by | null),security_level?: (order_by | null),seen_by_therapist?: (order_by | null),share_with_recipient?: (order_by | null),soknad_id?: (order_by | null),status?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null),token?: (order_by | null),unique_uuid_for_compare_with_prev?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** primary key columns input for table: queries_log */
export interface queries_log_pk_columns_input {ai_id: Scalars['Int']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface queries_log_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "queries_log" */
export interface queries_log_set_input {ai_id?: (Scalars['Int'] | null),archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['bigint'] | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),unique_uuid_for_compare_with_prev?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate stddev on columns */
export interface queries_log_stddev_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "queries_log" */
export interface queries_log_stddev_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface queries_log_stddev_pop_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "queries_log" */
export interface queries_log_stddev_pop_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface queries_log_stddev_samp_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "queries_log" */
export interface queries_log_stddev_samp_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "queries_log" */
export interface queries_log_stream_cursor_input {
/** Stream column input with initial value */
initial_value: queries_log_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface queries_log_stream_cursor_value_input {ai_id?: (Scalars['Int'] | null),archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['bigint'] | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),unique_uuid_for_compare_with_prev?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate sum on columns */
export interface queries_log_sum_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "queries_log" */
export interface queries_log_sum_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}

export interface queries_log_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_log_delete_at_path_input | null),
/** 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_elem?: (queries_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_log_set_input | null),
/** filter the rows which have to be updated */
where: queries_log_bool_exp}


/** aggregate var_pop on columns */
export interface queries_log_var_pop_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "queries_log" */
export interface queries_log_var_pop_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface queries_log_var_samp_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "queries_log" */
export interface queries_log_var_samp_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface queries_log_variance_fieldsRequest{
    ai_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "queries_log" */
export interface queries_log_variance_order_by {ai_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate max on columns */
export interface queries_max_fieldsRequest{
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    region?: boolean | number
    security_level?: boolean | number
    soknad_id?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "queries" */
export interface queries_max_order_by {artifact_package_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),patient_id?: (order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),security_level?: (order_by | null),soknad_id?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** aggregate min on columns */
export interface queries_min_fieldsRequest{
    artifact_package_id?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    region?: boolean | number
    security_level?: boolean | number
    soknad_id?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    token?: boolean | number
    updated_at?: boolean | number
    updated_by?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "queries" */
export interface queries_min_order_by {artifact_package_id?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),patient_id?: (order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),security_level?: (order_by | null),soknad_id?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** response of any mutation on the table "queries" */
export interface queries_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "queries" */
export interface queries_obj_rel_insert_input {data: queries_insert_input,
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}


/** on_conflict condition type for table "queries" */
export interface queries_on_conflict {constraint: queries_constraint,update_columns: queries_update_column[],where?: (queries_bool_exp | null)}


/** Ordering options when selecting data from "queries". */
export interface queries_order_by {DocKladd_questions_aggregate?: (DocKladd_questions_aggregate_order_by | null),adopus_AdgangLinjer_aggregate?: (adopus_AdgangLinjer_aggregate_order_by | null),archived?: (order_by | null),artifact_package?: (artifact_packages_order_by | null),artifact_package_id?: (order_by | null),cache?: (order_by | null),consents_aggregate?: (consents_aggregate_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),customers?: (directory_customers_order_by | null),deleted_at?: (order_by | null),directory_user_name_patient_id?: (directory_user_name_order_by | null),directory_user_name_updated_by?: (directory_user_name_order_by | null),document_id?: (order_by | null),documents?: (documents_order_by | null),hide_for_patient?: (order_by | null),id?: (order_by | null),initiator?: (order_by | null),initiatorByInitiator?: (initiators_order_by | null),organization_qnr_widgets_aggregate?: (organization_qnr_widget_aggregate_order_by | null),patient_id?: (order_by | null),properties?: (order_by | null),qnr_template?: (templates_order_by | null),queries_cache?: (queries_cache_order_by | null),queries_error_aggregate?: (queries_error_aggregate_order_by | null),queries_log_aggregate?: (queries_log_aggregate_order_by | null),queries_queries_templates?: (queries_templates_order_by | null),query_uuid?: (order_by | null),region?: (order_by | null),rejected?: (order_by | null),security_level?: (order_by | null),seen_by_therapist?: (order_by | null),share_with_recipient?: (order_by | null),sms_aggregate?: (sms_aggregate_order_by | null),soknad_id?: (order_by | null),status?: (order_by | null),statusByStatus?: (status_order_by | null),template_id?: (order_by | null),templates?: (templates_order_by | null),title?: (order_by | null),token?: (order_by | null),updated_at?: (order_by | null),updated_by?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** primary key columns input for table: queries */
export interface queries_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface queries_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "queries" */
export interface queries_set_input {archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['bigint'] | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (initiators_enum | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (status_enum | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate stddev on columns */
export interface queries_stddev_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "queries" */
export interface queries_stddev_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface queries_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "queries" */
export interface queries_stddev_pop_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface queries_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "queries" */
export interface queries_stddev_samp_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "queries" */
export interface queries_stream_cursor_input {
/** Stream column input with initial value */
initial_value: queries_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface queries_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),artifact_package_id?: (Scalars['uuid'] | null),cache?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['bigint'] | null),hide_for_patient?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),initiator?: (initiators_enum | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),rejected?: (Scalars['Boolean'] | null),security_level?: (Scalars['smallint'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (status_enum | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null),token?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),updated_by?: (Scalars['uuid'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate sum on columns */
export interface queries_sum_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "queries" */
export interface queries_sum_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** columns and relationships of "queries_templates" */
export interface queries_templatesRequest{
    context?: boolean | number
    customer_id?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    offer?: boolean | number
    plan_category?: boolean | number
    queries_status?: boolean | number
    /** An object relationship */
    queries_templates_queries?: queriesRequest
    queries_updated_at?: boolean | number
    query_uuid?: boolean | number
    template_uuid?: boolean | number
    /** An object relationship */
    templates?: templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "queries_templates" */
export interface queries_templates_aggregateRequest{
    aggregate?: queries_templates_aggregate_fieldsRequest
    nodes?: queries_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "queries_templates" */
export interface queries_templates_aggregate_fieldsRequest{
    avg?: queries_templates_avg_fieldsRequest
    count?: [{columns?: (queries_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: queries_templates_max_fieldsRequest
    min?: queries_templates_min_fieldsRequest
    stddev?: queries_templates_stddev_fieldsRequest
    stddev_pop?: queries_templates_stddev_pop_fieldsRequest
    stddev_samp?: queries_templates_stddev_samp_fieldsRequest
    sum?: queries_templates_sum_fieldsRequest
    var_pop?: queries_templates_var_pop_fieldsRequest
    var_samp?: queries_templates_var_samp_fieldsRequest
    variance?: queries_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface queries_templates_avg_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "queries_templates". All fields are combined with a logical 'AND'. */
export interface queries_templates_bool_exp {_and?: (queries_templates_bool_exp[] | null),_not?: (queries_templates_bool_exp | null),_or?: (queries_templates_bool_exp[] | null),context?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),offer?: (Int_comparison_exp | null),plan_category?: (Int_comparison_exp | null),queries_status?: (String_comparison_exp | null),queries_templates_queries?: (queries_bool_exp | null),queries_updated_at?: (timestamptz_comparison_exp | null),query_uuid?: (uuid_comparison_exp | null),template_uuid?: (uuid_comparison_exp | null),templates?: (templates_bool_exp | null)}


/** input type for inserting data into table "queries_templates" */
export interface queries_templates_insert_input {context?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),offer?: (Scalars['Int'] | null),plan_category?: (Scalars['Int'] | null),queries_status?: (Scalars['String'] | null),queries_templates_queries?: (queries_obj_rel_insert_input | null),queries_updated_at?: (Scalars['timestamptz'] | null),query_uuid?: (Scalars['uuid'] | null),template_uuid?: (Scalars['uuid'] | null),templates?: (templates_obj_rel_insert_input | null)}


/** aggregate max on columns */
export interface queries_templates_max_fieldsRequest{
    context?: boolean | number
    customer_id?: boolean | number
    offer?: boolean | number
    plan_category?: boolean | number
    queries_status?: boolean | number
    queries_updated_at?: boolean | number
    query_uuid?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface queries_templates_min_fieldsRequest{
    context?: boolean | number
    customer_id?: boolean | number
    offer?: boolean | number
    plan_category?: boolean | number
    queries_status?: boolean | number
    queries_updated_at?: boolean | number
    query_uuid?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "queries_templates" */
export interface queries_templates_obj_rel_insert_input {data: queries_templates_insert_input}


/** Ordering options when selecting data from "queries_templates". */
export interface queries_templates_order_by {context?: (order_by | null),customer_id?: (order_by | null),directory_customers?: (directory_customers_order_by | null),offer?: (order_by | null),plan_category?: (order_by | null),queries_status?: (order_by | null),queries_templates_queries?: (queries_order_by | null),queries_updated_at?: (order_by | null),query_uuid?: (order_by | null),template_uuid?: (order_by | null),templates?: (templates_order_by | null)}


/** aggregate stddev on columns */
export interface queries_templates_stddev_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface queries_templates_stddev_pop_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface queries_templates_stddev_samp_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "queries_templates" */
export interface queries_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: queries_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface queries_templates_stream_cursor_value_input {context?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),offer?: (Scalars['Int'] | null),plan_category?: (Scalars['Int'] | null),queries_status?: (Scalars['String'] | null),queries_updated_at?: (Scalars['timestamptz'] | null),query_uuid?: (Scalars['uuid'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface queries_templates_sum_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_pop on columns */
export interface queries_templates_var_pop_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface queries_templates_var_samp_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface queries_templates_variance_fieldsRequest{
    offer?: boolean | number
    plan_category?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface queries_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_delete_at_path_input | null),
/** 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_elem?: (queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_set_input | null),
/** filter the rows which have to be updated */
where: queries_bool_exp}


/** aggregate var_pop on columns */
export interface queries_var_pop_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "queries" */
export interface queries_var_pop_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface queries_var_samp_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "queries" */
export interface queries_var_samp_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface queries_variance_fieldsRequest{
    document_id?: boolean | number
    id?: boolean | number
    security_level?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "queries" */
export interface queries_variance_order_by {document_id?: (order_by | null),id?: (order_by | null),security_level?: (order_by | null),template_id?: (order_by | null)}

export interface query_rootRequest{
    /** fetch data from the table: "DocKladd_properties" */
    DocKladd_properties?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_properties_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_properties_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_properties_bool_exp | null)},DocKladd_propertiesRequest] | DocKladd_propertiesRequest
    /** fetch aggregated fields from the table: "DocKladd_properties" */
    DocKladd_properties_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_properties_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_properties_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_properties_bool_exp | null)},DocKladd_properties_aggregateRequest] | DocKladd_properties_aggregateRequest
    /** fetch data from the table: "DocKladd_properties" using primary key columns */
    DocKladd_properties_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['Int']},DocKladd_propertiesRequest]
    /** An array relationship */
    DocKladd_questions?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questionsRequest] | DocKladd_questionsRequest
    /** An aggregate relationship */
    DocKladd_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questions_aggregateRequest] | DocKladd_questions_aggregateRequest
    /** fetch data from the table: "DocKladd_questions" using primary key columns */
    DocKladd_questions_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']},DocKladd_questionsRequest]
    /** fetch data from the table: "accessible" */
    accessible?: [{
    /** distinct select on columns */
    distinct_on?: (accessible_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (accessible_order_by[] | null),
    /** filter the rows returned */
    where?: (accessible_bool_exp | null)},accessibleRequest] | accessibleRequest
    /** fetch aggregated fields from the table: "accessible" */
    accessible_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (accessible_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (accessible_order_by[] | null),
    /** filter the rows returned */
    where?: (accessible_bool_exp | null)},accessible_aggregateRequest] | accessible_aggregateRequest
    /** fetch data from the table: "accessible" using primary key columns */
    accessible_by_pk?: [{name: Scalars['String']},accessibleRequest]
    /** An array relationship */
    adopus_AdgangLinjer?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjerRequest] | adopus_AdgangLinjerRequest
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjer_aggregateRequest] | adopus_AdgangLinjer_aggregateRequest
    /** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
    adopus_AdgangLinjer_by_pk?: [{BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']},adopus_AdgangLinjerRequest]
    /** An array relationship */
    anonymous_answers?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answersRequest] | anonymous_answersRequest
    /** An aggregate relationship */
    anonymous_answers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answers_aggregateRequest] | anonymous_answers_aggregateRequest
    /** fetch data from the table: "anonymous_answers" using primary key columns */
    anonymous_answers_by_pk?: [{id: Scalars['bigint']},anonymous_answersRequest]
    /** fetch data from the table: "anonymous_invitations" */
    anonymous_invitations?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitationsRequest] | anonymous_invitationsRequest
    /** fetch aggregated fields from the table: "anonymous_invitations" */
    anonymous_invitations_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitations_aggregateRequest] | anonymous_invitations_aggregateRequest
    /** fetch data from the table: "anonymous_invitations" using primary key columns */
    anonymous_invitations_by_pk?: [{id: Scalars['bigint']},anonymous_invitationsRequest]
    /** An array relationship */
    anonymous_queries?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queriesRequest] | anonymous_queriesRequest
    /** An aggregate relationship */
    anonymous_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queries_aggregateRequest] | anonymous_queries_aggregateRequest
    /** fetch data from the table: "anonymous_queries" using primary key columns */
    anonymous_queries_by_pk?: [{id: Scalars['bigint']},anonymous_queriesRequest]
    /** An array relationship */
    anonymous_sms?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_smsRequest] | anonymous_smsRequest
    /** An aggregate relationship */
    anonymous_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_sms_aggregateRequest] | anonymous_sms_aggregateRequest
    /** fetch data from the table: "anonymous_sms" using primary key columns */
    anonymous_sms_by_pk?: [{id: Scalars['bigint']},anonymous_smsRequest]
    /** fetch data from the table: "anonymous_template_question" */
    anonymous_template_question?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_questionRequest] | anonymous_template_questionRequest
    /** fetch aggregated fields from the table: "anonymous_template_question" */
    anonymous_template_question_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_question_aggregateRequest] | anonymous_template_question_aggregateRequest
    /** fetch data from the table: "anonymous_templates" */
    anonymous_templates?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_templates_bool_exp | null)},anonymous_templatesRequest] | anonymous_templatesRequest
    /** fetch aggregated fields from the table: "anonymous_templates" */
    anonymous_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_templates_bool_exp | null)},anonymous_templates_aggregateRequest] | anonymous_templates_aggregateRequest
    /** fetch data from the table: "anonymous_templates" using primary key columns */
    anonymous_templates_by_pk?: [{id: Scalars['bigint']},anonymous_templatesRequest]
    /** fetch data from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcelRequest] | artifact_package_artifact_parcelRequest
    /** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcel_aggregateRequest] | artifact_package_artifact_parcel_aggregateRequest
    /** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
    artifact_package_artifact_parcel_by_pk?: [{artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']},artifact_package_artifact_parcelRequest]
    /** fetch data from the table: "artifact_package_cron" */
    artifact_package_cron?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_cron_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_cron_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_cron_bool_exp | null)},artifact_package_cronRequest] | artifact_package_cronRequest
    /** fetch aggregated fields from the table: "artifact_package_cron" */
    artifact_package_cron_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_cron_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_cron_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_cron_bool_exp | null)},artifact_package_cron_aggregateRequest] | artifact_package_cron_aggregateRequest
    /** fetch data from the table: "artifact_package_cron" using primary key columns */
    artifact_package_cron_by_pk?: [{artifact_packages_id: Scalars['uuid']},artifact_package_cronRequest]
    /** fetch data from the table: "artifact_package_groups" */
    artifact_package_groups?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_groups_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_groups_bool_exp | null)},artifact_package_groupsRequest] | artifact_package_groupsRequest
    /** fetch aggregated fields from the table: "artifact_package_groups" */
    artifact_package_groups_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_groups_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_groups_bool_exp | null)},artifact_package_groups_aggregateRequest] | artifact_package_groups_aggregateRequest
    /** fetch data from the table: "artifact_package_groups" using primary key columns */
    artifact_package_groups_by_pk?: [{id: Scalars['uuid']},artifact_package_groupsRequest]
    /** An array relationship */
    artifact_packages?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packagesRequest] | artifact_packagesRequest
    /** An aggregate relationship */
    artifact_packages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packages_aggregateRequest] | artifact_packages_aggregateRequest
    /** fetch data from the table: "artifact_packages" using primary key columns */
    artifact_packages_by_pk?: [{id: Scalars['uuid']},artifact_packagesRequest]
    /** fetch data from the table: "artifact_parcels" */
    artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_parcels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_parcels_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_parcels_bool_exp | null)},artifact_parcelsRequest] | artifact_parcelsRequest
    /** fetch aggregated fields from the table: "artifact_parcels" */
    artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_parcels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_parcels_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_parcels_bool_exp | null)},artifact_parcels_aggregateRequest] | artifact_parcels_aggregateRequest
    /** fetch data from the table: "artifact_parcels" using primary key columns */
    artifact_parcels_by_pk?: [{id: Scalars['uuid']},artifact_parcelsRequest]
    /** fetch data from the table: "categories" */
    categories?: [{
    /** distinct select on columns */
    distinct_on?: (categories_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (categories_order_by[] | null),
    /** filter the rows returned */
    where?: (categories_bool_exp | null)},categoriesRequest] | categoriesRequest
    /** fetch aggregated fields from the table: "categories" */
    categories_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (categories_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (categories_order_by[] | null),
    /** filter the rows returned */
    where?: (categories_bool_exp | null)},categories_aggregateRequest] | categories_aggregateRequest
    /** fetch data from the table: "categories" using primary key columns */
    categories_by_pk?: [{name: Scalars['String']},categoriesRequest]
    /** An array relationship */
    consent_approval_rejection_reasons?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasonsRequest] | consent_approval_rejection_reasonsRequest
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasons_aggregateRequest] | consent_approval_rejection_reasons_aggregateRequest
    /** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
    consent_approval_rejection_reasons_by_pk?: [{id: Scalars['Int']},consent_approval_rejection_reasonsRequest]
    /** fetch data from the table: "consent_patient" */
    consent_patient?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest] | consent_patientRequest
    /** fetch aggregated fields from the table: "consent_patient" */
    consent_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patient_aggregateRequest] | consent_patient_aggregateRequest
    /** fetch data from the table: "consent_patient" using primary key columns */
    consent_patient_by_pk?: [{consent_id: Scalars['bigint'],patient_id: Scalars['uuid']},consent_patientRequest]
    /** fetch data from the table: "consent_status" */
    consent_status?: [{
    /** distinct select on columns */
    distinct_on?: (consent_status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_status_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_status_bool_exp | null)},consent_statusRequest] | consent_statusRequest
    /** fetch aggregated fields from the table: "consent_status" */
    consent_status_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_status_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_status_bool_exp | null)},consent_status_aggregateRequest] | consent_status_aggregateRequest
    /** fetch data from the table: "consent_status" using primary key columns */
    consent_status_by_pk?: [{name: Scalars['String']},consent_statusRequest]
    /** fetch data from the table: "consent_template_to_template" */
    consent_template_to_template?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_templateRequest] | consent_template_to_templateRequest
    /** fetch aggregated fields from the table: "consent_template_to_template" */
    consent_template_to_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_template_aggregateRequest] | consent_template_to_template_aggregateRequest
    /** An array relationship */
    consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templatesRequest] | consent_templatesRequest
    /** An aggregate relationship */
    consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templates_aggregateRequest] | consent_templates_aggregateRequest
    /** fetch data from the table: "consent_templates" using primary key columns */
    consent_templates_by_pk?: [{id: Scalars['bigint']},consent_templatesRequest]
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    /** fetch data from the table: "consents" using primary key columns */
    consents_by_pk?: [{id: Scalars['bigint']},consentsRequest]
    /** fetch data from the table: "context_group_context" */
    context_group_context?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_contextRequest] | context_group_contextRequest
    /** fetch aggregated fields from the table: "context_group_context" */
    context_group_context_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_context_aggregateRequest] | context_group_context_aggregateRequest
    /** fetch data from the table: "context_group_context" using primary key columns */
    context_group_context_by_pk?: [{context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']},context_group_contextRequest]
    /** fetch data from the table: "contexts" */
    contexts?: [{
    /** distinct select on columns */
    distinct_on?: (contexts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (contexts_order_by[] | null),
    /** filter the rows returned */
    where?: (contexts_bool_exp | null)},contextsRequest] | contextsRequest
    /** fetch aggregated fields from the table: "contexts" */
    contexts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (contexts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (contexts_order_by[] | null),
    /** filter the rows returned */
    where?: (contexts_bool_exp | null)},contexts_aggregateRequest] | contexts_aggregateRequest
    /** fetch data from the table: "contexts" using primary key columns */
    contexts_by_pk?: [{customer_id: Scalars['String'],name: Scalars['String']},contextsRequest]
    /** fetch data from the table: "custom_db_nodes" */
    custom_db_nodes?: [{
    /** distinct select on columns */
    distinct_on?: (custom_db_nodes_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (custom_db_nodes_order_by[] | null),
    /** filter the rows returned */
    where?: (custom_db_nodes_bool_exp | null)},custom_db_nodesRequest] | custom_db_nodesRequest
    /** fetch aggregated fields from the table: "custom_db_nodes" */
    custom_db_nodes_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (custom_db_nodes_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (custom_db_nodes_order_by[] | null),
    /** filter the rows returned */
    where?: (custom_db_nodes_bool_exp | null)},custom_db_nodes_aggregateRequest] | custom_db_nodes_aggregateRequest
    /** fetch data from the table: "custom_db_nodes" using primary key columns */
    custom_db_nodes_by_pk?: [{id: Scalars['bigint']},custom_db_nodesRequest]
    /** fetch data from the table: "directory_customers" */
    directory_customers?: [{
    /** distinct select on columns */
    distinct_on?: (directory_customers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_customers_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_customers_bool_exp | null)},directory_customersRequest] | directory_customersRequest
    /** fetch aggregated fields from the table: "directory_customers" */
    directory_customers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_customers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_customers_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_customers_bool_exp | null)},directory_customers_aggregateRequest] | directory_customers_aggregateRequest
    /** fetch data from the table: "directory_customers" using primary key columns */
    directory_customers_by_pk?: [{id: Scalars['uuid']},directory_customersRequest]
    /** fetch data from the table: "directory_user_name" */
    directory_user_name?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_name_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_user_name_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_name_bool_exp | null)},directory_user_nameRequest] | directory_user_nameRequest
    /** fetch aggregated fields from the table: "directory_user_name" */
    directory_user_name_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_name_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_user_name_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_name_bool_exp | null)},directory_user_name_aggregateRequest] | directory_user_name_aggregateRequest
    /** fetch data from the table: "directory_user_name" using primary key columns */
    directory_user_name_by_pk?: [{user_id: Scalars['uuid']},directory_user_nameRequest]
    /** fetch data from the table: "document_patient" */
    document_patient?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest] | document_patientRequest
    /** fetch aggregated fields from the table: "document_patient" */
    document_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patient_aggregateRequest] | document_patient_aggregateRequest
    /** fetch data from the table: "document_patient" using primary key columns */
    document_patient_by_pk?: [{document_id: Scalars['bigint'],patient_id: Scalars['uuid']},document_patientRequest]
    /** An array relationship */
    document_sms?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_smsRequest] | document_smsRequest
    /** An aggregate relationship */
    document_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_sms_aggregateRequest] | document_sms_aggregateRequest
    /** An array relationship */
    documents?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documentsRequest] | documentsRequest
    /** An aggregate relationship */
    documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documents_aggregateRequest] | documents_aggregateRequest
    /** fetch data from the table: "documents" using primary key columns */
    documents_by_pk?: [{id: Scalars['bigint']},documentsRequest]
    /** fetch data from the table: "documents_overview" */
    documents_overview?: [{
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overviewRequest] | documents_overviewRequest
    /** fetch aggregated fields from the table: "documents_overview" */
    documents_overview_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overview_aggregateRequest] | documents_overview_aggregateRequest
    /** fetch data from the table: "event_artifact_package" */
    event_artifact_package?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_packageRequest] | event_artifact_packageRequest
    /** fetch aggregated fields from the table: "event_artifact_package" */
    event_artifact_package_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_package_aggregateRequest] | event_artifact_package_aggregateRequest
    /** fetch data from the table: "event_artifact_package" using primary key columns */
    event_artifact_package_by_pk?: [{artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']},event_artifact_packageRequest]
    /** An array relationship */
    favorite_templates_order?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_orderRequest] | favorite_templates_orderRequest
    /** An aggregate relationship */
    favorite_templates_order_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_order_aggregateRequest] | favorite_templates_order_aggregateRequest
    /** fetch data from the table: "favorite_templates_order" using primary key columns */
    favorite_templates_order_by_pk?: [{customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']},favorite_templates_orderRequest]
    /** An array relationship */
    favorites?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favoritesRequest] | favoritesRequest
    /** An aggregate relationship */
    favorites_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favorites_aggregateRequest] | favorites_aggregateRequest
    /** fetch data from the table: "favorites" using primary key columns */
    favorites_by_pk?: [{customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']},favoritesRequest]
    /** fetch data from the table: "filter_names" */
    filter_names?: [{
    /** distinct select on columns */
    distinct_on?: (filter_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (filter_names_order_by[] | null),
    /** filter the rows returned */
    where?: (filter_names_bool_exp | null)},filter_namesRequest] | filter_namesRequest
    /** fetch aggregated fields from the table: "filter_names" */
    filter_names_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (filter_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (filter_names_order_by[] | null),
    /** filter the rows returned */
    where?: (filter_names_bool_exp | null)},filter_names_aggregateRequest] | filter_names_aggregateRequest
    /** fetch data from the table: "filter_names" using primary key columns */
    filter_names_by_pk?: [{name: Scalars['String']},filter_namesRequest]
    /** An array relationship */
    genesis_consent_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissionsRequest] | genesis_consent_permissionsRequest
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissions_aggregateRequest] | genesis_consent_permissions_aggregateRequest
    /** fetch data from the table: "genesis_consent_permissions" using primary key columns */
    genesis_consent_permissions_by_pk?: [{consent_id: Scalars['bigint'],customer_id: Scalars['uuid']},genesis_consent_permissionsRequest]
    /** An array relationship */
    genesis_consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templatesRequest] | genesis_consent_templatesRequest
    /** An aggregate relationship */
    genesis_consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templates_aggregateRequest] | genesis_consent_templates_aggregateRequest
    /** fetch data from the table: "genesis_consent_templates" using primary key columns */
    genesis_consent_templates_by_pk?: [{consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']},genesis_consent_templatesRequest]
    /** An array relationship */
    genesis_denied_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissionsRequest] | genesis_denied_permissionsRequest
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissions_aggregateRequest] | genesis_denied_permissions_aggregateRequest
    /** fetch data from the table: "genesis_denied_permissions" using primary key columns */
    genesis_denied_permissions_by_pk?: [{customer_id: Scalars['uuid'],table_id: Scalars['uuid']},genesis_denied_permissionsRequest]
    /** An array relationship */
    genesis_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templatesRequest] | genesis_templatesRequest
    /** An aggregate relationship */
    genesis_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templates_aggregateRequest] | genesis_templates_aggregateRequest
    /** fetch data from the table: "genesis_templates" using primary key columns */
    genesis_templates_by_pk?: [{genesis_set: Scalars['String'],template_id: Scalars['bigint']},genesis_templatesRequest]
    /** fetch data from the table: "group_context" */
    group_context?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_bool_exp | null)},group_contextRequest] | group_contextRequest
    /** fetch aggregated fields from the table: "group_context" */
    group_context_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_bool_exp | null)},group_context_aggregateRequest] | group_context_aggregateRequest
    /** fetch data from the table: "group_context" using primary key columns */
    group_context_by_pk?: [{id: Scalars['uuid']},group_contextRequest]
    /** An array relationship */
    group_context_filters?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filtersRequest] | group_context_filtersRequest
    /** An aggregate relationship */
    group_context_filters_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filters_aggregateRequest] | group_context_filters_aggregateRequest
    /** fetch data from the table: "group_context_filters" using primary key columns */
    group_context_filters_by_pk?: [{customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']},group_context_filtersRequest]
    /** fetch data from the table: "groups" */
    groups?: [{
    /** distinct select on columns */
    distinct_on?: (groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (groups_order_by[] | null),
    /** filter the rows returned */
    where?: (groups_bool_exp | null)},groupsRequest] | groupsRequest
    /** fetch aggregated fields from the table: "groups" */
    groups_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (groups_order_by[] | null),
    /** filter the rows returned */
    where?: (groups_bool_exp | null)},groups_aggregateRequest] | groups_aggregateRequest
    /** fetch data from the table: "groups" using primary key columns */
    groups_by_pk?: [{name: Scalars['String']},groupsRequest]
    /** fetch data from the table: "initiators" */
    initiators?: [{
    /** distinct select on columns */
    distinct_on?: (initiators_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (initiators_order_by[] | null),
    /** filter the rows returned */
    where?: (initiators_bool_exp | null)},initiatorsRequest] | initiatorsRequest
    /** fetch aggregated fields from the table: "initiators" */
    initiators_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (initiators_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (initiators_order_by[] | null),
    /** filter the rows returned */
    where?: (initiators_bool_exp | null)},initiators_aggregateRequest] | initiators_aggregateRequest
    /** fetch data from the table: "initiators" using primary key columns */
    initiators_by_pk?: [{name: Scalars['String']},initiatorsRequest]
    /** fetch data from the table: "migrations" */
    migrations?: [{
    /** distinct select on columns */
    distinct_on?: (migrations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (migrations_order_by[] | null),
    /** filter the rows returned */
    where?: (migrations_bool_exp | null)},migrationsRequest] | migrationsRequest
    /** fetch aggregated fields from the table: "migrations" */
    migrations_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (migrations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (migrations_order_by[] | null),
    /** filter the rows returned */
    where?: (migrations_bool_exp | null)},migrations_aggregateRequest] | migrations_aggregateRequest
    /** fetch data from the table: "migrations" using primary key columns */
    migrations_by_pk?: [{id: Scalars['bigint']},migrationsRequest]
    /** fetch data from the table: "organization_qnr_widget" */
    organization_qnr_widget?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widgetRequest] | organization_qnr_widgetRequest
    /** fetch aggregated fields from the table: "organization_qnr_widget" */
    organization_qnr_widget_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widget_aggregateRequest] | organization_qnr_widget_aggregateRequest
    /** fetch data from the table: "organization_qnr_widget" using primary key columns */
    organization_qnr_widget_by_pk?: [{id: Scalars['uuid']},organization_qnr_widgetRequest]
    /** An array relationship */
    projects?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projectsRequest] | projectsRequest
    /** An aggregate relationship */
    projects_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projects_aggregateRequest] | projects_aggregateRequest
    /** fetch data from the table: "projects" using primary key columns */
    projects_by_pk?: [{customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']},projectsRequest]
    /** An array relationship */
    qnr_template_genesis_overrides?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overridesRequest] | qnr_template_genesis_overridesRequest
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overrides_aggregateRequest] | qnr_template_genesis_overrides_aggregateRequest
    /** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
    qnr_template_genesis_overrides_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},qnr_template_genesis_overridesRequest]
    /** fetch data from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_log_bool_exp | null)},qnr_template_genesis_overrides_logRequest] | qnr_template_genesis_overrides_logRequest
    /** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_log_bool_exp | null)},qnr_template_genesis_overrides_log_aggregateRequest] | qnr_template_genesis_overrides_log_aggregateRequest
    /** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
    qnr_template_genesis_overrides_log_by_pk?: [{id: Scalars['Int']},qnr_template_genesis_overrides_logRequest]
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    /** fetch data from the table: "queries" using primary key columns */
    queries_by_pk?: [{id: Scalars['bigint']},queriesRequest]
    /** fetch data from the table: "queries_cache" */
    queries_cache?: [{
    /** distinct select on columns */
    distinct_on?: (queries_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_cache_bool_exp | null)},queries_cacheRequest] | queries_cacheRequest
    /** fetch aggregated fields from the table: "queries_cache" */
    queries_cache_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_cache_bool_exp | null)},queries_cache_aggregateRequest] | queries_cache_aggregateRequest
    /** fetch data from the table: "queries_cache" using primary key columns */
    queries_cache_by_pk?: [{query_id: Scalars['uuid']},queries_cacheRequest]
    /** An array relationship */
    queries_error?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_errorRequest] | queries_errorRequest
    /** An aggregate relationship */
    queries_error_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_error_aggregateRequest] | queries_error_aggregateRequest
    /** fetch data from the table: "queries_error" using primary key columns */
    queries_error_by_pk?: [{ai_id: Scalars['Int']},queries_errorRequest]
    /** An array relationship */
    queries_log?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_logRequest] | queries_logRequest
    /** An aggregate relationship */
    queries_log_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_log_aggregateRequest] | queries_log_aggregateRequest
    /** fetch data from the table: "queries_log" using primary key columns */
    queries_log_by_pk?: [{ai_id: Scalars['Int']},queries_logRequest]
    /** fetch data from the table: "queries_templates" */
    queries_templates?: [{
    /** distinct select on columns */
    distinct_on?: (queries_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_templates_bool_exp | null)},queries_templatesRequest] | queries_templatesRequest
    /** fetch aggregated fields from the table: "queries_templates" */
    queries_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_templates_bool_exp | null)},queries_templates_aggregateRequest] | queries_templates_aggregateRequest
    /** fetch data from the table: "question_composite_question" */
    question_composite_question?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_questionRequest] | question_composite_questionRequest
    /** fetch aggregated fields from the table: "question_composite_question" */
    question_composite_question_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_question_aggregateRequest] | question_composite_question_aggregateRequest
    /** fetch data from the table: "question_template" */
    question_template?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_templateRequest] | question_templateRequest
    /** fetch aggregated fields from the table: "question_template" */
    question_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_template_aggregateRequest] | question_template_aggregateRequest
    /** fetch data from the table: "questions" */
    questions?: [{
    /** distinct select on columns */
    distinct_on?: (questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (questions_order_by[] | null),
    /** filter the rows returned */
    where?: (questions_bool_exp | null)},questionsRequest] | questionsRequest
    /** fetch aggregated fields from the table: "questions" */
    questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (questions_order_by[] | null),
    /** filter the rows returned */
    where?: (questions_bool_exp | null)},questions_aggregateRequest] | questions_aggregateRequest
    /** fetch data from the table: "questions" using primary key columns */
    questions_by_pk?: [{id: Scalars['bigint']},questionsRequest]
    /** execute function "search_document_patient" which returns "documents_overview" */
    search_document_patient?: [{
    /** input parameters for function "search_document_patient" */
    args: search_document_patient_args,
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overviewRequest]
    /** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
    search_document_patient_aggregate?: [{
    /** input parameters for function "search_document_patient_aggregate" */
    args: search_document_patient_args,
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overview_aggregateRequest]
    /** fetch data from the table: "security_levels" */
    security_levels?: [{
    /** distinct select on columns */
    distinct_on?: (security_levels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (security_levels_order_by[] | null),
    /** filter the rows returned */
    where?: (security_levels_bool_exp | null)},security_levelsRequest] | security_levelsRequest
    /** fetch aggregated fields from the table: "security_levels" */
    security_levels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (security_levels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (security_levels_order_by[] | null),
    /** filter the rows returned */
    where?: (security_levels_bool_exp | null)},security_levels_aggregateRequest] | security_levels_aggregateRequest
    /** fetch data from the table: "security_levels" using primary key columns */
    security_levels_by_pk?: [{name: Scalars['String']},security_levelsRequest]
    /** fetch data from the table: "settings" */
    settings?: [{
    /** distinct select on columns */
    distinct_on?: (settings_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (settings_order_by[] | null),
    /** filter the rows returned */
    where?: (settings_bool_exp | null)},settingsRequest] | settingsRequest
    /** fetch aggregated fields from the table: "settings" */
    settings_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (settings_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (settings_order_by[] | null),
    /** filter the rows returned */
    where?: (settings_bool_exp | null)},settings_aggregateRequest] | settings_aggregateRequest
    /** fetch data from the table: "settings" using primary key columns */
    settings_by_pk?: [{id: Scalars['bigint']},settingsRequest]
    /** fetch data from the table: "shortcuts" */
    shortcuts?: [{
    /** distinct select on columns */
    distinct_on?: (shortcuts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (shortcuts_order_by[] | null),
    /** filter the rows returned */
    where?: (shortcuts_bool_exp | null)},shortcutsRequest] | shortcutsRequest
    /** fetch aggregated fields from the table: "shortcuts" */
    shortcuts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (shortcuts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (shortcuts_order_by[] | null),
    /** filter the rows returned */
    where?: (shortcuts_bool_exp | null)},shortcuts_aggregateRequest] | shortcuts_aggregateRequest
    /** fetch data from the table: "shortcuts" using primary key columns */
    shortcuts_by_pk?: [{id: Scalars['String']},shortcutsRequest]
    /** An array relationship */
    sms?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},smsRequest] | smsRequest
    /** An aggregate relationship */
    sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},sms_aggregateRequest] | sms_aggregateRequest
    /** fetch data from the table: "sms" using primary key columns */
    sms_by_pk?: [{id: Scalars['bigint']},smsRequest]
    /** fetch data from the table: "sms_template_template" */
    sms_template_template?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_templateRequest] | sms_template_templateRequest
    /** fetch aggregated fields from the table: "sms_template_template" */
    sms_template_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_template_aggregateRequest] | sms_template_template_aggregateRequest
    /** fetch data from the table: "sms_template_template" using primary key columns */
    sms_template_template_by_pk?: [{sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']},sms_template_templateRequest]
    /** An array relationship */
    sms_templates?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templatesRequest] | sms_templatesRequest
    /** An aggregate relationship */
    sms_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templates_aggregateRequest] | sms_templates_aggregateRequest
    /** fetch data from the table: "sms_templates" using primary key columns */
    sms_templates_by_pk?: [{id: Scalars['bigint']},sms_templatesRequest]
    /** fetch data from the table: "status" */
    status?: [{
    /** distinct select on columns */
    distinct_on?: (status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (status_order_by[] | null),
    /** filter the rows returned */
    where?: (status_bool_exp | null)},statusRequest] | statusRequest
    /** fetch aggregated fields from the table: "status" */
    status_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (status_order_by[] | null),
    /** filter the rows returned */
    where?: (status_bool_exp | null)},status_aggregateRequest] | status_aggregateRequest
    /** fetch data from the table: "status" using primary key columns */
    status_by_pk?: [{name: Scalars['String']},statusRequest]
    /** fetch data from the table: "table_names" */
    table_names?: [{
    /** distinct select on columns */
    distinct_on?: (table_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (table_names_order_by[] | null),
    /** filter the rows returned */
    where?: (table_names_bool_exp | null)},table_namesRequest] | table_namesRequest
    /** fetch aggregated fields from the table: "table_names" */
    table_names_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (table_names_order_by[] | null),
    /** filter the rows returned */
    where?: (table_names_bool_exp | null)},table_names_aggregateRequest] | table_names_aggregateRequest
    /** fetch data from the table: "table_names" using primary key columns */
    table_names_by_pk?: [{name: Scalars['String']},table_namesRequest]
    /** fetch data from the table: "template_artifact_parcel" */
    template_artifact_parcel?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcelRequest] | template_artifact_parcelRequest
    /** fetch aggregated fields from the table: "template_artifact_parcel" */
    template_artifact_parcel_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcel_aggregateRequest] | template_artifact_parcel_aggregateRequest
    /** fetch data from the table: "template_artifact_parcel" using primary key columns */
    template_artifact_parcel_by_pk?: [{artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']},template_artifact_parcelRequest]
    /** fetch data from the table: "template_cache" */
    template_cache?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_bool_exp | null)},template_cacheRequest] | template_cacheRequest
    /** fetch data from the table: "template_cache_access" */
    template_cache_access?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_accessRequest] | template_cache_accessRequest
    /** fetch aggregated fields from the table: "template_cache_access" */
    template_cache_access_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_access_aggregateRequest] | template_cache_access_aggregateRequest
    /** fetch data from the table: "template_cache_access" using primary key columns */
    template_cache_access_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},template_cache_accessRequest]
    /** fetch aggregated fields from the table: "template_cache" */
    template_cache_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_bool_exp | null)},template_cache_aggregateRequest] | template_cache_aggregateRequest
    /** fetch data from the table: "template_cache" using primary key columns */
    template_cache_by_pk?: [{template_uuid: Scalars['uuid']},template_cacheRequest]
    /** fetch data from the table: "template_flags" */
    template_flags?: [{
    /** distinct select on columns */
    distinct_on?: (template_flags_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_flags_order_by[] | null),
    /** filter the rows returned */
    where?: (template_flags_bool_exp | null)},template_flagsRequest] | template_flagsRequest
    /** fetch aggregated fields from the table: "template_flags" */
    template_flags_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_flags_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_flags_order_by[] | null),
    /** filter the rows returned */
    where?: (template_flags_bool_exp | null)},template_flags_aggregateRequest] | template_flags_aggregateRequest
    /** An array relationship */
    template_journal_roles?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_rolesRequest] | template_journal_rolesRequest
    /** An aggregate relationship */
    template_journal_roles_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_roles_aggregateRequest] | template_journal_roles_aggregateRequest
    /** fetch data from the table: "template_journal_roles" using primary key columns */
    template_journal_roles_by_pk?: [{role: Scalars['String'],template_uuid: Scalars['uuid']},template_journal_rolesRequest]
    /** An array relationship */
    template_offer_types?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_typesRequest] | template_offer_typesRequest
    /** An aggregate relationship */
    template_offer_types_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_types_aggregateRequest] | template_offer_types_aggregateRequest
    /** fetch data from the table: "template_offer_types" using primary key columns */
    template_offer_types_by_pk?: [{offer_type: Scalars['String'],template_uuid: Scalars['uuid']},template_offer_typesRequest]
    /** An array relationship */
    template_offers?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offersRequest] | template_offersRequest
    /** An aggregate relationship */
    template_offers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offers_aggregateRequest] | template_offers_aggregateRequest
    /** fetch data from the table: "template_offers" using primary key columns */
    template_offers_by_pk?: [{offer: Scalars['String'],template_uuid: Scalars['uuid']},template_offersRequest]
    /** An array relationship */
    templates?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templatesRequest] | templatesRequest
    /** An aggregate relationship */
    templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templates_aggregateRequest] | templates_aggregateRequest
    /** fetch data from the table: "templates" using primary key columns */
    templates_by_pk?: [{id: Scalars['bigint']},templatesRequest]
    /** fetch data from the table: "types" */
    types?: [{
    /** distinct select on columns */
    distinct_on?: (types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (types_order_by[] | null),
    /** filter the rows returned */
    where?: (types_bool_exp | null)},typesRequest] | typesRequest
    /** fetch aggregated fields from the table: "types" */
    types_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (types_order_by[] | null),
    /** filter the rows returned */
    where?: (types_bool_exp | null)},types_aggregateRequest] | types_aggregateRequest
    /** fetch data from the table: "types" using primary key columns */
    types_by_pk?: [{name: Scalars['String']},typesRequest]
    /** fetch data from the table: "unseen_documents" */
    unseen_documents?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_documents_bool_exp | null)},unseen_documentsRequest] | unseen_documentsRequest
    /** fetch aggregated fields from the table: "unseen_documents" */
    unseen_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_documents_bool_exp | null)},unseen_documents_aggregateRequest] | unseen_documents_aggregateRequest
    /** fetch data from the table: "unseen_queries" */
    unseen_queries?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_queries_bool_exp | null)},unseen_queriesRequest] | unseen_queriesRequest
    /** fetch aggregated fields from the table: "unseen_queries" */
    unseen_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_queries_bool_exp | null)},unseen_queries_aggregateRequest] | unseen_queries_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "question_composite_question" */
export interface question_composite_questionRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    properties?: boolean | number
    /** An object relationship */
    question?: questionsRequest
    /** An object relationship */
    questionByQuestionParentId?: questionsRequest
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "question_composite_question" */
export interface question_composite_question_aggregateRequest{
    aggregate?: question_composite_question_aggregate_fieldsRequest
    nodes?: question_composite_questionRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface question_composite_question_aggregate_bool_exp {count?: (question_composite_question_aggregate_bool_exp_count | null)}

export interface question_composite_question_aggregate_bool_exp_count {arguments?: (question_composite_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (question_composite_question_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "question_composite_question" */
export interface question_composite_question_aggregate_fieldsRequest{
    avg?: question_composite_question_avg_fieldsRequest
    count?: [{columns?: (question_composite_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: question_composite_question_max_fieldsRequest
    min?: question_composite_question_min_fieldsRequest
    stddev?: question_composite_question_stddev_fieldsRequest
    stddev_pop?: question_composite_question_stddev_pop_fieldsRequest
    stddev_samp?: question_composite_question_stddev_samp_fieldsRequest
    sum?: question_composite_question_sum_fieldsRequest
    var_pop?: question_composite_question_var_pop_fieldsRequest
    var_samp?: question_composite_question_var_samp_fieldsRequest
    variance?: question_composite_question_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "question_composite_question" */
export interface question_composite_question_aggregate_order_by {avg?: (question_composite_question_avg_order_by | null),count?: (order_by | null),max?: (question_composite_question_max_order_by | null),min?: (question_composite_question_min_order_by | null),stddev?: (question_composite_question_stddev_order_by | null),stddev_pop?: (question_composite_question_stddev_pop_order_by | null),stddev_samp?: (question_composite_question_stddev_samp_order_by | null),sum?: (question_composite_question_sum_order_by | null),var_pop?: (question_composite_question_var_pop_order_by | null),var_samp?: (question_composite_question_var_samp_order_by | null),variance?: (question_composite_question_variance_order_by | null)}


/** input type for inserting array relation for remote table "question_composite_question" */
export interface question_composite_question_arr_rel_insert_input {data: question_composite_question_insert_input[],
/** upsert condition */
on_conflict?: (question_composite_question_on_conflict | null)}


/** aggregate avg on columns */
export interface question_composite_question_avg_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "question_composite_question" */
export interface question_composite_question_avg_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** Boolean expression to filter rows from the table "question_composite_question". All fields are combined with a logical 'AND'. */
export interface question_composite_question_bool_exp {_and?: (question_composite_question_bool_exp[] | null),_not?: (question_composite_question_bool_exp | null),_or?: (question_composite_question_bool_exp[] | null),description?: (String_comparison_exp | null),narrative?: (String_comparison_exp | null),position?: (bigint_comparison_exp | null),properties?: (String_comparison_exp | null),question?: (questions_bool_exp | null),questionByQuestionParentId?: (questions_bool_exp | null),question_child_id?: (bigint_comparison_exp | null),question_parent_id?: (bigint_comparison_exp | null),row?: (bigint_comparison_exp | null),title?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "question_composite_question" */
export interface question_composite_question_inc_input {position?: (Scalars['bigint'] | null),question_child_id?: (Scalars['bigint'] | null),question_parent_id?: (Scalars['bigint'] | null),row?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "question_composite_question" */
export interface question_composite_question_insert_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['String'] | null),question?: (questions_obj_rel_insert_input | null),questionByQuestionParentId?: (questions_obj_rel_insert_input | null),question_child_id?: (Scalars['bigint'] | null),question_parent_id?: (Scalars['bigint'] | null),row?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface question_composite_question_max_fieldsRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    properties?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "question_composite_question" */
export interface question_composite_question_max_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),properties?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null),title?: (order_by | null)}


/** aggregate min on columns */
export interface question_composite_question_min_fieldsRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    properties?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "question_composite_question" */
export interface question_composite_question_min_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),properties?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null),title?: (order_by | null)}


/** response of any mutation on the table "question_composite_question" */
export interface question_composite_question_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: question_composite_questionRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "question_composite_question" */
export interface question_composite_question_on_conflict {constraint: question_composite_question_constraint,update_columns: question_composite_question_update_column[],where?: (question_composite_question_bool_exp | null)}


/** Ordering options when selecting data from "question_composite_question". */
export interface question_composite_question_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),properties?: (order_by | null),question?: (questions_order_by | null),questionByQuestionParentId?: (questions_order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null),title?: (order_by | null)}


/** input type for updating data in table "question_composite_question" */
export interface question_composite_question_set_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['String'] | null),question_child_id?: (Scalars['bigint'] | null),question_parent_id?: (Scalars['bigint'] | null),row?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface question_composite_question_stddev_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "question_composite_question" */
export interface question_composite_question_stddev_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface question_composite_question_stddev_pop_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "question_composite_question" */
export interface question_composite_question_stddev_pop_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface question_composite_question_stddev_samp_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "question_composite_question" */
export interface question_composite_question_stddev_samp_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** Streaming cursor of the table "question_composite_question" */
export interface question_composite_question_stream_cursor_input {
/** Stream column input with initial value */
initial_value: question_composite_question_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface question_composite_question_stream_cursor_value_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['String'] | null),question_child_id?: (Scalars['bigint'] | null),question_parent_id?: (Scalars['bigint'] | null),row?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface question_composite_question_sum_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "question_composite_question" */
export interface question_composite_question_sum_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}

export interface question_composite_question_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_composite_question_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_composite_question_set_input | null),
/** filter the rows which have to be updated */
where: question_composite_question_bool_exp}


/** aggregate var_pop on columns */
export interface question_composite_question_var_pop_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "question_composite_question" */
export interface question_composite_question_var_pop_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** aggregate var_samp on columns */
export interface question_composite_question_var_samp_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "question_composite_question" */
export interface question_composite_question_var_samp_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** aggregate variance on columns */
export interface question_composite_question_variance_fieldsRequest{
    position?: boolean | number
    question_child_id?: boolean | number
    question_parent_id?: boolean | number
    row?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "question_composite_question" */
export interface question_composite_question_variance_order_by {position?: (order_by | null),question_child_id?: (order_by | null),question_parent_id?: (order_by | null),row?: (order_by | null)}


/** columns and relationships of "question_template" */
export interface question_templateRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    question?: questionsRequest
    question_id?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "question_template" */
export interface question_template_aggregateRequest{
    aggregate?: question_template_aggregate_fieldsRequest
    nodes?: question_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface question_template_aggregate_bool_exp {count?: (question_template_aggregate_bool_exp_count | null)}

export interface question_template_aggregate_bool_exp_count {arguments?: (question_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (question_template_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "question_template" */
export interface question_template_aggregate_fieldsRequest{
    avg?: question_template_avg_fieldsRequest
    count?: [{columns?: (question_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: question_template_max_fieldsRequest
    min?: question_template_min_fieldsRequest
    stddev?: question_template_stddev_fieldsRequest
    stddev_pop?: question_template_stddev_pop_fieldsRequest
    stddev_samp?: question_template_stddev_samp_fieldsRequest
    sum?: question_template_sum_fieldsRequest
    var_pop?: question_template_var_pop_fieldsRequest
    var_samp?: question_template_var_samp_fieldsRequest
    variance?: question_template_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "question_template" */
export interface question_template_aggregate_order_by {avg?: (question_template_avg_order_by | null),count?: (order_by | null),max?: (question_template_max_order_by | null),min?: (question_template_min_order_by | null),stddev?: (question_template_stddev_order_by | null),stddev_pop?: (question_template_stddev_pop_order_by | null),stddev_samp?: (question_template_stddev_samp_order_by | null),sum?: (question_template_sum_order_by | null),var_pop?: (question_template_var_pop_order_by | null),var_samp?: (question_template_var_samp_order_by | null),variance?: (question_template_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface question_template_append_input {properties?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "question_template" */
export interface question_template_arr_rel_insert_input {data: question_template_insert_input[],
/** upsert condition */
on_conflict?: (question_template_on_conflict | null)}


/** aggregate avg on columns */
export interface question_template_avg_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "question_template" */
export interface question_template_avg_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "question_template". All fields are combined with a logical 'AND'. */
export interface question_template_bool_exp {_and?: (question_template_bool_exp[] | null),_not?: (question_template_bool_exp | null),_or?: (question_template_bool_exp[] | null),description?: (String_comparison_exp | null),narrative?: (String_comparison_exp | null),position?: (bigint_comparison_exp | null),properties?: (jsonb_comparison_exp | null),question?: (questions_bool_exp | null),question_id?: (bigint_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null),title?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface question_template_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface question_template_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface question_template_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "question_template" */
export interface question_template_inc_input {position?: (Scalars['bigint'] | null),question_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "question_template" */
export interface question_template_insert_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question?: (questions_obj_rel_insert_input | null),question_id?: (Scalars['bigint'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface question_template_max_fieldsRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "question_template" */
export interface question_template_max_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null)}


/** aggregate min on columns */
export interface question_template_min_fieldsRequest{
    description?: boolean | number
    narrative?: boolean | number
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "question_template" */
export interface question_template_min_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null),title?: (order_by | null)}


/** response of any mutation on the table "question_template" */
export interface question_template_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: question_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "question_template" */
export interface question_template_on_conflict {constraint: question_template_constraint,update_columns: question_template_update_column[],where?: (question_template_bool_exp | null)}


/** Ordering options when selecting data from "question_template". */
export interface question_template_order_by {description?: (order_by | null),narrative?: (order_by | null),position?: (order_by | null),properties?: (order_by | null),question?: (questions_order_by | null),question_id?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null),title?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface question_template_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "question_template" */
export interface question_template_set_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface question_template_stddev_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "question_template" */
export interface question_template_stddev_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface question_template_stddev_pop_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "question_template" */
export interface question_template_stddev_pop_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface question_template_stddev_samp_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "question_template" */
export interface question_template_stddev_samp_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "question_template" */
export interface question_template_stream_cursor_input {
/** Stream column input with initial value */
initial_value: question_template_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface question_template_stream_cursor_value_input {description?: (Scalars['String'] | null),narrative?: (Scalars['String'] | null),position?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null),title?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface question_template_sum_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "question_template" */
export interface question_template_sum_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}

export interface question_template_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (question_template_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (question_template_delete_at_path_input | null),
/** 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_elem?: (question_template_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (question_template_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_template_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (question_template_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_template_set_input | null),
/** filter the rows which have to be updated */
where: question_template_bool_exp}


/** aggregate var_pop on columns */
export interface question_template_var_pop_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "question_template" */
export interface question_template_var_pop_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface question_template_var_samp_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "question_template" */
export interface question_template_var_samp_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface question_template_variance_fieldsRequest{
    position?: boolean | number
    question_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "question_template" */
export interface question_template_variance_order_by {position?: (order_by | null),question_id?: (order_by | null),template_id?: (order_by | null)}


/** columns and relationships of "questions" */
export interface questionsRequest{
    /** An array relationship */
    anonymous_template_questions?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_questionRequest] | anonymous_template_questionRequest
    /** An aggregate relationship */
    anonymous_template_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_question_aggregateRequest] | anonymous_template_question_aggregateRequest
    created_at?: boolean | number
    description?: boolean | number
    external_key_id?: boolean | number
    id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** converts proterties::text into jsonb */
    props?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An array relationship */
    question_composite_childs?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_questionRequest] | question_composite_questionRequest
    /** An aggregate relationship */
    question_composite_childs_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_question_aggregateRequest] | question_composite_question_aggregateRequest
    /** An array relationship */
    question_composite_questions?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_questionRequest] | question_composite_questionRequest
    /** An aggregate relationship */
    question_composite_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_question_aggregateRequest] | question_composite_question_aggregateRequest
    /** An array relationship */
    question_templates?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_templateRequest] | question_templateRequest
    /** An aggregate relationship */
    question_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_template_aggregateRequest] | question_template_aggregateRequest
    question_uuid?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "questions" */
export interface questions_aggregateRequest{
    aggregate?: questions_aggregate_fieldsRequest
    nodes?: questionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "questions" */
export interface questions_aggregate_fieldsRequest{
    avg?: questions_avg_fieldsRequest
    count?: [{columns?: (questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: questions_max_fieldsRequest
    min?: questions_min_fieldsRequest
    stddev?: questions_stddev_fieldsRequest
    stddev_pop?: questions_stddev_pop_fieldsRequest
    stddev_samp?: questions_stddev_samp_fieldsRequest
    sum?: questions_sum_fieldsRequest
    var_pop?: questions_var_pop_fieldsRequest
    var_samp?: questions_var_samp_fieldsRequest
    variance?: questions_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface questions_append_input {properties?: (Scalars['jsonb'] | null)}


/** aggregate avg on columns */
export interface questions_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "questions". All fields are combined with a logical 'AND'. */
export interface questions_bool_exp {_and?: (questions_bool_exp[] | null),_not?: (questions_bool_exp | null),_or?: (questions_bool_exp[] | null),anonymous_template_questions?: (anonymous_template_question_bool_exp | null),anonymous_template_questions_aggregate?: (anonymous_template_question_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),description?: (String_comparison_exp | null),external_key_id?: (String_comparison_exp | null),id?: (bigint_comparison_exp | null),properties?: (jsonb_comparison_exp | null),props?: (jsonb_comparison_exp | null),question_composite_childs?: (question_composite_question_bool_exp | null),question_composite_childs_aggregate?: (question_composite_question_aggregate_bool_exp | null),question_composite_questions?: (question_composite_question_bool_exp | null),question_composite_questions_aggregate?: (question_composite_question_aggregate_bool_exp | null),question_templates?: (question_template_bool_exp | null),question_templates_aggregate?: (question_template_aggregate_bool_exp | null),question_uuid?: (uuid_comparison_exp | null),region?: (String_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface questions_delete_at_path_input {properties?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface questions_delete_elem_input {properties?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface questions_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "questions" */
export interface questions_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "questions" */
export interface questions_insert_input {anonymous_template_questions?: (anonymous_template_question_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),external_key_id?: (Scalars['String'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_composite_childs?: (question_composite_question_arr_rel_insert_input | null),question_composite_questions?: (question_composite_question_arr_rel_insert_input | null),question_templates?: (question_template_arr_rel_insert_input | null),question_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface questions_max_fieldsRequest{
    created_at?: boolean | number
    description?: boolean | number
    external_key_id?: boolean | number
    id?: boolean | number
    question_uuid?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface questions_min_fieldsRequest{
    created_at?: boolean | number
    description?: boolean | number
    external_key_id?: boolean | number
    id?: boolean | number
    question_uuid?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "questions" */
export interface questions_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: questionsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "questions" */
export interface questions_obj_rel_insert_input {data: questions_insert_input,
/** upsert condition */
on_conflict?: (questions_on_conflict | null)}


/** on_conflict condition type for table "questions" */
export interface questions_on_conflict {constraint: questions_constraint,update_columns: questions_update_column[],where?: (questions_bool_exp | null)}


/** Ordering options when selecting data from "questions". */
export interface questions_order_by {anonymous_template_questions_aggregate?: (anonymous_template_question_aggregate_order_by | null),created_at?: (order_by | null),description?: (order_by | null),external_key_id?: (order_by | null),id?: (order_by | null),properties?: (order_by | null),props?: (order_by | null),question_composite_childs_aggregate?: (question_composite_question_aggregate_order_by | null),question_composite_questions_aggregate?: (question_composite_question_aggregate_order_by | null),question_templates_aggregate?: (question_template_aggregate_order_by | null),question_uuid?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: questions */
export interface questions_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface questions_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "questions" */
export interface questions_set_input {created_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),external_key_id?: (Scalars['String'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface questions_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface questions_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface questions_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "questions" */
export interface questions_stream_cursor_input {
/** Stream column input with initial value */
initial_value: questions_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface questions_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),description?: (Scalars['String'] | null),external_key_id?: (Scalars['String'] | null),id?: (Scalars['bigint'] | null),properties?: (Scalars['jsonb'] | null),question_uuid?: (Scalars['uuid'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface questions_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface questions_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (questions_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (questions_delete_at_path_input | null),
/** 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_elem?: (questions_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (questions_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (questions_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (questions_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (questions_set_input | null),
/** filter the rows which have to be updated */
where: questions_bool_exp}


/** aggregate var_pop on columns */
export interface questions_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface questions_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface questions_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface search_document_patient_args {customer_ids?: (Scalars['_uuid'] | null),date_end?: (Scalars['date'] | null),date_start?: (Scalars['date'] | null)}


/** columns and relationships of "security_levels" */
export interface security_levelsRequest{
    comment?: boolean | number
    /** An array relationship */
    document_patients?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest] | document_patientRequest
    /** An aggregate relationship */
    document_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patient_aggregateRequest] | document_patient_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "security_levels" */
export interface security_levels_aggregateRequest{
    aggregate?: security_levels_aggregate_fieldsRequest
    nodes?: security_levelsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "security_levels" */
export interface security_levels_aggregate_fieldsRequest{
    count?: [{columns?: (security_levels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: security_levels_max_fieldsRequest
    min?: security_levels_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "security_levels". All fields are combined with a logical 'AND'. */
export interface security_levels_bool_exp {_and?: (security_levels_bool_exp[] | null),_not?: (security_levels_bool_exp | null),_or?: (security_levels_bool_exp[] | null),comment?: (String_comparison_exp | null),document_patients?: (document_patient_bool_exp | null),document_patients_aggregate?: (document_patient_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** input type for inserting data into table "security_levels" */
export interface security_levels_insert_input {comment?: (Scalars['String'] | null),document_patients?: (document_patient_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface security_levels_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface security_levels_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "security_levels" */
export interface security_levels_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: security_levelsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "security_levels" */
export interface security_levels_obj_rel_insert_input {data: security_levels_insert_input,
/** upsert condition */
on_conflict?: (security_levels_on_conflict | null)}


/** on_conflict condition type for table "security_levels" */
export interface security_levels_on_conflict {constraint: security_levels_constraint,update_columns: security_levels_update_column[],where?: (security_levels_bool_exp | null)}


/** Ordering options when selecting data from "security_levels". */
export interface security_levels_order_by {comment?: (order_by | null),document_patients_aggregate?: (document_patient_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: security_levels */
export interface security_levels_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "security_levels" */
export interface security_levels_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "security_levels" */
export interface security_levels_stream_cursor_input {
/** Stream column input with initial value */
initial_value: security_levels_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface security_levels_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface security_levels_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (security_levels_set_input | null),
/** filter the rows which have to be updated */
where: security_levels_bool_exp}


/** columns and relationships of "settings" */
export interface settingsRequest{
    id?: boolean | number
    key?: boolean | number
    value?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "settings" */
export interface settings_aggregateRequest{
    aggregate?: settings_aggregate_fieldsRequest
    nodes?: settingsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "settings" */
export interface settings_aggregate_fieldsRequest{
    avg?: settings_avg_fieldsRequest
    count?: [{columns?: (settings_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: settings_max_fieldsRequest
    min?: settings_min_fieldsRequest
    stddev?: settings_stddev_fieldsRequest
    stddev_pop?: settings_stddev_pop_fieldsRequest
    stddev_samp?: settings_stddev_samp_fieldsRequest
    sum?: settings_sum_fieldsRequest
    var_pop?: settings_var_pop_fieldsRequest
    var_samp?: settings_var_samp_fieldsRequest
    variance?: settings_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface settings_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "settings". All fields are combined with a logical 'AND'. */
export interface settings_bool_exp {_and?: (settings_bool_exp[] | null),_not?: (settings_bool_exp | null),_or?: (settings_bool_exp[] | null),id?: (bigint_comparison_exp | null),key?: (String_comparison_exp | null),value?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "settings" */
export interface settings_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "settings" */
export interface settings_insert_input {id?: (Scalars['bigint'] | null),key?: (Scalars['String'] | null),value?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface settings_max_fieldsRequest{
    id?: boolean | number
    key?: boolean | number
    value?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface settings_min_fieldsRequest{
    id?: boolean | number
    key?: boolean | number
    value?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "settings" */
export interface settings_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: settingsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "settings" */
export interface settings_on_conflict {constraint: settings_constraint,update_columns: settings_update_column[],where?: (settings_bool_exp | null)}


/** Ordering options when selecting data from "settings". */
export interface settings_order_by {id?: (order_by | null),key?: (order_by | null),value?: (order_by | null)}


/** primary key columns input for table: settings */
export interface settings_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "settings" */
export interface settings_set_input {id?: (Scalars['bigint'] | null),key?: (Scalars['String'] | null),value?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface settings_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface settings_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface settings_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "settings" */
export interface settings_stream_cursor_input {
/** Stream column input with initial value */
initial_value: settings_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface settings_stream_cursor_value_input {id?: (Scalars['bigint'] | null),key?: (Scalars['String'] | null),value?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface settings_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface settings_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (settings_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (settings_set_input | null),
/** filter the rows which have to be updated */
where: settings_bool_exp}


/** aggregate var_pop on columns */
export interface settings_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface settings_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface settings_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "shortcuts" */
export interface shortcutsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    link?: boolean | number
    /** An array relationship */
    projects?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projectsRequest] | projectsRequest
    /** An aggregate relationship */
    projects_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projects_aggregateRequest] | projects_aggregateRequest
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "shortcuts" */
export interface shortcuts_aggregateRequest{
    aggregate?: shortcuts_aggregate_fieldsRequest
    nodes?: shortcutsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "shortcuts" */
export interface shortcuts_aggregate_fieldsRequest{
    count?: [{columns?: (shortcuts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: shortcuts_max_fieldsRequest
    min?: shortcuts_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "shortcuts". All fields are combined with a logical 'AND'. */
export interface shortcuts_bool_exp {_and?: (shortcuts_bool_exp[] | null),_not?: (shortcuts_bool_exp | null),_or?: (shortcuts_bool_exp[] | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),description?: (String_comparison_exp | null),id?: (String_comparison_exp | null),link?: (String_comparison_exp | null),projects?: (projects_bool_exp | null),projects_aggregate?: (projects_aggregate_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for inserting data into table "shortcuts" */
export interface shortcuts_insert_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['String'] | null),link?: (Scalars['String'] | null),projects?: (projects_arr_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface shortcuts_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    link?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface shortcuts_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    link?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "shortcuts" */
export interface shortcuts_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: shortcutsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "shortcuts" */
export interface shortcuts_obj_rel_insert_input {data: shortcuts_insert_input,
/** upsert condition */
on_conflict?: (shortcuts_on_conflict | null)}


/** on_conflict condition type for table "shortcuts" */
export interface shortcuts_on_conflict {constraint: shortcuts_constraint,update_columns: shortcuts_update_column[],where?: (shortcuts_bool_exp | null)}


/** Ordering options when selecting data from "shortcuts". */
export interface shortcuts_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),link?: (order_by | null),projects_aggregate?: (projects_aggregate_order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: shortcuts */
export interface shortcuts_pk_columns_input {id: Scalars['String']}


/** input type for updating data in table "shortcuts" */
export interface shortcuts_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['String'] | null),link?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "shortcuts" */
export interface shortcuts_stream_cursor_input {
/** Stream column input with initial value */
initial_value: shortcuts_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface shortcuts_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['String'] | null),link?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface shortcuts_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (shortcuts_set_input | null),
/** filter the rows which have to be updated */
where: shortcuts_bool_exp}


/** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */
export interface smallint_comparison_exp {_eq?: (Scalars['smallint'] | null),_gt?: (Scalars['smallint'] | null),_gte?: (Scalars['smallint'] | null),_in?: (Scalars['smallint'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['smallint'] | null),_lte?: (Scalars['smallint'] | null),_neq?: (Scalars['smallint'] | null),_nin?: (Scalars['smallint'][] | null)}


/** columns and relationships of "sms" */
export interface smsRequest{
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An array relationship */
    document_sms?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_smsRequest] | document_smsRequest
    /** An aggregate relationship */
    document_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_sms_aggregateRequest] | document_sms_aggregateRequest
    id?: boolean | number
    message_id?: boolean | number
    /** An object relationship */
    query?: queriesRequest
    query_id?: boolean | number
    region?: boolean | number
    /** An object relationship */
    sms_template?: sms_templatesRequest
    sms_template_id?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "sms" */
export interface sms_aggregateRequest{
    aggregate?: sms_aggregate_fieldsRequest
    nodes?: smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface sms_aggregate_bool_exp {count?: (sms_aggregate_bool_exp_count | null)}

export interface sms_aggregate_bool_exp_count {arguments?: (sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (sms_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "sms" */
export interface sms_aggregate_fieldsRequest{
    avg?: sms_avg_fieldsRequest
    count?: [{columns?: (sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: sms_max_fieldsRequest
    min?: sms_min_fieldsRequest
    stddev?: sms_stddev_fieldsRequest
    stddev_pop?: sms_stddev_pop_fieldsRequest
    stddev_samp?: sms_stddev_samp_fieldsRequest
    sum?: sms_sum_fieldsRequest
    var_pop?: sms_var_pop_fieldsRequest
    var_samp?: sms_var_samp_fieldsRequest
    variance?: sms_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "sms" */
export interface sms_aggregate_order_by {avg?: (sms_avg_order_by | null),count?: (order_by | null),max?: (sms_max_order_by | null),min?: (sms_min_order_by | null),stddev?: (sms_stddev_order_by | null),stddev_pop?: (sms_stddev_pop_order_by | null),stddev_samp?: (sms_stddev_samp_order_by | null),sum?: (sms_sum_order_by | null),var_pop?: (sms_var_pop_order_by | null),var_samp?: (sms_var_samp_order_by | null),variance?: (sms_variance_order_by | null)}


/** input type for inserting array relation for remote table "sms" */
export interface sms_arr_rel_insert_input {data: sms_insert_input[],
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}


/** aggregate avg on columns */
export interface sms_avg_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "sms" */
export interface sms_avg_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "sms". All fields are combined with a logical 'AND'. */
export interface sms_bool_exp {_and?: (sms_bool_exp[] | null),_not?: (sms_bool_exp | null),_or?: (sms_bool_exp[] | null),content?: (String_comparison_exp | null),create_user?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),document_sms?: (document_sms_bool_exp | null),document_sms_aggregate?: (document_sms_aggregate_bool_exp | null),id?: (bigint_comparison_exp | null),message_id?: (String_comparison_exp | null),query?: (queries_bool_exp | null),query_id?: (bigint_comparison_exp | null),region?: (String_comparison_exp | null),sms_template?: (sms_templates_bool_exp | null),sms_template_id?: (bigint_comparison_exp | null),soknad_id?: (String_comparison_exp | null),tlfmobil?: (String_comparison_exp | null),uid?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "sms" */
export interface sms_inc_input {id?: (Scalars['bigint'] | null),query_id?: (Scalars['bigint'] | null),sms_template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "sms" */
export interface sms_insert_input {content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_sms?: (document_sms_arr_rel_insert_input | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),query?: (queries_obj_rel_insert_input | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),sms_template?: (sms_templates_obj_rel_insert_input | null),sms_template_id?: (Scalars['bigint'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface sms_max_fieldsRequest{
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    query_id?: boolean | number
    region?: boolean | number
    sms_template_id?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "sms" */
export interface sms_max_order_by {content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),query_id?: (order_by | null),region?: (order_by | null),sms_template_id?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface sms_min_fieldsRequest{
    content?: boolean | number
    create_user?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    query_id?: boolean | number
    region?: boolean | number
    sms_template_id?: boolean | number
    soknad_id?: boolean | number
    tlfmobil?: boolean | number
    uid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "sms" */
export interface sms_min_order_by {content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),query_id?: (order_by | null),region?: (order_by | null),sms_template_id?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "sms" */
export interface sms_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: smsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "sms" */
export interface sms_obj_rel_insert_input {data: sms_insert_input,
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}


/** on_conflict condition type for table "sms" */
export interface sms_on_conflict {constraint: sms_constraint,update_columns: sms_update_column[],where?: (sms_bool_exp | null)}


/** Ordering options when selecting data from "sms". */
export interface sms_order_by {content?: (order_by | null),create_user?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),document_sms_aggregate?: (document_sms_aggregate_order_by | null),id?: (order_by | null),message_id?: (order_by | null),query?: (queries_order_by | null),query_id?: (order_by | null),region?: (order_by | null),sms_template?: (sms_templates_order_by | null),sms_template_id?: (order_by | null),soknad_id?: (order_by | null),tlfmobil?: (order_by | null),uid?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: sms */
export interface sms_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "sms" */
export interface sms_set_input {content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),sms_template_id?: (Scalars['bigint'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface sms_stddev_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "sms" */
export interface sms_stddev_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface sms_stddev_pop_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "sms" */
export interface sms_stddev_pop_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface sms_stddev_samp_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "sms" */
export interface sms_stddev_samp_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** Streaming cursor of the table "sms" */
export interface sms_stream_cursor_input {
/** Stream column input with initial value */
initial_value: sms_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface sms_stream_cursor_value_input {content?: (Scalars['String'] | null),create_user?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['bigint'] | null),message_id?: (Scalars['String'] | null),query_id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),sms_template_id?: (Scalars['bigint'] | null),soknad_id?: (Scalars['String'] | null),tlfmobil?: (Scalars['String'] | null),uid?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface sms_sum_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "sms" */
export interface sms_sum_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** columns and relationships of "sms_template_template" */
export interface sms_template_templateRequest{
    /** An object relationship */
    sms_template?: sms_templatesRequest
    sms_template_id?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "sms_template_template" */
export interface sms_template_template_aggregateRequest{
    aggregate?: sms_template_template_aggregate_fieldsRequest
    nodes?: sms_template_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface sms_template_template_aggregate_bool_exp {count?: (sms_template_template_aggregate_bool_exp_count | null)}

export interface sms_template_template_aggregate_bool_exp_count {arguments?: (sms_template_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (sms_template_template_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "sms_template_template" */
export interface sms_template_template_aggregate_fieldsRequest{
    avg?: sms_template_template_avg_fieldsRequest
    count?: [{columns?: (sms_template_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: sms_template_template_max_fieldsRequest
    min?: sms_template_template_min_fieldsRequest
    stddev?: sms_template_template_stddev_fieldsRequest
    stddev_pop?: sms_template_template_stddev_pop_fieldsRequest
    stddev_samp?: sms_template_template_stddev_samp_fieldsRequest
    sum?: sms_template_template_sum_fieldsRequest
    var_pop?: sms_template_template_var_pop_fieldsRequest
    var_samp?: sms_template_template_var_samp_fieldsRequest
    variance?: sms_template_template_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "sms_template_template" */
export interface sms_template_template_aggregate_order_by {avg?: (sms_template_template_avg_order_by | null),count?: (order_by | null),max?: (sms_template_template_max_order_by | null),min?: (sms_template_template_min_order_by | null),stddev?: (sms_template_template_stddev_order_by | null),stddev_pop?: (sms_template_template_stddev_pop_order_by | null),stddev_samp?: (sms_template_template_stddev_samp_order_by | null),sum?: (sms_template_template_sum_order_by | null),var_pop?: (sms_template_template_var_pop_order_by | null),var_samp?: (sms_template_template_var_samp_order_by | null),variance?: (sms_template_template_variance_order_by | null)}


/** input type for inserting array relation for remote table "sms_template_template" */
export interface sms_template_template_arr_rel_insert_input {data: sms_template_template_insert_input[],
/** upsert condition */
on_conflict?: (sms_template_template_on_conflict | null)}


/** aggregate avg on columns */
export interface sms_template_template_avg_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "sms_template_template" */
export interface sms_template_template_avg_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "sms_template_template". All fields are combined with a logical 'AND'. */
export interface sms_template_template_bool_exp {_and?: (sms_template_template_bool_exp[] | null),_not?: (sms_template_template_bool_exp | null),_or?: (sms_template_template_bool_exp[] | null),sms_template?: (sms_templates_bool_exp | null),sms_template_id?: (bigint_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null)}


/** input type for incrementing numeric columns in table "sms_template_template" */
export interface sms_template_template_inc_input {sms_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "sms_template_template" */
export interface sms_template_template_insert_input {sms_template?: (sms_templates_obj_rel_insert_input | null),sms_template_id?: (Scalars['bigint'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate max on columns */
export interface sms_template_template_max_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "sms_template_template" */
export interface sms_template_template_max_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate min on columns */
export interface sms_template_template_min_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "sms_template_template" */
export interface sms_template_template_min_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** response of any mutation on the table "sms_template_template" */
export interface sms_template_template_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: sms_template_templateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "sms_template_template" */
export interface sms_template_template_on_conflict {constraint: sms_template_template_constraint,update_columns: sms_template_template_update_column[],where?: (sms_template_template_bool_exp | null)}


/** Ordering options when selecting data from "sms_template_template". */
export interface sms_template_template_order_by {sms_template?: (sms_templates_order_by | null),sms_template_id?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null)}


/** primary key columns input for table: sms_template_template */
export interface sms_template_template_pk_columns_input {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}


/** input type for updating data in table "sms_template_template" */
export interface sms_template_template_set_input {sms_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate stddev on columns */
export interface sms_template_template_stddev_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "sms_template_template" */
export interface sms_template_template_stddev_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface sms_template_template_stddev_pop_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "sms_template_template" */
export interface sms_template_template_stddev_pop_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface sms_template_template_stddev_samp_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "sms_template_template" */
export interface sms_template_template_stddev_samp_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** Streaming cursor of the table "sms_template_template" */
export interface sms_template_template_stream_cursor_input {
/** Stream column input with initial value */
initial_value: sms_template_template_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface sms_template_template_stream_cursor_value_input {sms_template_id?: (Scalars['bigint'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface sms_template_template_sum_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "sms_template_template" */
export interface sms_template_template_sum_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}

export interface sms_template_template_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_template_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_template_template_set_input | null),
/** filter the rows which have to be updated */
where: sms_template_template_bool_exp}


/** aggregate var_pop on columns */
export interface sms_template_template_var_pop_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "sms_template_template" */
export interface sms_template_template_var_pop_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface sms_template_template_var_samp_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "sms_template_template" */
export interface sms_template_template_var_samp_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface sms_template_template_variance_fieldsRequest{
    sms_template_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "sms_template_template" */
export interface sms_template_template_variance_order_by {sms_template_id?: (order_by | null),template_id?: (order_by | null)}


/** columns and relationships of "sms_templates" */
export interface sms_templatesRequest{
    active?: boolean | number
    category?: boolean | number
    /** An object relationship */
    categoryByCategory?: categoriesRequest
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    /** An array relationship */
    sms?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},smsRequest] | smsRequest
    /** An aggregate relationship */
    sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},sms_aggregateRequest] | sms_aggregateRequest
    /** An array relationship */
    sms_template_templates?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_templateRequest] | sms_template_templateRequest
    /** An aggregate relationship */
    sms_template_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_template_aggregateRequest] | sms_template_template_aggregateRequest
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "sms_templates" */
export interface sms_templates_aggregateRequest{
    aggregate?: sms_templates_aggregate_fieldsRequest
    nodes?: sms_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface sms_templates_aggregate_bool_exp {bool_and?: (sms_templates_aggregate_bool_exp_bool_and | null),bool_or?: (sms_templates_aggregate_bool_exp_bool_or | null),count?: (sms_templates_aggregate_bool_exp_count | null)}

export interface sms_templates_aggregate_bool_exp_bool_and {arguments: sms_templates_select_column_sms_templates_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (sms_templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface sms_templates_aggregate_bool_exp_bool_or {arguments: sms_templates_select_column_sms_templates_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (sms_templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface sms_templates_aggregate_bool_exp_count {arguments?: (sms_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (sms_templates_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "sms_templates" */
export interface sms_templates_aggregate_fieldsRequest{
    avg?: sms_templates_avg_fieldsRequest
    count?: [{columns?: (sms_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: sms_templates_max_fieldsRequest
    min?: sms_templates_min_fieldsRequest
    stddev?: sms_templates_stddev_fieldsRequest
    stddev_pop?: sms_templates_stddev_pop_fieldsRequest
    stddev_samp?: sms_templates_stddev_samp_fieldsRequest
    sum?: sms_templates_sum_fieldsRequest
    var_pop?: sms_templates_var_pop_fieldsRequest
    var_samp?: sms_templates_var_samp_fieldsRequest
    variance?: sms_templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "sms_templates" */
export interface sms_templates_aggregate_order_by {avg?: (sms_templates_avg_order_by | null),count?: (order_by | null),max?: (sms_templates_max_order_by | null),min?: (sms_templates_min_order_by | null),stddev?: (sms_templates_stddev_order_by | null),stddev_pop?: (sms_templates_stddev_pop_order_by | null),stddev_samp?: (sms_templates_stddev_samp_order_by | null),sum?: (sms_templates_sum_order_by | null),var_pop?: (sms_templates_var_pop_order_by | null),var_samp?: (sms_templates_var_samp_order_by | null),variance?: (sms_templates_variance_order_by | null)}


/** input type for inserting array relation for remote table "sms_templates" */
export interface sms_templates_arr_rel_insert_input {data: sms_templates_insert_input[],
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}


/** aggregate avg on columns */
export interface sms_templates_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "sms_templates" */
export interface sms_templates_avg_order_by {id?: (order_by | null)}


/** Boolean expression to filter rows from the table "sms_templates". All fields are combined with a logical 'AND'. */
export interface sms_templates_bool_exp {_and?: (sms_templates_bool_exp[] | null),_not?: (sms_templates_bool_exp | null),_or?: (sms_templates_bool_exp[] | null),active?: (Boolean_comparison_exp | null),category?: (categories_enum_comparison_exp | null),categoryByCategory?: (categories_bool_exp | null),content?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),id?: (bigint_comparison_exp | null),region?: (String_comparison_exp | null),sms?: (sms_bool_exp | null),sms_aggregate?: (sms_aggregate_bool_exp | null),sms_template_templates?: (sms_template_template_bool_exp | null),sms_template_templates_aggregate?: (sms_template_template_aggregate_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for incrementing numeric columns in table "sms_templates" */
export interface sms_templates_inc_input {id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "sms_templates" */
export interface sms_templates_insert_input {active?: (Scalars['Boolean'] | null),category?: (categories_enum | null),categoryByCategory?: (categories_obj_rel_insert_input | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),sms?: (sms_arr_rel_insert_input | null),sms_template_templates?: (sms_template_template_arr_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface sms_templates_max_fieldsRequest{
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "sms_templates" */
export interface sms_templates_max_order_by {content?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface sms_templates_min_fieldsRequest{
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    region?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "sms_templates" */
export interface sms_templates_min_order_by {content?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),region?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "sms_templates" */
export interface sms_templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: sms_templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "sms_templates" */
export interface sms_templates_obj_rel_insert_input {data: sms_templates_insert_input,
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}


/** on_conflict condition type for table "sms_templates" */
export interface sms_templates_on_conflict {constraint: sms_templates_constraint,update_columns: sms_templates_update_column[],where?: (sms_templates_bool_exp | null)}


/** Ordering options when selecting data from "sms_templates". */
export interface sms_templates_order_by {active?: (order_by | null),category?: (order_by | null),categoryByCategory?: (categories_order_by | null),content?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),region?: (order_by | null),sms_aggregate?: (sms_aggregate_order_by | null),sms_template_templates_aggregate?: (sms_template_template_aggregate_order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: sms_templates */
export interface sms_templates_pk_columns_input {id: Scalars['bigint']}


/** input type for updating data in table "sms_templates" */
export interface sms_templates_set_input {active?: (Scalars['Boolean'] | null),category?: (categories_enum | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate stddev on columns */
export interface sms_templates_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "sms_templates" */
export interface sms_templates_stddev_order_by {id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface sms_templates_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "sms_templates" */
export interface sms_templates_stddev_pop_order_by {id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface sms_templates_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "sms_templates" */
export interface sms_templates_stddev_samp_order_by {id?: (order_by | null)}


/** Streaming cursor of the table "sms_templates" */
export interface sms_templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: sms_templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface sms_templates_stream_cursor_value_input {active?: (Scalars['Boolean'] | null),category?: (categories_enum | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),id?: (Scalars['bigint'] | null),region?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate sum on columns */
export interface sms_templates_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "sms_templates" */
export interface sms_templates_sum_order_by {id?: (order_by | null)}

export interface sms_templates_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_templates_set_input | null),
/** filter the rows which have to be updated */
where: sms_templates_bool_exp}


/** aggregate var_pop on columns */
export interface sms_templates_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "sms_templates" */
export interface sms_templates_var_pop_order_by {id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface sms_templates_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "sms_templates" */
export interface sms_templates_var_samp_order_by {id?: (order_by | null)}


/** aggregate variance on columns */
export interface sms_templates_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "sms_templates" */
export interface sms_templates_variance_order_by {id?: (order_by | null)}

export interface sms_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_set_input | null),
/** filter the rows which have to be updated */
where: sms_bool_exp}


/** aggregate var_pop on columns */
export interface sms_var_pop_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "sms" */
export interface sms_var_pop_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface sms_var_samp_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "sms" */
export interface sms_var_samp_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface sms_variance_fieldsRequest{
    id?: boolean | number
    query_id?: boolean | number
    sms_template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "sms" */
export interface sms_variance_order_by {id?: (order_by | null),query_id?: (order_by | null),sms_template_id?: (order_by | null)}


/** columns and relationships of "status" */
export interface statusRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "status" */
export interface status_aggregateRequest{
    aggregate?: status_aggregate_fieldsRequest
    nodes?: statusRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "status" */
export interface status_aggregate_fieldsRequest{
    count?: [{columns?: (status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: status_max_fieldsRequest
    min?: status_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */
export interface status_bool_exp {_and?: (status_bool_exp[] | null),_not?: (status_bool_exp | null),_or?: (status_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),queries?: (queries_bool_exp | null),queries_aggregate?: (queries_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "status_enum". All fields are combined with logical 'AND'. */
export interface status_enum_comparison_exp {_eq?: (status_enum | null),_in?: (status_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (status_enum | null),_nin?: (status_enum[] | null)}


/** input type for inserting data into table "status" */
export interface status_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),queries?: (queries_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface status_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface status_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "status" */
export interface status_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: statusRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "status" */
export interface status_obj_rel_insert_input {data: status_insert_input,
/** upsert condition */
on_conflict?: (status_on_conflict | null)}


/** on_conflict condition type for table "status" */
export interface status_on_conflict {constraint: status_constraint,update_columns: status_update_column[],where?: (status_bool_exp | null)}


/** Ordering options when selecting data from "status". */
export interface status_order_by {comment?: (order_by | null),name?: (order_by | null),queries_aggregate?: (queries_aggregate_order_by | null)}


/** primary key columns input for table: status */
export interface status_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "status" */
export interface status_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "status" */
export interface status_stream_cursor_input {
/** Stream column input with initial value */
initial_value: status_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface status_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface status_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (status_set_input | null),
/** filter the rows which have to be updated */
where: status_bool_exp}

export interface subscription_rootRequest{
    /** fetch data from the table: "DocKladd_properties" */
    DocKladd_properties?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_properties_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_properties_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_properties_bool_exp | null)},DocKladd_propertiesRequest] | DocKladd_propertiesRequest
    /** fetch aggregated fields from the table: "DocKladd_properties" */
    DocKladd_properties_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_properties_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_properties_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_properties_bool_exp | null)},DocKladd_properties_aggregateRequest] | DocKladd_properties_aggregateRequest
    /** fetch data from the table: "DocKladd_properties" using primary key columns */
    DocKladd_properties_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['Int']},DocKladd_propertiesRequest]
    /** fetch data from the table in a streaming manner: "DocKladd_properties" */
    DocKladd_properties_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (DocKladd_properties_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (DocKladd_properties_bool_exp | null)},DocKladd_propertiesRequest]
    /** An array relationship */
    DocKladd_questions?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questionsRequest] | DocKladd_questionsRequest
    /** An aggregate relationship */
    DocKladd_questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (DocKladd_questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (DocKladd_questions_order_by[] | null),
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questions_aggregateRequest] | DocKladd_questions_aggregateRequest
    /** fetch data from the table: "DocKladd_questions" using primary key columns */
    DocKladd_questions_by_pk?: [{customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']},DocKladd_questionsRequest]
    /** fetch data from the table in a streaming manner: "DocKladd_questions" */
    DocKladd_questions_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (DocKladd_questions_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (DocKladd_questions_bool_exp | null)},DocKladd_questionsRequest]
    /** fetch data from the table: "accessible" */
    accessible?: [{
    /** distinct select on columns */
    distinct_on?: (accessible_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (accessible_order_by[] | null),
    /** filter the rows returned */
    where?: (accessible_bool_exp | null)},accessibleRequest] | accessibleRequest
    /** fetch aggregated fields from the table: "accessible" */
    accessible_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (accessible_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (accessible_order_by[] | null),
    /** filter the rows returned */
    where?: (accessible_bool_exp | null)},accessible_aggregateRequest] | accessible_aggregateRequest
    /** fetch data from the table: "accessible" using primary key columns */
    accessible_by_pk?: [{name: Scalars['String']},accessibleRequest]
    /** fetch data from the table in a streaming manner: "accessible" */
    accessible_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (accessible_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (accessible_bool_exp | null)},accessibleRequest]
    /** An array relationship */
    adopus_AdgangLinjer?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjerRequest] | adopus_AdgangLinjerRequest
    /** An aggregate relationship */
    adopus_AdgangLinjer_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (adopus_AdgangLinjer_order_by[] | null),
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjer_aggregateRequest] | adopus_AdgangLinjer_aggregateRequest
    /** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
    adopus_AdgangLinjer_by_pk?: [{BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']},adopus_AdgangLinjerRequest]
    /** fetch data from the table in a streaming manner: "adopus_AdgangLinjer" */
    adopus_AdgangLinjer_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (adopus_AdgangLinjer_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (adopus_AdgangLinjer_bool_exp | null)},adopus_AdgangLinjerRequest]
    /** An array relationship */
    anonymous_answers?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answersRequest] | anonymous_answersRequest
    /** An aggregate relationship */
    anonymous_answers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_answers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_answers_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answers_aggregateRequest] | anonymous_answers_aggregateRequest
    /** fetch data from the table: "anonymous_answers" using primary key columns */
    anonymous_answers_by_pk?: [{id: Scalars['bigint']},anonymous_answersRequest]
    /** fetch data from the table in a streaming manner: "anonymous_answers" */
    anonymous_answers_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_answers_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_answers_bool_exp | null)},anonymous_answersRequest]
    /** fetch data from the table: "anonymous_invitations" */
    anonymous_invitations?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitationsRequest] | anonymous_invitationsRequest
    /** fetch aggregated fields from the table: "anonymous_invitations" */
    anonymous_invitations_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_invitations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_invitations_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitations_aggregateRequest] | anonymous_invitations_aggregateRequest
    /** fetch data from the table: "anonymous_invitations" using primary key columns */
    anonymous_invitations_by_pk?: [{id: Scalars['bigint']},anonymous_invitationsRequest]
    /** fetch data from the table in a streaming manner: "anonymous_invitations" */
    anonymous_invitations_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_invitations_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_invitations_bool_exp | null)},anonymous_invitationsRequest]
    /** An array relationship */
    anonymous_queries?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queriesRequest] | anonymous_queriesRequest
    /** An aggregate relationship */
    anonymous_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queries_aggregateRequest] | anonymous_queries_aggregateRequest
    /** fetch data from the table: "anonymous_queries" using primary key columns */
    anonymous_queries_by_pk?: [{id: Scalars['bigint']},anonymous_queriesRequest]
    /** fetch data from the table in a streaming manner: "anonymous_queries" */
    anonymous_queries_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_queries_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_queries_bool_exp | null)},anonymous_queriesRequest]
    /** An array relationship */
    anonymous_sms?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_smsRequest] | anonymous_smsRequest
    /** An aggregate relationship */
    anonymous_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_sms_aggregateRequest] | anonymous_sms_aggregateRequest
    /** fetch data from the table: "anonymous_sms" using primary key columns */
    anonymous_sms_by_pk?: [{id: Scalars['bigint']},anonymous_smsRequest]
    /** fetch data from the table in a streaming manner: "anonymous_sms" */
    anonymous_sms_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_sms_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_sms_bool_exp | null)},anonymous_smsRequest]
    /** fetch data from the table: "anonymous_template_question" */
    anonymous_template_question?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_questionRequest] | anonymous_template_questionRequest
    /** fetch aggregated fields from the table: "anonymous_template_question" */
    anonymous_template_question_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_template_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_template_question_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_question_aggregateRequest] | anonymous_template_question_aggregateRequest
    /** fetch data from the table in a streaming manner: "anonymous_template_question" */
    anonymous_template_question_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_template_question_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_template_question_bool_exp | null)},anonymous_template_questionRequest]
    /** fetch data from the table: "anonymous_templates" */
    anonymous_templates?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_templates_bool_exp | null)},anonymous_templatesRequest] | anonymous_templatesRequest
    /** fetch aggregated fields from the table: "anonymous_templates" */
    anonymous_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (anonymous_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (anonymous_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (anonymous_templates_bool_exp | null)},anonymous_templates_aggregateRequest] | anonymous_templates_aggregateRequest
    /** fetch data from the table: "anonymous_templates" using primary key columns */
    anonymous_templates_by_pk?: [{id: Scalars['bigint']},anonymous_templatesRequest]
    /** fetch data from the table in a streaming manner: "anonymous_templates" */
    anonymous_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (anonymous_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (anonymous_templates_bool_exp | null)},anonymous_templatesRequest]
    /** fetch data from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcelRequest] | artifact_package_artifact_parcelRequest
    /** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcel_aggregateRequest] | artifact_package_artifact_parcel_aggregateRequest
    /** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
    artifact_package_artifact_parcel_by_pk?: [{artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']},artifact_package_artifact_parcelRequest]
    /** fetch data from the table in a streaming manner: "artifact_package_artifact_parcel" */
    artifact_package_artifact_parcel_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (artifact_package_artifact_parcel_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (artifact_package_artifact_parcel_bool_exp | null)},artifact_package_artifact_parcelRequest]
    /** fetch data from the table: "artifact_package_cron" */
    artifact_package_cron?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_cron_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_cron_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_cron_bool_exp | null)},artifact_package_cronRequest] | artifact_package_cronRequest
    /** fetch aggregated fields from the table: "artifact_package_cron" */
    artifact_package_cron_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_cron_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_cron_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_cron_bool_exp | null)},artifact_package_cron_aggregateRequest] | artifact_package_cron_aggregateRequest
    /** fetch data from the table: "artifact_package_cron" using primary key columns */
    artifact_package_cron_by_pk?: [{artifact_packages_id: Scalars['uuid']},artifact_package_cronRequest]
    /** fetch data from the table in a streaming manner: "artifact_package_cron" */
    artifact_package_cron_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (artifact_package_cron_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (artifact_package_cron_bool_exp | null)},artifact_package_cronRequest]
    /** fetch data from the table: "artifact_package_groups" */
    artifact_package_groups?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_groups_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_groups_bool_exp | null)},artifact_package_groupsRequest] | artifact_package_groupsRequest
    /** fetch aggregated fields from the table: "artifact_package_groups" */
    artifact_package_groups_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_package_groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_package_groups_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_package_groups_bool_exp | null)},artifact_package_groups_aggregateRequest] | artifact_package_groups_aggregateRequest
    /** fetch data from the table: "artifact_package_groups" using primary key columns */
    artifact_package_groups_by_pk?: [{id: Scalars['uuid']},artifact_package_groupsRequest]
    /** fetch data from the table in a streaming manner: "artifact_package_groups" */
    artifact_package_groups_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (artifact_package_groups_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (artifact_package_groups_bool_exp | null)},artifact_package_groupsRequest]
    /** An array relationship */
    artifact_packages?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packagesRequest] | artifact_packagesRequest
    /** An aggregate relationship */
    artifact_packages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_packages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_packages_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packages_aggregateRequest] | artifact_packages_aggregateRequest
    /** fetch data from the table: "artifact_packages" using primary key columns */
    artifact_packages_by_pk?: [{id: Scalars['uuid']},artifact_packagesRequest]
    /** fetch data from the table in a streaming manner: "artifact_packages" */
    artifact_packages_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (artifact_packages_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (artifact_packages_bool_exp | null)},artifact_packagesRequest]
    /** fetch data from the table: "artifact_parcels" */
    artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_parcels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_parcels_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_parcels_bool_exp | null)},artifact_parcelsRequest] | artifact_parcelsRequest
    /** fetch aggregated fields from the table: "artifact_parcels" */
    artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (artifact_parcels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (artifact_parcels_order_by[] | null),
    /** filter the rows returned */
    where?: (artifact_parcels_bool_exp | null)},artifact_parcels_aggregateRequest] | artifact_parcels_aggregateRequest
    /** fetch data from the table: "artifact_parcels" using primary key columns */
    artifact_parcels_by_pk?: [{id: Scalars['uuid']},artifact_parcelsRequest]
    /** fetch data from the table in a streaming manner: "artifact_parcels" */
    artifact_parcels_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (artifact_parcels_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (artifact_parcels_bool_exp | null)},artifact_parcelsRequest]
    /** fetch data from the table: "categories" */
    categories?: [{
    /** distinct select on columns */
    distinct_on?: (categories_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (categories_order_by[] | null),
    /** filter the rows returned */
    where?: (categories_bool_exp | null)},categoriesRequest] | categoriesRequest
    /** fetch aggregated fields from the table: "categories" */
    categories_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (categories_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (categories_order_by[] | null),
    /** filter the rows returned */
    where?: (categories_bool_exp | null)},categories_aggregateRequest] | categories_aggregateRequest
    /** fetch data from the table: "categories" using primary key columns */
    categories_by_pk?: [{name: Scalars['String']},categoriesRequest]
    /** fetch data from the table in a streaming manner: "categories" */
    categories_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (categories_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (categories_bool_exp | null)},categoriesRequest]
    /** An array relationship */
    consent_approval_rejection_reasons?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasonsRequest] | consent_approval_rejection_reasonsRequest
    /** An aggregate relationship */
    consent_approval_rejection_reasons_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_approval_rejection_reasons_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasons_aggregateRequest] | consent_approval_rejection_reasons_aggregateRequest
    /** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
    consent_approval_rejection_reasons_by_pk?: [{id: Scalars['Int']},consent_approval_rejection_reasonsRequest]
    /** fetch data from the table in a streaming manner: "consent_approval_rejection_reasons" */
    consent_approval_rejection_reasons_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consent_approval_rejection_reasons_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consent_approval_rejection_reasons_bool_exp | null)},consent_approval_rejection_reasonsRequest]
    /** fetch data from the table: "consent_patient" */
    consent_patient?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest] | consent_patientRequest
    /** fetch aggregated fields from the table: "consent_patient" */
    consent_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patient_aggregateRequest] | consent_patient_aggregateRequest
    /** fetch data from the table: "consent_patient" using primary key columns */
    consent_patient_by_pk?: [{consent_id: Scalars['bigint'],patient_id: Scalars['uuid']},consent_patientRequest]
    /** fetch data from the table in a streaming manner: "consent_patient" */
    consent_patient_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consent_patient_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consent_patient_bool_exp | null)},consent_patientRequest]
    /** fetch data from the table: "consent_status" */
    consent_status?: [{
    /** distinct select on columns */
    distinct_on?: (consent_status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_status_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_status_bool_exp | null)},consent_statusRequest] | consent_statusRequest
    /** fetch aggregated fields from the table: "consent_status" */
    consent_status_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_status_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_status_bool_exp | null)},consent_status_aggregateRequest] | consent_status_aggregateRequest
    /** fetch data from the table: "consent_status" using primary key columns */
    consent_status_by_pk?: [{name: Scalars['String']},consent_statusRequest]
    /** fetch data from the table in a streaming manner: "consent_status" */
    consent_status_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consent_status_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consent_status_bool_exp | null)},consent_statusRequest]
    /** fetch data from the table: "consent_template_to_template" */
    consent_template_to_template?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_templateRequest] | consent_template_to_templateRequest
    /** fetch aggregated fields from the table: "consent_template_to_template" */
    consent_template_to_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_template_aggregateRequest] | consent_template_to_template_aggregateRequest
    /** fetch data from the table in a streaming manner: "consent_template_to_template" */
    consent_template_to_template_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consent_template_to_template_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_templateRequest]
    /** An array relationship */
    consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templatesRequest] | consent_templatesRequest
    /** An aggregate relationship */
    consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templates_aggregateRequest] | consent_templates_aggregateRequest
    /** fetch data from the table: "consent_templates" using primary key columns */
    consent_templates_by_pk?: [{id: Scalars['bigint']},consent_templatesRequest]
    /** fetch data from the table in a streaming manner: "consent_templates" */
    consent_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consent_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templatesRequest]
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    /** fetch data from the table: "consents" using primary key columns */
    consents_by_pk?: [{id: Scalars['bigint']},consentsRequest]
    /** fetch data from the table in a streaming manner: "consents" */
    consents_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (consents_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest]
    /** fetch data from the table: "context_group_context" */
    context_group_context?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_contextRequest] | context_group_contextRequest
    /** fetch aggregated fields from the table: "context_group_context" */
    context_group_context_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (context_group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (context_group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_context_aggregateRequest] | context_group_context_aggregateRequest
    /** fetch data from the table: "context_group_context" using primary key columns */
    context_group_context_by_pk?: [{context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']},context_group_contextRequest]
    /** fetch data from the table in a streaming manner: "context_group_context" */
    context_group_context_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (context_group_context_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (context_group_context_bool_exp | null)},context_group_contextRequest]
    /** fetch data from the table: "contexts" */
    contexts?: [{
    /** distinct select on columns */
    distinct_on?: (contexts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (contexts_order_by[] | null),
    /** filter the rows returned */
    where?: (contexts_bool_exp | null)},contextsRequest] | contextsRequest
    /** fetch aggregated fields from the table: "contexts" */
    contexts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (contexts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (contexts_order_by[] | null),
    /** filter the rows returned */
    where?: (contexts_bool_exp | null)},contexts_aggregateRequest] | contexts_aggregateRequest
    /** fetch data from the table: "contexts" using primary key columns */
    contexts_by_pk?: [{customer_id: Scalars['String'],name: Scalars['String']},contextsRequest]
    /** fetch data from the table in a streaming manner: "contexts" */
    contexts_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (contexts_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (contexts_bool_exp | null)},contextsRequest]
    /** fetch data from the table: "custom_db_nodes" */
    custom_db_nodes?: [{
    /** distinct select on columns */
    distinct_on?: (custom_db_nodes_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (custom_db_nodes_order_by[] | null),
    /** filter the rows returned */
    where?: (custom_db_nodes_bool_exp | null)},custom_db_nodesRequest] | custom_db_nodesRequest
    /** fetch aggregated fields from the table: "custom_db_nodes" */
    custom_db_nodes_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (custom_db_nodes_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (custom_db_nodes_order_by[] | null),
    /** filter the rows returned */
    where?: (custom_db_nodes_bool_exp | null)},custom_db_nodes_aggregateRequest] | custom_db_nodes_aggregateRequest
    /** fetch data from the table: "custom_db_nodes" using primary key columns */
    custom_db_nodes_by_pk?: [{id: Scalars['bigint']},custom_db_nodesRequest]
    /** fetch data from the table in a streaming manner: "custom_db_nodes" */
    custom_db_nodes_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (custom_db_nodes_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (custom_db_nodes_bool_exp | null)},custom_db_nodesRequest]
    /** fetch data from the table: "directory_customers" */
    directory_customers?: [{
    /** distinct select on columns */
    distinct_on?: (directory_customers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_customers_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_customers_bool_exp | null)},directory_customersRequest] | directory_customersRequest
    /** fetch aggregated fields from the table: "directory_customers" */
    directory_customers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_customers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_customers_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_customers_bool_exp | null)},directory_customers_aggregateRequest] | directory_customers_aggregateRequest
    /** fetch data from the table: "directory_customers" using primary key columns */
    directory_customers_by_pk?: [{id: Scalars['uuid']},directory_customersRequest]
    /** fetch data from the table in a streaming manner: "directory_customers" */
    directory_customers_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (directory_customers_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_customers_bool_exp | null)},directory_customersRequest]
    /** fetch data from the table: "directory_user_name" */
    directory_user_name?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_name_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_user_name_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_name_bool_exp | null)},directory_user_nameRequest] | directory_user_nameRequest
    /** fetch aggregated fields from the table: "directory_user_name" */
    directory_user_name_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_name_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (directory_user_name_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_name_bool_exp | null)},directory_user_name_aggregateRequest] | directory_user_name_aggregateRequest
    /** fetch data from the table: "directory_user_name" using primary key columns */
    directory_user_name_by_pk?: [{user_id: Scalars['uuid']},directory_user_nameRequest]
    /** fetch data from the table in a streaming manner: "directory_user_name" */
    directory_user_name_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (directory_user_name_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_user_name_bool_exp | null)},directory_user_nameRequest]
    /** fetch data from the table: "document_patient" */
    document_patient?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest] | document_patientRequest
    /** fetch aggregated fields from the table: "document_patient" */
    document_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_patient_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patient_aggregateRequest] | document_patient_aggregateRequest
    /** fetch data from the table: "document_patient" using primary key columns */
    document_patient_by_pk?: [{document_id: Scalars['bigint'],patient_id: Scalars['uuid']},document_patientRequest]
    /** fetch data from the table in a streaming manner: "document_patient" */
    document_patient_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (document_patient_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (document_patient_bool_exp | null)},document_patientRequest]
    /** An array relationship */
    document_sms?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_smsRequest] | document_smsRequest
    /** An aggregate relationship */
    document_sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (document_sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (document_sms_order_by[] | null),
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_sms_aggregateRequest] | document_sms_aggregateRequest
    /** fetch data from the table in a streaming manner: "document_sms" */
    document_sms_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (document_sms_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (document_sms_bool_exp | null)},document_smsRequest]
    /** An array relationship */
    documents?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documentsRequest] | documentsRequest
    /** An aggregate relationship */
    documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documents_aggregateRequest] | documents_aggregateRequest
    /** fetch data from the table: "documents" using primary key columns */
    documents_by_pk?: [{id: Scalars['bigint']},documentsRequest]
    /** fetch data from the table: "documents_overview" */
    documents_overview?: [{
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overviewRequest] | documents_overviewRequest
    /** fetch aggregated fields from the table: "documents_overview" */
    documents_overview_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overview_aggregateRequest] | documents_overview_aggregateRequest
    /** fetch data from the table in a streaming manner: "documents_overview" */
    documents_overview_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (documents_overview_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overviewRequest]
    /** fetch data from the table in a streaming manner: "documents" */
    documents_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (documents_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (documents_bool_exp | null)},documentsRequest]
    /** fetch data from the table: "event_artifact_package" */
    event_artifact_package?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_packageRequest] | event_artifact_packageRequest
    /** fetch aggregated fields from the table: "event_artifact_package" */
    event_artifact_package_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (event_artifact_package_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (event_artifact_package_order_by[] | null),
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_package_aggregateRequest] | event_artifact_package_aggregateRequest
    /** fetch data from the table: "event_artifact_package" using primary key columns */
    event_artifact_package_by_pk?: [{artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']},event_artifact_packageRequest]
    /** fetch data from the table in a streaming manner: "event_artifact_package" */
    event_artifact_package_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (event_artifact_package_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (event_artifact_package_bool_exp | null)},event_artifact_packageRequest]
    /** An array relationship */
    favorite_templates_order?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_orderRequest] | favorite_templates_orderRequest
    /** An aggregate relationship */
    favorite_templates_order_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_order_aggregateRequest] | favorite_templates_order_aggregateRequest
    /** fetch data from the table: "favorite_templates_order" using primary key columns */
    favorite_templates_order_by_pk?: [{customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']},favorite_templates_orderRequest]
    /** fetch data from the table in a streaming manner: "favorite_templates_order" */
    favorite_templates_order_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (favorite_templates_order_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_orderRequest]
    /** An array relationship */
    favorites?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favoritesRequest] | favoritesRequest
    /** An aggregate relationship */
    favorites_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favorites_aggregateRequest] | favorites_aggregateRequest
    /** fetch data from the table: "favorites" using primary key columns */
    favorites_by_pk?: [{customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']},favoritesRequest]
    /** fetch data from the table in a streaming manner: "favorites" */
    favorites_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (favorites_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favoritesRequest]
    /** fetch data from the table: "filter_names" */
    filter_names?: [{
    /** distinct select on columns */
    distinct_on?: (filter_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (filter_names_order_by[] | null),
    /** filter the rows returned */
    where?: (filter_names_bool_exp | null)},filter_namesRequest] | filter_namesRequest
    /** fetch aggregated fields from the table: "filter_names" */
    filter_names_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (filter_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (filter_names_order_by[] | null),
    /** filter the rows returned */
    where?: (filter_names_bool_exp | null)},filter_names_aggregateRequest] | filter_names_aggregateRequest
    /** fetch data from the table: "filter_names" using primary key columns */
    filter_names_by_pk?: [{name: Scalars['String']},filter_namesRequest]
    /** fetch data from the table in a streaming manner: "filter_names" */
    filter_names_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (filter_names_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (filter_names_bool_exp | null)},filter_namesRequest]
    /** An array relationship */
    genesis_consent_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissionsRequest] | genesis_consent_permissionsRequest
    /** An aggregate relationship */
    genesis_consent_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissions_aggregateRequest] | genesis_consent_permissions_aggregateRequest
    /** fetch data from the table: "genesis_consent_permissions" using primary key columns */
    genesis_consent_permissions_by_pk?: [{consent_id: Scalars['bigint'],customer_id: Scalars['uuid']},genesis_consent_permissionsRequest]
    /** fetch data from the table in a streaming manner: "genesis_consent_permissions" */
    genesis_consent_permissions_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (genesis_consent_permissions_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (genesis_consent_permissions_bool_exp | null)},genesis_consent_permissionsRequest]
    /** An array relationship */
    genesis_consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templatesRequest] | genesis_consent_templatesRequest
    /** An aggregate relationship */
    genesis_consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templates_aggregateRequest] | genesis_consent_templates_aggregateRequest
    /** fetch data from the table: "genesis_consent_templates" using primary key columns */
    genesis_consent_templates_by_pk?: [{consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']},genesis_consent_templatesRequest]
    /** fetch data from the table in a streaming manner: "genesis_consent_templates" */
    genesis_consent_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (genesis_consent_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (genesis_consent_templates_bool_exp | null)},genesis_consent_templatesRequest]
    /** An array relationship */
    genesis_denied_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissionsRequest] | genesis_denied_permissionsRequest
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissions_aggregateRequest] | genesis_denied_permissions_aggregateRequest
    /** fetch data from the table: "genesis_denied_permissions" using primary key columns */
    genesis_denied_permissions_by_pk?: [{customer_id: Scalars['uuid'],table_id: Scalars['uuid']},genesis_denied_permissionsRequest]
    /** fetch data from the table in a streaming manner: "genesis_denied_permissions" */
    genesis_denied_permissions_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (genesis_denied_permissions_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissionsRequest]
    /** An array relationship */
    genesis_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templatesRequest] | genesis_templatesRequest
    /** An aggregate relationship */
    genesis_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templates_aggregateRequest] | genesis_templates_aggregateRequest
    /** fetch data from the table: "genesis_templates" using primary key columns */
    genesis_templates_by_pk?: [{genesis_set: Scalars['String'],template_id: Scalars['bigint']},genesis_templatesRequest]
    /** fetch data from the table in a streaming manner: "genesis_templates" */
    genesis_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (genesis_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templatesRequest]
    /** fetch data from the table: "group_context" */
    group_context?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_bool_exp | null)},group_contextRequest] | group_contextRequest
    /** fetch aggregated fields from the table: "group_context" */
    group_context_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_bool_exp | null)},group_context_aggregateRequest] | group_context_aggregateRequest
    /** fetch data from the table: "group_context" using primary key columns */
    group_context_by_pk?: [{id: Scalars['uuid']},group_contextRequest]
    /** An array relationship */
    group_context_filters?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filtersRequest] | group_context_filtersRequest
    /** An aggregate relationship */
    group_context_filters_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (group_context_filters_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (group_context_filters_order_by[] | null),
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filters_aggregateRequest] | group_context_filters_aggregateRequest
    /** fetch data from the table: "group_context_filters" using primary key columns */
    group_context_filters_by_pk?: [{customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']},group_context_filtersRequest]
    /** fetch data from the table in a streaming manner: "group_context_filters" */
    group_context_filters_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (group_context_filters_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (group_context_filters_bool_exp | null)},group_context_filtersRequest]
    /** fetch data from the table in a streaming manner: "group_context" */
    group_context_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (group_context_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (group_context_bool_exp | null)},group_contextRequest]
    /** fetch data from the table: "groups" */
    groups?: [{
    /** distinct select on columns */
    distinct_on?: (groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (groups_order_by[] | null),
    /** filter the rows returned */
    where?: (groups_bool_exp | null)},groupsRequest] | groupsRequest
    /** fetch aggregated fields from the table: "groups" */
    groups_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (groups_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (groups_order_by[] | null),
    /** filter the rows returned */
    where?: (groups_bool_exp | null)},groups_aggregateRequest] | groups_aggregateRequest
    /** fetch data from the table: "groups" using primary key columns */
    groups_by_pk?: [{name: Scalars['String']},groupsRequest]
    /** fetch data from the table in a streaming manner: "groups" */
    groups_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (groups_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (groups_bool_exp | null)},groupsRequest]
    /** fetch data from the table: "initiators" */
    initiators?: [{
    /** distinct select on columns */
    distinct_on?: (initiators_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (initiators_order_by[] | null),
    /** filter the rows returned */
    where?: (initiators_bool_exp | null)},initiatorsRequest] | initiatorsRequest
    /** fetch aggregated fields from the table: "initiators" */
    initiators_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (initiators_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (initiators_order_by[] | null),
    /** filter the rows returned */
    where?: (initiators_bool_exp | null)},initiators_aggregateRequest] | initiators_aggregateRequest
    /** fetch data from the table: "initiators" using primary key columns */
    initiators_by_pk?: [{name: Scalars['String']},initiatorsRequest]
    /** fetch data from the table in a streaming manner: "initiators" */
    initiators_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (initiators_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (initiators_bool_exp | null)},initiatorsRequest]
    /** fetch data from the table: "migrations" */
    migrations?: [{
    /** distinct select on columns */
    distinct_on?: (migrations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (migrations_order_by[] | null),
    /** filter the rows returned */
    where?: (migrations_bool_exp | null)},migrationsRequest] | migrationsRequest
    /** fetch aggregated fields from the table: "migrations" */
    migrations_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (migrations_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (migrations_order_by[] | null),
    /** filter the rows returned */
    where?: (migrations_bool_exp | null)},migrations_aggregateRequest] | migrations_aggregateRequest
    /** fetch data from the table: "migrations" using primary key columns */
    migrations_by_pk?: [{id: Scalars['bigint']},migrationsRequest]
    /** fetch data from the table in a streaming manner: "migrations" */
    migrations_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (migrations_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (migrations_bool_exp | null)},migrationsRequest]
    /** fetch data from the table: "organization_qnr_widget" */
    organization_qnr_widget?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widgetRequest] | organization_qnr_widgetRequest
    /** fetch aggregated fields from the table: "organization_qnr_widget" */
    organization_qnr_widget_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (organization_qnr_widget_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (organization_qnr_widget_order_by[] | null),
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widget_aggregateRequest] | organization_qnr_widget_aggregateRequest
    /** fetch data from the table: "organization_qnr_widget" using primary key columns */
    organization_qnr_widget_by_pk?: [{id: Scalars['uuid']},organization_qnr_widgetRequest]
    /** fetch data from the table in a streaming manner: "organization_qnr_widget" */
    organization_qnr_widget_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (organization_qnr_widget_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (organization_qnr_widget_bool_exp | null)},organization_qnr_widgetRequest]
    /** An array relationship */
    projects?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projectsRequest] | projectsRequest
    /** An aggregate relationship */
    projects_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (projects_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (projects_order_by[] | null),
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projects_aggregateRequest] | projects_aggregateRequest
    /** fetch data from the table: "projects" using primary key columns */
    projects_by_pk?: [{customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']},projectsRequest]
    /** fetch data from the table in a streaming manner: "projects" */
    projects_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (projects_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (projects_bool_exp | null)},projectsRequest]
    /** An array relationship */
    qnr_template_genesis_overrides?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overridesRequest] | qnr_template_genesis_overridesRequest
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overrides_aggregateRequest] | qnr_template_genesis_overrides_aggregateRequest
    /** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
    qnr_template_genesis_overrides_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},qnr_template_genesis_overridesRequest]
    /** fetch data from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_log_bool_exp | null)},qnr_template_genesis_overrides_logRequest] | qnr_template_genesis_overrides_logRequest
    /** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_log_bool_exp | null)},qnr_template_genesis_overrides_log_aggregateRequest] | qnr_template_genesis_overrides_log_aggregateRequest
    /** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
    qnr_template_genesis_overrides_log_by_pk?: [{id: Scalars['Int']},qnr_template_genesis_overrides_logRequest]
    /** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides_log" */
    qnr_template_genesis_overrides_log_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (qnr_template_genesis_overrides_log_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_log_bool_exp | null)},qnr_template_genesis_overrides_logRequest]
    /** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides" */
    qnr_template_genesis_overrides_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (qnr_template_genesis_overrides_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overridesRequest]
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    /** fetch data from the table: "queries" using primary key columns */
    queries_by_pk?: [{id: Scalars['bigint']},queriesRequest]
    /** fetch data from the table: "queries_cache" */
    queries_cache?: [{
    /** distinct select on columns */
    distinct_on?: (queries_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_cache_bool_exp | null)},queries_cacheRequest] | queries_cacheRequest
    /** fetch aggregated fields from the table: "queries_cache" */
    queries_cache_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_cache_bool_exp | null)},queries_cache_aggregateRequest] | queries_cache_aggregateRequest
    /** fetch data from the table: "queries_cache" using primary key columns */
    queries_cache_by_pk?: [{query_id: Scalars['uuid']},queries_cacheRequest]
    /** fetch data from the table in a streaming manner: "queries_cache" */
    queries_cache_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (queries_cache_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (queries_cache_bool_exp | null)},queries_cacheRequest]
    /** An array relationship */
    queries_error?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_errorRequest] | queries_errorRequest
    /** An aggregate relationship */
    queries_error_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_error_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_error_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_error_aggregateRequest] | queries_error_aggregateRequest
    /** fetch data from the table: "queries_error" using primary key columns */
    queries_error_by_pk?: [{ai_id: Scalars['Int']},queries_errorRequest]
    /** fetch data from the table in a streaming manner: "queries_error" */
    queries_error_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (queries_error_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (queries_error_bool_exp | null)},queries_errorRequest]
    /** An array relationship */
    queries_log?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_logRequest] | queries_logRequest
    /** An aggregate relationship */
    queries_log_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_log_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_log_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_log_aggregateRequest] | queries_log_aggregateRequest
    /** fetch data from the table: "queries_log" using primary key columns */
    queries_log_by_pk?: [{ai_id: Scalars['Int']},queries_logRequest]
    /** fetch data from the table in a streaming manner: "queries_log" */
    queries_log_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (queries_log_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (queries_log_bool_exp | null)},queries_logRequest]
    /** fetch data from the table in a streaming manner: "queries" */
    queries_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (queries_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest]
    /** fetch data from the table: "queries_templates" */
    queries_templates?: [{
    /** distinct select on columns */
    distinct_on?: (queries_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_templates_bool_exp | null)},queries_templatesRequest] | queries_templatesRequest
    /** fetch aggregated fields from the table: "queries_templates" */
    queries_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_templates_bool_exp | null)},queries_templates_aggregateRequest] | queries_templates_aggregateRequest
    /** fetch data from the table in a streaming manner: "queries_templates" */
    queries_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (queries_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (queries_templates_bool_exp | null)},queries_templatesRequest]
    /** fetch data from the table: "question_composite_question" */
    question_composite_question?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_questionRequest] | question_composite_questionRequest
    /** fetch aggregated fields from the table: "question_composite_question" */
    question_composite_question_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_composite_question_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_composite_question_order_by[] | null),
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_question_aggregateRequest] | question_composite_question_aggregateRequest
    /** fetch data from the table in a streaming manner: "question_composite_question" */
    question_composite_question_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (question_composite_question_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (question_composite_question_bool_exp | null)},question_composite_questionRequest]
    /** fetch data from the table: "question_template" */
    question_template?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_templateRequest] | question_templateRequest
    /** fetch aggregated fields from the table: "question_template" */
    question_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_template_aggregateRequest] | question_template_aggregateRequest
    /** fetch data from the table in a streaming manner: "question_template" */
    question_template_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (question_template_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_templateRequest]
    /** fetch data from the table: "questions" */
    questions?: [{
    /** distinct select on columns */
    distinct_on?: (questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (questions_order_by[] | null),
    /** filter the rows returned */
    where?: (questions_bool_exp | null)},questionsRequest] | questionsRequest
    /** fetch aggregated fields from the table: "questions" */
    questions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (questions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (questions_order_by[] | null),
    /** filter the rows returned */
    where?: (questions_bool_exp | null)},questions_aggregateRequest] | questions_aggregateRequest
    /** fetch data from the table: "questions" using primary key columns */
    questions_by_pk?: [{id: Scalars['bigint']},questionsRequest]
    /** fetch data from the table in a streaming manner: "questions" */
    questions_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (questions_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (questions_bool_exp | null)},questionsRequest]
    /** execute function "search_document_patient" which returns "documents_overview" */
    search_document_patient?: [{
    /** input parameters for function "search_document_patient" */
    args: search_document_patient_args,
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overviewRequest]
    /** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
    search_document_patient_aggregate?: [{
    /** input parameters for function "search_document_patient_aggregate" */
    args: search_document_patient_args,
    /** distinct select on columns */
    distinct_on?: (documents_overview_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (documents_overview_order_by[] | null),
    /** filter the rows returned */
    where?: (documents_overview_bool_exp | null)},documents_overview_aggregateRequest]
    /** fetch data from the table: "security_levels" */
    security_levels?: [{
    /** distinct select on columns */
    distinct_on?: (security_levels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (security_levels_order_by[] | null),
    /** filter the rows returned */
    where?: (security_levels_bool_exp | null)},security_levelsRequest] | security_levelsRequest
    /** fetch aggregated fields from the table: "security_levels" */
    security_levels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (security_levels_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (security_levels_order_by[] | null),
    /** filter the rows returned */
    where?: (security_levels_bool_exp | null)},security_levels_aggregateRequest] | security_levels_aggregateRequest
    /** fetch data from the table: "security_levels" using primary key columns */
    security_levels_by_pk?: [{name: Scalars['String']},security_levelsRequest]
    /** fetch data from the table in a streaming manner: "security_levels" */
    security_levels_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (security_levels_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (security_levels_bool_exp | null)},security_levelsRequest]
    /** fetch data from the table: "settings" */
    settings?: [{
    /** distinct select on columns */
    distinct_on?: (settings_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (settings_order_by[] | null),
    /** filter the rows returned */
    where?: (settings_bool_exp | null)},settingsRequest] | settingsRequest
    /** fetch aggregated fields from the table: "settings" */
    settings_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (settings_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (settings_order_by[] | null),
    /** filter the rows returned */
    where?: (settings_bool_exp | null)},settings_aggregateRequest] | settings_aggregateRequest
    /** fetch data from the table: "settings" using primary key columns */
    settings_by_pk?: [{id: Scalars['bigint']},settingsRequest]
    /** fetch data from the table in a streaming manner: "settings" */
    settings_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (settings_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (settings_bool_exp | null)},settingsRequest]
    /** fetch data from the table: "shortcuts" */
    shortcuts?: [{
    /** distinct select on columns */
    distinct_on?: (shortcuts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (shortcuts_order_by[] | null),
    /** filter the rows returned */
    where?: (shortcuts_bool_exp | null)},shortcutsRequest] | shortcutsRequest
    /** fetch aggregated fields from the table: "shortcuts" */
    shortcuts_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (shortcuts_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (shortcuts_order_by[] | null),
    /** filter the rows returned */
    where?: (shortcuts_bool_exp | null)},shortcuts_aggregateRequest] | shortcuts_aggregateRequest
    /** fetch data from the table: "shortcuts" using primary key columns */
    shortcuts_by_pk?: [{id: Scalars['String']},shortcutsRequest]
    /** fetch data from the table in a streaming manner: "shortcuts" */
    shortcuts_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (shortcuts_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (shortcuts_bool_exp | null)},shortcutsRequest]
    /** An array relationship */
    sms?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},smsRequest] | smsRequest
    /** An aggregate relationship */
    sms_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},sms_aggregateRequest] | sms_aggregateRequest
    /** fetch data from the table: "sms" using primary key columns */
    sms_by_pk?: [{id: Scalars['bigint']},smsRequest]
    /** fetch data from the table in a streaming manner: "sms" */
    sms_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (sms_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (sms_bool_exp | null)},smsRequest]
    /** fetch data from the table: "sms_template_template" */
    sms_template_template?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_templateRequest] | sms_template_templateRequest
    /** fetch aggregated fields from the table: "sms_template_template" */
    sms_template_template_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_template_aggregateRequest] | sms_template_template_aggregateRequest
    /** fetch data from the table: "sms_template_template" using primary key columns */
    sms_template_template_by_pk?: [{sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']},sms_template_templateRequest]
    /** fetch data from the table in a streaming manner: "sms_template_template" */
    sms_template_template_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (sms_template_template_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_templateRequest]
    /** An array relationship */
    sms_templates?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templatesRequest] | sms_templatesRequest
    /** An aggregate relationship */
    sms_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templates_aggregateRequest] | sms_templates_aggregateRequest
    /** fetch data from the table: "sms_templates" using primary key columns */
    sms_templates_by_pk?: [{id: Scalars['bigint']},sms_templatesRequest]
    /** fetch data from the table in a streaming manner: "sms_templates" */
    sms_templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (sms_templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (sms_templates_bool_exp | null)},sms_templatesRequest]
    /** fetch data from the table: "status" */
    status?: [{
    /** distinct select on columns */
    distinct_on?: (status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (status_order_by[] | null),
    /** filter the rows returned */
    where?: (status_bool_exp | null)},statusRequest] | statusRequest
    /** fetch aggregated fields from the table: "status" */
    status_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (status_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (status_order_by[] | null),
    /** filter the rows returned */
    where?: (status_bool_exp | null)},status_aggregateRequest] | status_aggregateRequest
    /** fetch data from the table: "status" using primary key columns */
    status_by_pk?: [{name: Scalars['String']},statusRequest]
    /** fetch data from the table in a streaming manner: "status" */
    status_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (status_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (status_bool_exp | null)},statusRequest]
    /** fetch data from the table: "table_names" */
    table_names?: [{
    /** distinct select on columns */
    distinct_on?: (table_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (table_names_order_by[] | null),
    /** filter the rows returned */
    where?: (table_names_bool_exp | null)},table_namesRequest] | table_namesRequest
    /** fetch aggregated fields from the table: "table_names" */
    table_names_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_names_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (table_names_order_by[] | null),
    /** filter the rows returned */
    where?: (table_names_bool_exp | null)},table_names_aggregateRequest] | table_names_aggregateRequest
    /** fetch data from the table: "table_names" using primary key columns */
    table_names_by_pk?: [{name: Scalars['String']},table_namesRequest]
    /** fetch data from the table in a streaming manner: "table_names" */
    table_names_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (table_names_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (table_names_bool_exp | null)},table_namesRequest]
    /** fetch data from the table: "template_artifact_parcel" */
    template_artifact_parcel?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcelRequest] | template_artifact_parcelRequest
    /** fetch aggregated fields from the table: "template_artifact_parcel" */
    template_artifact_parcel_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcel_aggregateRequest] | template_artifact_parcel_aggregateRequest
    /** fetch data from the table: "template_artifact_parcel" using primary key columns */
    template_artifact_parcel_by_pk?: [{artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']},template_artifact_parcelRequest]
    /** fetch data from the table in a streaming manner: "template_artifact_parcel" */
    template_artifact_parcel_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_artifact_parcel_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcelRequest]
    /** fetch data from the table: "template_cache" */
    template_cache?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_bool_exp | null)},template_cacheRequest] | template_cacheRequest
    /** fetch data from the table: "template_cache_access" */
    template_cache_access?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_accessRequest] | template_cache_accessRequest
    /** fetch aggregated fields from the table: "template_cache_access" */
    template_cache_access_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_access_aggregateRequest] | template_cache_access_aggregateRequest
    /** fetch data from the table: "template_cache_access" using primary key columns */
    template_cache_access_by_pk?: [{customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']},template_cache_accessRequest]
    /** fetch data from the table in a streaming manner: "template_cache_access" */
    template_cache_access_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_cache_access_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_accessRequest]
    /** fetch aggregated fields from the table: "template_cache" */
    template_cache_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_bool_exp | null)},template_cache_aggregateRequest] | template_cache_aggregateRequest
    /** fetch data from the table: "template_cache" using primary key columns */
    template_cache_by_pk?: [{template_uuid: Scalars['uuid']},template_cacheRequest]
    /** fetch data from the table in a streaming manner: "template_cache" */
    template_cache_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_cache_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_cache_bool_exp | null)},template_cacheRequest]
    /** fetch data from the table: "template_flags" */
    template_flags?: [{
    /** distinct select on columns */
    distinct_on?: (template_flags_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_flags_order_by[] | null),
    /** filter the rows returned */
    where?: (template_flags_bool_exp | null)},template_flagsRequest] | template_flagsRequest
    /** fetch aggregated fields from the table: "template_flags" */
    template_flags_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_flags_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_flags_order_by[] | null),
    /** filter the rows returned */
    where?: (template_flags_bool_exp | null)},template_flags_aggregateRequest] | template_flags_aggregateRequest
    /** fetch data from the table in a streaming manner: "template_flags" */
    template_flags_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_flags_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_flags_bool_exp | null)},template_flagsRequest]
    /** An array relationship */
    template_journal_roles?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_rolesRequest] | template_journal_rolesRequest
    /** An aggregate relationship */
    template_journal_roles_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_roles_aggregateRequest] | template_journal_roles_aggregateRequest
    /** fetch data from the table: "template_journal_roles" using primary key columns */
    template_journal_roles_by_pk?: [{role: Scalars['String'],template_uuid: Scalars['uuid']},template_journal_rolesRequest]
    /** fetch data from the table in a streaming manner: "template_journal_roles" */
    template_journal_roles_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_journal_roles_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_rolesRequest]
    /** An array relationship */
    template_offer_types?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_typesRequest] | template_offer_typesRequest
    /** An aggregate relationship */
    template_offer_types_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_types_aggregateRequest] | template_offer_types_aggregateRequest
    /** fetch data from the table: "template_offer_types" using primary key columns */
    template_offer_types_by_pk?: [{offer_type: Scalars['String'],template_uuid: Scalars['uuid']},template_offer_typesRequest]
    /** fetch data from the table in a streaming manner: "template_offer_types" */
    template_offer_types_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_offer_types_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_typesRequest]
    /** An array relationship */
    template_offers?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offersRequest] | template_offersRequest
    /** An aggregate relationship */
    template_offers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offers_aggregateRequest] | template_offers_aggregateRequest
    /** fetch data from the table: "template_offers" using primary key columns */
    template_offers_by_pk?: [{offer: Scalars['String'],template_uuid: Scalars['uuid']},template_offersRequest]
    /** fetch data from the table in a streaming manner: "template_offers" */
    template_offers_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (template_offers_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offersRequest]
    /** An array relationship */
    templates?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templatesRequest] | templatesRequest
    /** An aggregate relationship */
    templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (templates_order_by[] | null),
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templates_aggregateRequest] | templates_aggregateRequest
    /** fetch data from the table: "templates" using primary key columns */
    templates_by_pk?: [{id: Scalars['bigint']},templatesRequest]
    /** fetch data from the table in a streaming manner: "templates" */
    templates_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (templates_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (templates_bool_exp | null)},templatesRequest]
    /** fetch data from the table: "types" */
    types?: [{
    /** distinct select on columns */
    distinct_on?: (types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (types_order_by[] | null),
    /** filter the rows returned */
    where?: (types_bool_exp | null)},typesRequest] | typesRequest
    /** fetch aggregated fields from the table: "types" */
    types_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (types_order_by[] | null),
    /** filter the rows returned */
    where?: (types_bool_exp | null)},types_aggregateRequest] | types_aggregateRequest
    /** fetch data from the table: "types" using primary key columns */
    types_by_pk?: [{name: Scalars['String']},typesRequest]
    /** fetch data from the table in a streaming manner: "types" */
    types_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (types_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (types_bool_exp | null)},typesRequest]
    /** fetch data from the table: "unseen_documents" */
    unseen_documents?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_documents_bool_exp | null)},unseen_documentsRequest] | unseen_documentsRequest
    /** fetch aggregated fields from the table: "unseen_documents" */
    unseen_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_documents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_documents_bool_exp | null)},unseen_documents_aggregateRequest] | unseen_documents_aggregateRequest
    /** fetch data from the table in a streaming manner: "unseen_documents" */
    unseen_documents_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (unseen_documents_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (unseen_documents_bool_exp | null)},unseen_documentsRequest]
    /** fetch data from the table: "unseen_queries" */
    unseen_queries?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_queries_bool_exp | null)},unseen_queriesRequest] | unseen_queriesRequest
    /** fetch aggregated fields from the table: "unseen_queries" */
    unseen_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (unseen_queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (unseen_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (unseen_queries_bool_exp | null)},unseen_queries_aggregateRequest] | unseen_queries_aggregateRequest
    /** fetch data from the table in a streaming manner: "unseen_queries" */
    unseen_queries_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (unseen_queries_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (unseen_queries_bool_exp | null)},unseen_queriesRequest]
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "table_names" */
export interface table_namesRequest{
    description?: boolean | number
    /** An array relationship */
    favorites?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favoritesRequest] | favoritesRequest
    /** An aggregate relationship */
    favorites_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorites_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorites_order_by[] | null),
    /** filter the rows returned */
    where?: (favorites_bool_exp | null)},favorites_aggregateRequest] | favorites_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "table_names" */
export interface table_names_aggregateRequest{
    aggregate?: table_names_aggregate_fieldsRequest
    nodes?: table_namesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "table_names" */
export interface table_names_aggregate_fieldsRequest{
    count?: [{columns?: (table_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: table_names_max_fieldsRequest
    min?: table_names_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "table_names". All fields are combined with a logical 'AND'. */
export interface table_names_bool_exp {_and?: (table_names_bool_exp[] | null),_not?: (table_names_bool_exp | null),_or?: (table_names_bool_exp[] | null),description?: (String_comparison_exp | null),favorites?: (favorites_bool_exp | null),favorites_aggregate?: (favorites_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "table_names_enum". All fields are combined with logical 'AND'. */
export interface table_names_enum_comparison_exp {_eq?: (table_names_enum | null),_in?: (table_names_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (table_names_enum | null),_nin?: (table_names_enum[] | null)}


/** input type for inserting data into table "table_names" */
export interface table_names_insert_input {description?: (Scalars['String'] | null),favorites?: (favorites_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface table_names_max_fieldsRequest{
    description?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface table_names_min_fieldsRequest{
    description?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "table_names" */
export interface table_names_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: table_namesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "table_names" */
export interface table_names_obj_rel_insert_input {data: table_names_insert_input,
/** upsert condition */
on_conflict?: (table_names_on_conflict | null)}


/** on_conflict condition type for table "table_names" */
export interface table_names_on_conflict {constraint: table_names_constraint,update_columns: table_names_update_column[],where?: (table_names_bool_exp | null)}


/** Ordering options when selecting data from "table_names". */
export interface table_names_order_by {description?: (order_by | null),favorites_aggregate?: (favorites_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: table_names */
export interface table_names_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "table_names" */
export interface table_names_set_input {description?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "table_names" */
export interface table_names_stream_cursor_input {
/** Stream column input with initial value */
initial_value: table_names_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface table_names_stream_cursor_value_input {description?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface table_names_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (table_names_set_input | null),
/** filter the rows which have to be updated */
where: table_names_bool_exp}


/** columns and relationships of "template_artifact_parcel" */
export interface template_artifact_parcelRequest{
    /** An object relationship */
    artifact_parcel?: artifact_parcelsRequest
    artifact_parcel_id?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregateRequest{
    aggregate?: template_artifact_parcel_aggregate_fieldsRequest
    nodes?: template_artifact_parcelRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_artifact_parcel_aggregate_bool_exp {count?: (template_artifact_parcel_aggregate_bool_exp_count | null)}

export interface template_artifact_parcel_aggregate_bool_exp_count {arguments?: (template_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (template_artifact_parcel_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate_fieldsRequest{
    avg?: template_artifact_parcel_avg_fieldsRequest
    count?: [{columns?: (template_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_artifact_parcel_max_fieldsRequest
    min?: template_artifact_parcel_min_fieldsRequest
    stddev?: template_artifact_parcel_stddev_fieldsRequest
    stddev_pop?: template_artifact_parcel_stddev_pop_fieldsRequest
    stddev_samp?: template_artifact_parcel_stddev_samp_fieldsRequest
    sum?: template_artifact_parcel_sum_fieldsRequest
    var_pop?: template_artifact_parcel_var_pop_fieldsRequest
    var_samp?: template_artifact_parcel_var_samp_fieldsRequest
    variance?: template_artifact_parcel_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate_order_by {avg?: (template_artifact_parcel_avg_order_by | null),count?: (order_by | null),max?: (template_artifact_parcel_max_order_by | null),min?: (template_artifact_parcel_min_order_by | null),stddev?: (template_artifact_parcel_stddev_order_by | null),stddev_pop?: (template_artifact_parcel_stddev_pop_order_by | null),stddev_samp?: (template_artifact_parcel_stddev_samp_order_by | null),sum?: (template_artifact_parcel_sum_order_by | null),var_pop?: (template_artifact_parcel_var_pop_order_by | null),var_samp?: (template_artifact_parcel_var_samp_order_by | null),variance?: (template_artifact_parcel_variance_order_by | null)}


/** input type for inserting array relation for remote table "template_artifact_parcel" */
export interface template_artifact_parcel_arr_rel_insert_input {data: template_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (template_artifact_parcel_on_conflict | null)}


/** aggregate avg on columns */
export interface template_artifact_parcel_avg_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_avg_order_by {template_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "template_artifact_parcel". All fields are combined with a logical 'AND'. */
export interface template_artifact_parcel_bool_exp {_and?: (template_artifact_parcel_bool_exp[] | null),_not?: (template_artifact_parcel_bool_exp | null),_or?: (template_artifact_parcel_bool_exp[] | null),artifact_parcel?: (artifact_parcels_bool_exp | null),artifact_parcel_id?: (uuid_comparison_exp | null),template?: (templates_bool_exp | null),template_id?: (bigint_comparison_exp | null)}


/** input type for incrementing numeric columns in table "template_artifact_parcel" */
export interface template_artifact_parcel_inc_input {template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "template_artifact_parcel" */
export interface template_artifact_parcel_insert_input {artifact_parcel?: (artifact_parcels_obj_rel_insert_input | null),artifact_parcel_id?: (Scalars['uuid'] | null),template?: (templates_obj_rel_insert_input | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate max on columns */
export interface template_artifact_parcel_max_fieldsRequest{
    artifact_parcel_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_max_order_by {artifact_parcel_id?: (order_by | null),template_id?: (order_by | null)}


/** aggregate min on columns */
export interface template_artifact_parcel_min_fieldsRequest{
    artifact_parcel_id?: boolean | number
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_min_order_by {artifact_parcel_id?: (order_by | null),template_id?: (order_by | null)}


/** response of any mutation on the table "template_artifact_parcel" */
export interface template_artifact_parcel_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_artifact_parcelRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "template_artifact_parcel" */
export interface template_artifact_parcel_on_conflict {constraint: template_artifact_parcel_constraint,update_columns: template_artifact_parcel_update_column[],where?: (template_artifact_parcel_bool_exp | null)}


/** Ordering options when selecting data from "template_artifact_parcel". */
export interface template_artifact_parcel_order_by {artifact_parcel?: (artifact_parcels_order_by | null),artifact_parcel_id?: (order_by | null),template?: (templates_order_by | null),template_id?: (order_by | null)}


/** primary key columns input for table: template_artifact_parcel */
export interface template_artifact_parcel_pk_columns_input {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}


/** input type for updating data in table "template_artifact_parcel" */
export interface template_artifact_parcel_set_input {artifact_parcel_id?: (Scalars['uuid'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate stddev on columns */
export interface template_artifact_parcel_stddev_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_stddev_order_by {template_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface template_artifact_parcel_stddev_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_stddev_pop_order_by {template_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface template_artifact_parcel_stddev_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_stddev_samp_order_by {template_id?: (order_by | null)}


/** Streaming cursor of the table "template_artifact_parcel" */
export interface template_artifact_parcel_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_artifact_parcel_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_artifact_parcel_stream_cursor_value_input {artifact_parcel_id?: (Scalars['uuid'] | null),template_id?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface template_artifact_parcel_sum_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_sum_order_by {template_id?: (order_by | null)}

export interface template_artifact_parcel_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_artifact_parcel_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: template_artifact_parcel_bool_exp}


/** aggregate var_pop on columns */
export interface template_artifact_parcel_var_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_var_pop_order_by {template_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface template_artifact_parcel_var_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_var_samp_order_by {template_id?: (order_by | null)}


/** aggregate variance on columns */
export interface template_artifact_parcel_variance_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "template_artifact_parcel" */
export interface template_artifact_parcel_variance_order_by {template_id?: (order_by | null)}


/** columns and relationships of "template_cache" */
export interface template_cacheRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    show?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    /** An array relationship */
    template_cache_accesses?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_accessRequest] | template_cache_accessRequest
    /** An aggregate relationship */
    template_cache_accesses_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_cache_access_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_cache_access_order_by[] | null),
    /** filter the rows returned */
    where?: (template_cache_access_bool_exp | null)},template_cache_access_aggregateRequest] | template_cache_access_aggregateRequest
    template_uuid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "template_cache_access" */
export interface template_cache_accessRequest{
    customer_id?: boolean | number
    /** An object relationship */
    template_cache?: template_cacheRequest
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_cache_access" */
export interface template_cache_access_aggregateRequest{
    aggregate?: template_cache_access_aggregate_fieldsRequest
    nodes?: template_cache_accessRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_cache_access_aggregate_bool_exp {count?: (template_cache_access_aggregate_bool_exp_count | null)}

export interface template_cache_access_aggregate_bool_exp_count {arguments?: (template_cache_access_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (template_cache_access_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "template_cache_access" */
export interface template_cache_access_aggregate_fieldsRequest{
    count?: [{columns?: (template_cache_access_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_cache_access_max_fieldsRequest
    min?: template_cache_access_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "template_cache_access" */
export interface template_cache_access_aggregate_order_by {count?: (order_by | null),max?: (template_cache_access_max_order_by | null),min?: (template_cache_access_min_order_by | null)}


/** input type for inserting array relation for remote table "template_cache_access" */
export interface template_cache_access_arr_rel_insert_input {data: template_cache_access_insert_input[],
/** upsert condition */
on_conflict?: (template_cache_access_on_conflict | null)}


/** Boolean expression to filter rows from the table "template_cache_access". All fields are combined with a logical 'AND'. */
export interface template_cache_access_bool_exp {_and?: (template_cache_access_bool_exp[] | null),_not?: (template_cache_access_bool_exp | null),_or?: (template_cache_access_bool_exp[] | null),customer_id?: (uuid_comparison_exp | null),template_cache?: (template_cache_bool_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "template_cache_access" */
export interface template_cache_access_insert_input {customer_id?: (Scalars['uuid'] | null),template_cache?: (template_cache_obj_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface template_cache_access_max_fieldsRequest{
    customer_id?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "template_cache_access" */
export interface template_cache_access_max_order_by {customer_id?: (order_by | null),template_uuid?: (order_by | null)}


/** aggregate min on columns */
export interface template_cache_access_min_fieldsRequest{
    customer_id?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "template_cache_access" */
export interface template_cache_access_min_order_by {customer_id?: (order_by | null),template_uuid?: (order_by | null)}


/** response of any mutation on the table "template_cache_access" */
export interface template_cache_access_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_cache_accessRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "template_cache_access" */
export interface template_cache_access_on_conflict {constraint: template_cache_access_constraint,update_columns: template_cache_access_update_column[],where?: (template_cache_access_bool_exp | null)}


/** Ordering options when selecting data from "template_cache_access". */
export interface template_cache_access_order_by {customer_id?: (order_by | null),template_cache?: (template_cache_order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: template_cache_access */
export interface template_cache_access_pk_columns_input {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}


/** input type for updating data in table "template_cache_access" */
export interface template_cache_access_set_input {customer_id?: (Scalars['uuid'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "template_cache_access" */
export interface template_cache_access_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_cache_access_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_cache_access_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),template_uuid?: (Scalars['uuid'] | null)}

export interface template_cache_access_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_access_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_access_bool_exp}


/** aggregated selection of "template_cache" */
export interface template_cache_aggregateRequest{
    aggregate?: template_cache_aggregate_fieldsRequest
    nodes?: template_cacheRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "template_cache" */
export interface template_cache_aggregate_fieldsRequest{
    count?: [{columns?: (template_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_cache_max_fieldsRequest
    min?: template_cache_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface template_cache_append_input {data?: (Scalars['jsonb'] | null)}


/** Boolean expression to filter rows from the table "template_cache". All fields are combined with a logical 'AND'. */
export interface template_cache_bool_exp {_and?: (template_cache_bool_exp[] | null),_not?: (template_cache_bool_exp | null),_or?: (template_cache_bool_exp[] | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),show?: (Boolean_comparison_exp | null),template?: (templates_bool_exp | null),template_cache_accesses?: (template_cache_access_bool_exp | null),template_cache_accesses_aggregate?: (template_cache_access_aggregate_bool_exp | null),template_uuid?: (uuid_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface template_cache_delete_at_path_input {data?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface template_cache_delete_elem_input {data?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface template_cache_delete_key_input {data?: (Scalars['String'] | null)}


/** input type for inserting data into table "template_cache" */
export interface template_cache_insert_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),show?: (Scalars['Boolean'] | null),template?: (templates_obj_rel_insert_input | null),template_cache_accesses?: (template_cache_access_arr_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface template_cache_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    template_uuid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface template_cache_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    template_uuid?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "template_cache" */
export interface template_cache_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_cacheRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "template_cache" */
export interface template_cache_obj_rel_insert_input {data: template_cache_insert_input,
/** upsert condition */
on_conflict?: (template_cache_on_conflict | null)}


/** on_conflict condition type for table "template_cache" */
export interface template_cache_on_conflict {constraint: template_cache_constraint,update_columns: template_cache_update_column[],where?: (template_cache_bool_exp | null)}


/** Ordering options when selecting data from "template_cache". */
export interface template_cache_order_by {created_at?: (order_by | null),customer_id?: (order_by | null),data?: (order_by | null),directory_customers?: (directory_customers_order_by | null),show?: (order_by | null),template?: (templates_order_by | null),template_cache_accesses_aggregate?: (template_cache_access_aggregate_order_by | null),template_uuid?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: template_cache */
export interface template_cache_pk_columns_input {template_uuid: Scalars['uuid']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface template_cache_prepend_input {data?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "template_cache" */
export interface template_cache_set_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),show?: (Scalars['Boolean'] | null),template_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "template_cache" */
export interface template_cache_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_cache_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_cache_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),show?: (Scalars['Boolean'] | null),template_uuid?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface template_cache_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (template_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (template_cache_delete_at_path_input | null),
/** 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_elem?: (template_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (template_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (template_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_bool_exp}


/** columns and relationships of "template_flags" */
export interface template_flagsRequest{
    ask_for_phone_nr?: boolean | number
    auto_import?: boolean | number
    collapse_all?: boolean | number
    continuous?: boolean | number
    generate_on_start?: boolean | number
    genesis?: boolean | number
    import_pdf?: boolean | number
    reg_new_activity?: boolean | number
    rejectable?: boolean | number
    shareable?: boolean | number
    soknadid_required?: boolean | number
    template_id?: boolean | number
    /** An object relationship */
    templates?: templatesRequest
    user_context_me?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_flags" */
export interface template_flags_aggregateRequest{
    aggregate?: template_flags_aggregate_fieldsRequest
    nodes?: template_flagsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "template_flags" */
export interface template_flags_aggregate_fieldsRequest{
    avg?: template_flags_avg_fieldsRequest
    count?: [{columns?: (template_flags_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_flags_max_fieldsRequest
    min?: template_flags_min_fieldsRequest
    stddev?: template_flags_stddev_fieldsRequest
    stddev_pop?: template_flags_stddev_pop_fieldsRequest
    stddev_samp?: template_flags_stddev_samp_fieldsRequest
    sum?: template_flags_sum_fieldsRequest
    var_pop?: template_flags_var_pop_fieldsRequest
    var_samp?: template_flags_var_samp_fieldsRequest
    variance?: template_flags_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface template_flags_avg_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "template_flags". All fields are combined with a logical 'AND'. */
export interface template_flags_bool_exp {_and?: (template_flags_bool_exp[] | null),_not?: (template_flags_bool_exp | null),_or?: (template_flags_bool_exp[] | null),ask_for_phone_nr?: (Boolean_comparison_exp | null),auto_import?: (Boolean_comparison_exp | null),collapse_all?: (Boolean_comparison_exp | null),continuous?: (Boolean_comparison_exp | null),generate_on_start?: (Boolean_comparison_exp | null),genesis?: (Boolean_comparison_exp | null),import_pdf?: (Boolean_comparison_exp | null),reg_new_activity?: (Boolean_comparison_exp | null),rejectable?: (Boolean_comparison_exp | null),shareable?: (Boolean_comparison_exp | null),soknadid_required?: (Boolean_comparison_exp | null),template_id?: (bigint_comparison_exp | null),templates?: (templates_bool_exp | null),user_context_me?: (Boolean_comparison_exp | null)}


/** input type for incrementing numeric columns in table "template_flags" */
export interface template_flags_inc_input {template_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "template_flags" */
export interface template_flags_insert_input {ask_for_phone_nr?: (Scalars['Boolean'] | null),auto_import?: (Scalars['Boolean'] | null),collapse_all?: (Scalars['Boolean'] | null),continuous?: (Scalars['Boolean'] | null),generate_on_start?: (Scalars['Boolean'] | null),genesis?: (Scalars['Boolean'] | null),import_pdf?: (Scalars['Boolean'] | null),reg_new_activity?: (Scalars['Boolean'] | null),rejectable?: (Scalars['Boolean'] | null),shareable?: (Scalars['Boolean'] | null),soknadid_required?: (Scalars['Boolean'] | null),template_id?: (Scalars['bigint'] | null),templates?: (templates_obj_rel_insert_input | null),user_context_me?: (Scalars['Boolean'] | null)}


/** aggregate max on columns */
export interface template_flags_max_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface template_flags_min_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "template_flags" */
export interface template_flags_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_flagsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "template_flags" */
export interface template_flags_obj_rel_insert_input {data: template_flags_insert_input}


/** Ordering options when selecting data from "template_flags". */
export interface template_flags_order_by {ask_for_phone_nr?: (order_by | null),auto_import?: (order_by | null),collapse_all?: (order_by | null),continuous?: (order_by | null),generate_on_start?: (order_by | null),genesis?: (order_by | null),import_pdf?: (order_by | null),reg_new_activity?: (order_by | null),rejectable?: (order_by | null),shareable?: (order_by | null),soknadid_required?: (order_by | null),template_id?: (order_by | null),templates?: (templates_order_by | null),user_context_me?: (order_by | null)}


/** input type for updating data in table "template_flags" */
export interface template_flags_set_input {ask_for_phone_nr?: (Scalars['Boolean'] | null),auto_import?: (Scalars['Boolean'] | null),collapse_all?: (Scalars['Boolean'] | null),continuous?: (Scalars['Boolean'] | null),generate_on_start?: (Scalars['Boolean'] | null),genesis?: (Scalars['Boolean'] | null),import_pdf?: (Scalars['Boolean'] | null),reg_new_activity?: (Scalars['Boolean'] | null),rejectable?: (Scalars['Boolean'] | null),shareable?: (Scalars['Boolean'] | null),soknadid_required?: (Scalars['Boolean'] | null),template_id?: (Scalars['bigint'] | null),user_context_me?: (Scalars['Boolean'] | null)}


/** aggregate stddev on columns */
export interface template_flags_stddev_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface template_flags_stddev_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface template_flags_stddev_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "template_flags" */
export interface template_flags_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_flags_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_flags_stream_cursor_value_input {ask_for_phone_nr?: (Scalars['Boolean'] | null),auto_import?: (Scalars['Boolean'] | null),collapse_all?: (Scalars['Boolean'] | null),continuous?: (Scalars['Boolean'] | null),generate_on_start?: (Scalars['Boolean'] | null),genesis?: (Scalars['Boolean'] | null),import_pdf?: (Scalars['Boolean'] | null),reg_new_activity?: (Scalars['Boolean'] | null),rejectable?: (Scalars['Boolean'] | null),shareable?: (Scalars['Boolean'] | null),soknadid_required?: (Scalars['Boolean'] | null),template_id?: (Scalars['bigint'] | null),user_context_me?: (Scalars['Boolean'] | null)}


/** aggregate sum on columns */
export interface template_flags_sum_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_flags_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_flags_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_flags_set_input | null),
/** filter the rows which have to be updated */
where: template_flags_bool_exp}


/** aggregate var_pop on columns */
export interface template_flags_var_pop_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface template_flags_var_samp_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface template_flags_variance_fieldsRequest{
    template_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** @deprecated - do not use this table! Was moved to templates.journal_roles! */
export interface template_journal_rolesRequest{
    role?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_journal_roles" */
export interface template_journal_roles_aggregateRequest{
    aggregate?: template_journal_roles_aggregate_fieldsRequest
    nodes?: template_journal_rolesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_journal_roles_aggregate_bool_exp {count?: (template_journal_roles_aggregate_bool_exp_count | null)}

export interface template_journal_roles_aggregate_bool_exp_count {arguments?: (template_journal_roles_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (template_journal_roles_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "template_journal_roles" */
export interface template_journal_roles_aggregate_fieldsRequest{
    count?: [{columns?: (template_journal_roles_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_journal_roles_max_fieldsRequest
    min?: template_journal_roles_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "template_journal_roles" */
export interface template_journal_roles_aggregate_order_by {count?: (order_by | null),max?: (template_journal_roles_max_order_by | null),min?: (template_journal_roles_min_order_by | null)}


/** input type for inserting array relation for remote table "template_journal_roles" */
export interface template_journal_roles_arr_rel_insert_input {data: template_journal_roles_insert_input[],
/** upsert condition */
on_conflict?: (template_journal_roles_on_conflict | null)}


/** Boolean expression to filter rows from the table "template_journal_roles". All fields are combined with a logical 'AND'. */
export interface template_journal_roles_bool_exp {_and?: (template_journal_roles_bool_exp[] | null),_not?: (template_journal_roles_bool_exp | null),_or?: (template_journal_roles_bool_exp[] | null),role?: (String_comparison_exp | null),template?: (templates_bool_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "template_journal_roles" */
export interface template_journal_roles_insert_input {role?: (Scalars['String'] | null),template?: (templates_obj_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface template_journal_roles_max_fieldsRequest{
    role?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "template_journal_roles" */
export interface template_journal_roles_max_order_by {role?: (order_by | null),template_uuid?: (order_by | null)}


/** aggregate min on columns */
export interface template_journal_roles_min_fieldsRequest{
    role?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "template_journal_roles" */
export interface template_journal_roles_min_order_by {role?: (order_by | null),template_uuid?: (order_by | null)}


/** response of any mutation on the table "template_journal_roles" */
export interface template_journal_roles_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_journal_rolesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "template_journal_roles" */
export interface template_journal_roles_on_conflict {constraint: template_journal_roles_constraint,update_columns: template_journal_roles_update_column[],where?: (template_journal_roles_bool_exp | null)}


/** Ordering options when selecting data from "template_journal_roles". */
export interface template_journal_roles_order_by {role?: (order_by | null),template?: (templates_order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: template_journal_roles */
export interface template_journal_roles_pk_columns_input {role: Scalars['String'],template_uuid: Scalars['uuid']}


/** input type for updating data in table "template_journal_roles" */
export interface template_journal_roles_set_input {role?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "template_journal_roles" */
export interface template_journal_roles_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_journal_roles_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_journal_roles_stream_cursor_value_input {role?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}

export interface template_journal_roles_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (template_journal_roles_set_input | null),
/** filter the rows which have to be updated */
where: template_journal_roles_bool_exp}


/** @deprecated - Do not use this table! Was moved to templates.offer_types'JSONB! */
export interface template_offer_typesRequest{
    offer_type?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_offer_types" */
export interface template_offer_types_aggregateRequest{
    aggregate?: template_offer_types_aggregate_fieldsRequest
    nodes?: template_offer_typesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_offer_types_aggregate_bool_exp {count?: (template_offer_types_aggregate_bool_exp_count | null)}

export interface template_offer_types_aggregate_bool_exp_count {arguments?: (template_offer_types_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (template_offer_types_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "template_offer_types" */
export interface template_offer_types_aggregate_fieldsRequest{
    count?: [{columns?: (template_offer_types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_offer_types_max_fieldsRequest
    min?: template_offer_types_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "template_offer_types" */
export interface template_offer_types_aggregate_order_by {count?: (order_by | null),max?: (template_offer_types_max_order_by | null),min?: (template_offer_types_min_order_by | null)}


/** input type for inserting array relation for remote table "template_offer_types" */
export interface template_offer_types_arr_rel_insert_input {data: template_offer_types_insert_input[],
/** upsert condition */
on_conflict?: (template_offer_types_on_conflict | null)}


/** Boolean expression to filter rows from the table "template_offer_types". All fields are combined with a logical 'AND'. */
export interface template_offer_types_bool_exp {_and?: (template_offer_types_bool_exp[] | null),_not?: (template_offer_types_bool_exp | null),_or?: (template_offer_types_bool_exp[] | null),offer_type?: (String_comparison_exp | null),template?: (templates_bool_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "template_offer_types" */
export interface template_offer_types_insert_input {offer_type?: (Scalars['String'] | null),template?: (templates_obj_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface template_offer_types_max_fieldsRequest{
    offer_type?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "template_offer_types" */
export interface template_offer_types_max_order_by {offer_type?: (order_by | null),template_uuid?: (order_by | null)}


/** aggregate min on columns */
export interface template_offer_types_min_fieldsRequest{
    offer_type?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "template_offer_types" */
export interface template_offer_types_min_order_by {offer_type?: (order_by | null),template_uuid?: (order_by | null)}


/** response of any mutation on the table "template_offer_types" */
export interface template_offer_types_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_offer_typesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "template_offer_types" */
export interface template_offer_types_on_conflict {constraint: template_offer_types_constraint,update_columns: template_offer_types_update_column[],where?: (template_offer_types_bool_exp | null)}


/** Ordering options when selecting data from "template_offer_types". */
export interface template_offer_types_order_by {offer_type?: (order_by | null),template?: (templates_order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: template_offer_types */
export interface template_offer_types_pk_columns_input {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}


/** input type for updating data in table "template_offer_types" */
export interface template_offer_types_set_input {offer_type?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "template_offer_types" */
export interface template_offer_types_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_offer_types_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_offer_types_stream_cursor_value_input {offer_type?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}

export interface template_offer_types_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offer_types_set_input | null),
/** filter the rows which have to be updated */
where: template_offer_types_bool_exp}


/** @deprecated - do not use this table! was moved into templates.offers'JSONB field */
export interface template_offersRequest{
    offer?: boolean | number
    /** An object relationship */
    template?: templatesRequest
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "template_offers" */
export interface template_offers_aggregateRequest{
    aggregate?: template_offers_aggregate_fieldsRequest
    nodes?: template_offersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface template_offers_aggregate_bool_exp {count?: (template_offers_aggregate_bool_exp_count | null)}

export interface template_offers_aggregate_bool_exp_count {arguments?: (template_offers_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (template_offers_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "template_offers" */
export interface template_offers_aggregate_fieldsRequest{
    count?: [{columns?: (template_offers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: template_offers_max_fieldsRequest
    min?: template_offers_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "template_offers" */
export interface template_offers_aggregate_order_by {count?: (order_by | null),max?: (template_offers_max_order_by | null),min?: (template_offers_min_order_by | null)}


/** input type for inserting array relation for remote table "template_offers" */
export interface template_offers_arr_rel_insert_input {data: template_offers_insert_input[],
/** upsert condition */
on_conflict?: (template_offers_on_conflict | null)}


/** Boolean expression to filter rows from the table "template_offers". All fields are combined with a logical 'AND'. */
export interface template_offers_bool_exp {_and?: (template_offers_bool_exp[] | null),_not?: (template_offers_bool_exp | null),_or?: (template_offers_bool_exp[] | null),offer?: (String_comparison_exp | null),template?: (templates_bool_exp | null),template_uuid?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "template_offers" */
export interface template_offers_insert_input {offer?: (Scalars['String'] | null),template?: (templates_obj_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface template_offers_max_fieldsRequest{
    offer?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "template_offers" */
export interface template_offers_max_order_by {offer?: (order_by | null),template_uuid?: (order_by | null)}


/** aggregate min on columns */
export interface template_offers_min_fieldsRequest{
    offer?: boolean | number
    template_uuid?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "template_offers" */
export interface template_offers_min_order_by {offer?: (order_by | null),template_uuid?: (order_by | null)}


/** response of any mutation on the table "template_offers" */
export interface template_offers_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: template_offersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "template_offers" */
export interface template_offers_on_conflict {constraint: template_offers_constraint,update_columns: template_offers_update_column[],where?: (template_offers_bool_exp | null)}


/** Ordering options when selecting data from "template_offers". */
export interface template_offers_order_by {offer?: (order_by | null),template?: (templates_order_by | null),template_uuid?: (order_by | null)}


/** primary key columns input for table: template_offers */
export interface template_offers_pk_columns_input {offer: Scalars['String'],template_uuid: Scalars['uuid']}


/** input type for updating data in table "template_offers" */
export interface template_offers_set_input {offer?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "template_offers" */
export interface template_offers_stream_cursor_input {
/** Stream column input with initial value */
initial_value: template_offers_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface template_offers_stream_cursor_value_input {offer?: (Scalars['String'] | null),template_uuid?: (Scalars['uuid'] | null)}

export interface template_offers_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offers_set_input | null),
/** filter the rows which have to be updated */
where: template_offers_bool_exp}


/** columns and relationships of "templates" */
export interface templatesRequest{
    accessible?: boolean | number
    /** An object relationship */
    accessibleByAccessible?: accessibleRequest
    archived?: boolean | number
    attributes?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    changed_by?: boolean | number
    /** An array relationship */
    consent_template_to_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_templateRequest] | consent_template_to_templateRequest
    /** An aggregate relationship */
    consent_template_to_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_template_to_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_template_to_template_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_template_to_template_bool_exp | null)},consent_template_to_template_aggregateRequest] | consent_template_to_template_aggregateRequest
    context?: boolean | number
    /** An object relationship */
    context_by_name?: contextsRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An object relationship */
    directory_customers?: directory_customersRequest
    /** An array relationship */
    favorite_templates_order?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_orderRequest] | favorite_templates_orderRequest
    /** An aggregate relationship */
    favorite_templates_order_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (favorite_templates_order_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (favorite_templates_order_order_by[] | null),
    /** filter the rows returned */
    where?: (favorite_templates_order_bool_exp | null)},favorite_templates_order_aggregateRequest] | favorite_templates_order_aggregateRequest
    /** An object relationship */
    flags?: template_flagsRequest
    /** An array relationship */
    genesis_denied_permissions?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissionsRequest] | genesis_denied_permissionsRequest
    /** An aggregate relationship */
    genesis_denied_permissions_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_denied_permissions_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_denied_permissions_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_denied_permissions_bool_exp | null)},genesis_denied_permissions_aggregateRequest] | genesis_denied_permissions_aggregateRequest
    /** An array relationship */
    genesis_templates?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templatesRequest] | genesis_templatesRequest
    /** An aggregate relationship */
    genesis_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (genesis_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (genesis_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (genesis_templates_bool_exp | null)},genesis_templates_aggregateRequest] | genesis_templates_aggregateRequest
    hide?: boolean | number
    id?: boolean | number
    journal_roles?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    offer_types?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    offers?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    plan_category?: boolean | number
    /** An array relationship */
    qnr_template_genesis_overrides?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overridesRequest] | qnr_template_genesis_overridesRequest
    /** An aggregate relationship */
    qnr_template_genesis_overrides_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (qnr_template_genesis_overrides_order_by[] | null),
    /** filter the rows returned */
    where?: (qnr_template_genesis_overrides_bool_exp | null)},qnr_template_genesis_overrides_aggregateRequest] | qnr_template_genesis_overrides_aggregateRequest
    /** An array relationship */
    queries?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queriesRequest] | queriesRequest
    /** An aggregate relationship */
    queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (queries_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (queries_order_by[] | null),
    /** filter the rows returned */
    where?: (queries_bool_exp | null)},queries_aggregateRequest] | queries_aggregateRequest
    /** An array relationship */
    question_templates?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_templateRequest] | question_templateRequest
    /** An aggregate relationship */
    question_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (question_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (question_template_order_by[] | null),
    /** filter the rows returned */
    where?: (question_template_bool_exp | null)},question_template_aggregateRequest] | question_template_aggregateRequest
    region?: boolean | number
    settings_ui?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An array relationship */
    sms_template_templates?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_templateRequest] | sms_template_templateRequest
    /** An aggregate relationship */
    sms_template_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (sms_template_template_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (sms_template_template_order_by[] | null),
    /** filter the rows returned */
    where?: (sms_template_template_bool_exp | null)},sms_template_template_aggregateRequest] | sms_template_template_aggregateRequest
    /** An array relationship */
    template_artifact_parcels?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcelRequest] | template_artifact_parcelRequest
    /** An aggregate relationship */
    template_artifact_parcels_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_artifact_parcel_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_artifact_parcel_order_by[] | null),
    /** filter the rows returned */
    where?: (template_artifact_parcel_bool_exp | null)},template_artifact_parcel_aggregateRequest] | template_artifact_parcel_aggregateRequest
    /** An object relationship */
    template_cache?: template_cacheRequest
    /** An array relationship */
    template_journal_roles?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_rolesRequest] | template_journal_rolesRequest
    /** An aggregate relationship */
    template_journal_roles_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_journal_roles_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_journal_roles_order_by[] | null),
    /** filter the rows returned */
    where?: (template_journal_roles_bool_exp | null)},template_journal_roles_aggregateRequest] | template_journal_roles_aggregateRequest
    /** An array relationship */
    template_offer_types?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_typesRequest] | template_offer_typesRequest
    /** An aggregate relationship */
    template_offer_types_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offer_types_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offer_types_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offer_types_bool_exp | null)},template_offer_types_aggregateRequest] | template_offer_types_aggregateRequest
    /** An array relationship */
    template_offers?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offersRequest] | template_offersRequest
    /** An aggregate relationship */
    template_offers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (template_offers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (template_offers_order_by[] | null),
    /** filter the rows returned */
    where?: (template_offers_bool_exp | null)},template_offers_aggregateRequest] | template_offers_aggregateRequest
    template_uuid?: boolean | number
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "templates" */
export interface templates_aggregateRequest{
    aggregate?: templates_aggregate_fieldsRequest
    nodes?: templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface templates_aggregate_bool_exp {bool_and?: (templates_aggregate_bool_exp_bool_and | null),bool_or?: (templates_aggregate_bool_exp_bool_or | null),count?: (templates_aggregate_bool_exp_count | null)}

export interface templates_aggregate_bool_exp_bool_and {arguments: templates_select_column_templates_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface templates_aggregate_bool_exp_bool_or {arguments: templates_select_column_templates_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (templates_bool_exp | null),predicate: Boolean_comparison_exp}

export interface templates_aggregate_bool_exp_count {arguments?: (templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (templates_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "templates" */
export interface templates_aggregate_fieldsRequest{
    avg?: templates_avg_fieldsRequest
    count?: [{columns?: (templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: templates_max_fieldsRequest
    min?: templates_min_fieldsRequest
    stddev?: templates_stddev_fieldsRequest
    stddev_pop?: templates_stddev_pop_fieldsRequest
    stddev_samp?: templates_stddev_samp_fieldsRequest
    sum?: templates_sum_fieldsRequest
    var_pop?: templates_var_pop_fieldsRequest
    var_samp?: templates_var_samp_fieldsRequest
    variance?: templates_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "templates" */
export interface templates_aggregate_order_by {avg?: (templates_avg_order_by | null),count?: (order_by | null),max?: (templates_max_order_by | null),min?: (templates_min_order_by | null),stddev?: (templates_stddev_order_by | null),stddev_pop?: (templates_stddev_pop_order_by | null),stddev_samp?: (templates_stddev_samp_order_by | null),sum?: (templates_sum_order_by | null),var_pop?: (templates_var_pop_order_by | null),var_samp?: (templates_var_samp_order_by | null),variance?: (templates_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface templates_append_input {attributes?: (Scalars['jsonb'] | null),journal_roles?: (Scalars['jsonb'] | null),offer_types?: (Scalars['jsonb'] | null),offers?: (Scalars['jsonb'] | null),settings_ui?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "templates" */
export interface templates_arr_rel_insert_input {data: templates_insert_input[],
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}


/** aggregate avg on columns */
export interface templates_avg_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "templates" */
export interface templates_avg_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** Boolean expression to filter rows from the table "templates". All fields are combined with a logical 'AND'. */
export interface templates_bool_exp {_and?: (templates_bool_exp[] | null),_not?: (templates_bool_exp | null),_or?: (templates_bool_exp[] | null),accessible?: (accessible_enum_comparison_exp | null),accessibleByAccessible?: (accessible_bool_exp | null),archived?: (Boolean_comparison_exp | null),attributes?: (jsonb_comparison_exp | null),changed_by?: (String_comparison_exp | null),consent_template_to_templates?: (consent_template_to_template_bool_exp | null),consent_template_to_templates_aggregate?: (consent_template_to_template_aggregate_bool_exp | null),context?: (String_comparison_exp | null),context_by_name?: (contexts_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directory_customers?: (directory_customers_bool_exp | null),favorite_templates_order?: (favorite_templates_order_bool_exp | null),favorite_templates_order_aggregate?: (favorite_templates_order_aggregate_bool_exp | null),flags?: (template_flags_bool_exp | null),genesis_denied_permissions?: (genesis_denied_permissions_bool_exp | null),genesis_denied_permissions_aggregate?: (genesis_denied_permissions_aggregate_bool_exp | null),genesis_templates?: (genesis_templates_bool_exp | null),genesis_templates_aggregate?: (genesis_templates_aggregate_bool_exp | null),hide?: (Boolean_comparison_exp | null),id?: (bigint_comparison_exp | null),journal_roles?: (jsonb_comparison_exp | null),offer?: (Int_comparison_exp | null),offer_type?: (Int_comparison_exp | null),offer_types?: (jsonb_comparison_exp | null),offers?: (jsonb_comparison_exp | null),plan_category?: (Int_comparison_exp | null),qnr_template_genesis_overrides?: (qnr_template_genesis_overrides_bool_exp | null),qnr_template_genesis_overrides_aggregate?: (qnr_template_genesis_overrides_aggregate_bool_exp | null),queries?: (queries_bool_exp | null),queries_aggregate?: (queries_aggregate_bool_exp | null),question_templates?: (question_template_bool_exp | null),question_templates_aggregate?: (question_template_aggregate_bool_exp | null),region?: (String_comparison_exp | null),settings_ui?: (jsonb_comparison_exp | null),sms_template_templates?: (sms_template_template_bool_exp | null),sms_template_templates_aggregate?: (sms_template_template_aggregate_bool_exp | null),template_artifact_parcels?: (template_artifact_parcel_bool_exp | null),template_artifact_parcels_aggregate?: (template_artifact_parcel_aggregate_bool_exp | null),template_cache?: (template_cache_bool_exp | null),template_journal_roles?: (template_journal_roles_bool_exp | null),template_journal_roles_aggregate?: (template_journal_roles_aggregate_bool_exp | null),template_offer_types?: (template_offer_types_bool_exp | null),template_offer_types_aggregate?: (template_offer_types_aggregate_bool_exp | null),template_offers?: (template_offers_bool_exp | null),template_offers_aggregate?: (template_offers_aggregate_bool_exp | null),template_uuid?: (uuid_comparison_exp | null),therapist_role?: (String_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null),valid_days?: (Int_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface templates_delete_at_path_input {attributes?: (Scalars['String'][] | null),journal_roles?: (Scalars['String'][] | null),offer_types?: (Scalars['String'][] | null),offers?: (Scalars['String'][] | null),settings_ui?: (Scalars['String'][] | null)}


/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
export interface templates_delete_elem_input {attributes?: (Scalars['Int'] | null),journal_roles?: (Scalars['Int'] | null),offer_types?: (Scalars['Int'] | null),offers?: (Scalars['Int'] | null),settings_ui?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface templates_delete_key_input {attributes?: (Scalars['String'] | null),journal_roles?: (Scalars['String'] | null),offer_types?: (Scalars['String'] | null),offers?: (Scalars['String'] | null),settings_ui?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "templates" */
export interface templates_inc_input {id?: (Scalars['bigint'] | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (Scalars['Int'] | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (Scalars['Int'] | null),plan_category?: (Scalars['Int'] | null),valid_days?: (Scalars['Int'] | null)}


/** input type for inserting data into table "templates" */
export interface templates_insert_input {accessible?: (accessible_enum | null),accessibleByAccessible?: (accessible_obj_rel_insert_input | null),archived?: (Scalars['Boolean'] | null),attributes?: (Scalars['jsonb'] | null),changed_by?: (Scalars['String'] | null),consent_template_to_templates?: (consent_template_to_template_arr_rel_insert_input | null),context?: (Scalars['String'] | null),context_by_name?: (contexts_obj_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),directory_customers?: (directory_customers_obj_rel_insert_input | null),favorite_templates_order?: (favorite_templates_order_arr_rel_insert_input | null),flags?: (template_flags_obj_rel_insert_input | null),genesis_denied_permissions?: (genesis_denied_permissions_arr_rel_insert_input | null),genesis_templates?: (genesis_templates_arr_rel_insert_input | null),hide?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),journal_roles?: (Scalars['jsonb'] | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (Scalars['Int'] | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (Scalars['Int'] | null),offer_types?: (Scalars['jsonb'] | null),offers?: (Scalars['jsonb'] | null),plan_category?: (Scalars['Int'] | null),qnr_template_genesis_overrides?: (qnr_template_genesis_overrides_arr_rel_insert_input | null),queries?: (queries_arr_rel_insert_input | null),question_templates?: (question_template_arr_rel_insert_input | null),region?: (Scalars['String'] | null),settings_ui?: (Scalars['jsonb'] | null),sms_template_templates?: (sms_template_template_arr_rel_insert_input | null),template_artifact_parcels?: (template_artifact_parcel_arr_rel_insert_input | null),template_cache?: (template_cache_obj_rel_insert_input | null),template_journal_roles?: (template_journal_roles_arr_rel_insert_input | null),template_offer_types?: (template_offer_types_arr_rel_insert_input | null),template_offers?: (template_offers_arr_rel_insert_input | null),template_uuid?: (Scalars['uuid'] | null),
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['Int'] | null)}


/** aggregate max on columns */
export interface templates_max_fieldsRequest{
    changed_by?: boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    region?: boolean | number
    template_uuid?: boolean | number
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "templates" */
export interface templates_max_order_by {changed_by?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),region?: (order_by | null),template_uuid?: (order_by | null),
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate min on columns */
export interface templates_min_fieldsRequest{
    changed_by?: boolean | number
    context?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    region?: boolean | number
    template_uuid?: boolean | number
    /** @deprecated - use `templates.journal_roles`JSONB instead */
    therapist_role?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "templates" */
export interface templates_min_order_by {changed_by?: (order_by | null),context?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),region?: (order_by | null),template_uuid?: (order_by | null),
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null)}


/** response of any mutation on the table "templates" */
export interface templates_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: templatesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "templates" */
export interface templates_obj_rel_insert_input {data: templates_insert_input,
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}


/** on_conflict condition type for table "templates" */
export interface templates_on_conflict {constraint: templates_constraint,update_columns: templates_update_column[],where?: (templates_bool_exp | null)}


/** Ordering options when selecting data from "templates". */
export interface templates_order_by {accessible?: (order_by | null),accessibleByAccessible?: (accessible_order_by | null),archived?: (order_by | null),attributes?: (order_by | null),changed_by?: (order_by | null),consent_template_to_templates_aggregate?: (consent_template_to_template_aggregate_order_by | null),context?: (order_by | null),context_by_name?: (contexts_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),directory_customers?: (directory_customers_order_by | null),favorite_templates_order_aggregate?: (favorite_templates_order_aggregate_order_by | null),flags?: (template_flags_order_by | null),genesis_denied_permissions_aggregate?: (genesis_denied_permissions_aggregate_order_by | null),genesis_templates_aggregate?: (genesis_templates_aggregate_order_by | null),hide?: (order_by | null),id?: (order_by | null),journal_roles?: (order_by | null),offer?: (order_by | null),offer_type?: (order_by | null),offer_types?: (order_by | null),offers?: (order_by | null),plan_category?: (order_by | null),qnr_template_genesis_overrides_aggregate?: (qnr_template_genesis_overrides_aggregate_order_by | null),queries_aggregate?: (queries_aggregate_order_by | null),question_templates_aggregate?: (question_template_aggregate_order_by | null),region?: (order_by | null),settings_ui?: (order_by | null),sms_template_templates_aggregate?: (sms_template_template_aggregate_order_by | null),template_artifact_parcels_aggregate?: (template_artifact_parcel_aggregate_order_by | null),template_cache?: (template_cache_order_by | null),template_journal_roles_aggregate?: (template_journal_roles_aggregate_order_by | null),template_offer_types_aggregate?: (template_offer_types_aggregate_order_by | null),template_offers_aggregate?: (template_offers_aggregate_order_by | null),template_uuid?: (order_by | null),therapist_role?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),valid_days?: (order_by | null)}


/** primary key columns input for table: templates */
export interface templates_pk_columns_input {id: Scalars['bigint']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface templates_prepend_input {attributes?: (Scalars['jsonb'] | null),journal_roles?: (Scalars['jsonb'] | null),offer_types?: (Scalars['jsonb'] | null),offers?: (Scalars['jsonb'] | null),settings_ui?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "templates" */
export interface templates_set_input {accessible?: (accessible_enum | null),archived?: (Scalars['Boolean'] | null),attributes?: (Scalars['jsonb'] | null),changed_by?: (Scalars['String'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),hide?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),journal_roles?: (Scalars['jsonb'] | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (Scalars['Int'] | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (Scalars['Int'] | null),offer_types?: (Scalars['jsonb'] | null),offers?: (Scalars['jsonb'] | null),plan_category?: (Scalars['Int'] | null),region?: (Scalars['String'] | null),settings_ui?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null),
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['Int'] | null)}


/** aggregate stddev on columns */
export interface templates_stddev_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "templates" */
export interface templates_stddev_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface templates_stddev_pop_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "templates" */
export interface templates_stddev_pop_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface templates_stddev_samp_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "templates" */
export interface templates_stddev_samp_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** Streaming cursor of the table "templates" */
export interface templates_stream_cursor_input {
/** Stream column input with initial value */
initial_value: templates_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface templates_stream_cursor_value_input {accessible?: (accessible_enum | null),archived?: (Scalars['Boolean'] | null),attributes?: (Scalars['jsonb'] | null),changed_by?: (Scalars['String'] | null),context?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),hide?: (Scalars['Boolean'] | null),id?: (Scalars['bigint'] | null),journal_roles?: (Scalars['jsonb'] | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (Scalars['Int'] | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (Scalars['Int'] | null),offer_types?: (Scalars['jsonb'] | null),offers?: (Scalars['jsonb'] | null),plan_category?: (Scalars['Int'] | null),region?: (Scalars['String'] | null),settings_ui?: (Scalars['jsonb'] | null),template_uuid?: (Scalars['uuid'] | null),
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role?: (Scalars['String'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null),valid_days?: (Scalars['Int'] | null)}


/** aggregate sum on columns */
export interface templates_sum_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "templates" */
export interface templates_sum_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}

export interface templates_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (templates_delete_at_path_input | null),
/** 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_elem?: (templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (templates_set_input | null),
/** filter the rows which have to be updated */
where: templates_bool_exp}


/** aggregate var_pop on columns */
export interface templates_var_pop_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "templates" */
export interface templates_var_pop_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate var_samp on columns */
export interface templates_var_samp_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "templates" */
export interface templates_var_samp_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** aggregate variance on columns */
export interface templates_variance_fieldsRequest{
    id?: boolean | number
    /** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
    offer?: boolean | number
    /** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
    offer_type?: boolean | number
    plan_category?: boolean | number
    valid_days?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "templates" */
export interface templates_variance_order_by {id?: (order_by | null),
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer?: (order_by | null),
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type?: (order_by | null),plan_category?: (order_by | null),valid_days?: (order_by | null)}


/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */
export interface timestamptz_comparison_exp {_eq?: (Scalars['timestamptz'] | null),_gt?: (Scalars['timestamptz'] | null),_gte?: (Scalars['timestamptz'] | null),_in?: (Scalars['timestamptz'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['timestamptz'] | null),_lte?: (Scalars['timestamptz'] | null),_neq?: (Scalars['timestamptz'] | null),_nin?: (Scalars['timestamptz'][] | null)}


/** columns and relationships of "types" */
export interface typesRequest{
    comment?: boolean | number
    /** An array relationship */
    consent_templates?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templatesRequest] | consent_templatesRequest
    /** An aggregate relationship */
    consent_templates_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consent_templates_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consent_templates_order_by[] | null),
    /** filter the rows returned */
    where?: (consent_templates_bool_exp | null)},consent_templates_aggregateRequest] | consent_templates_aggregateRequest
    /** An array relationship */
    consents?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consentsRequest] | consentsRequest
    /** An aggregate relationship */
    consents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (consents_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (consents_order_by[] | null),
    /** filter the rows returned */
    where?: (consents_bool_exp | null)},consents_aggregateRequest] | consents_aggregateRequest
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "types" */
export interface types_aggregateRequest{
    aggregate?: types_aggregate_fieldsRequest
    nodes?: typesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "types" */
export interface types_aggregate_fieldsRequest{
    count?: [{columns?: (types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: types_max_fieldsRequest
    min?: types_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "types". All fields are combined with a logical 'AND'. */
export interface types_bool_exp {_and?: (types_bool_exp[] | null),_not?: (types_bool_exp | null),_or?: (types_bool_exp[] | null),comment?: (String_comparison_exp | null),consent_templates?: (consent_templates_bool_exp | null),consent_templates_aggregate?: (consent_templates_aggregate_bool_exp | null),consents?: (consents_bool_exp | null),consents_aggregate?: (consents_aggregate_bool_exp | null),name?: (String_comparison_exp | null)}


/** Boolean expression to compare columns of type "types_enum". All fields are combined with logical 'AND'. */
export interface types_enum_comparison_exp {_eq?: (types_enum | null),_in?: (types_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (types_enum | null),_nin?: (types_enum[] | null)}


/** input type for inserting data into table "types" */
export interface types_insert_input {comment?: (Scalars['String'] | null),consent_templates?: (consent_templates_arr_rel_insert_input | null),consents?: (consents_arr_rel_insert_input | null),name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface types_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface types_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "types" */
export interface types_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: typesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "types" */
export interface types_obj_rel_insert_input {data: types_insert_input,
/** upsert condition */
on_conflict?: (types_on_conflict | null)}


/** on_conflict condition type for table "types" */
export interface types_on_conflict {constraint: types_constraint,update_columns: types_update_column[],where?: (types_bool_exp | null)}


/** Ordering options when selecting data from "types". */
export interface types_order_by {comment?: (order_by | null),consent_templates_aggregate?: (consent_templates_aggregate_order_by | null),consents_aggregate?: (consents_aggregate_order_by | null),name?: (order_by | null)}


/** primary key columns input for table: types */
export interface types_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "types" */
export interface types_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "types" */
export interface types_stream_cursor_input {
/** Stream column input with initial value */
initial_value: types_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface types_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface types_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (types_set_input | null),
/** filter the rows which have to be updated */
where: types_bool_exp}


/** columns and relationships of "unseen_documents" */
export interface unseen_documentsRequest{
    archived?: boolean | number
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "unseen_documents" */
export interface unseen_documents_aggregateRequest{
    aggregate?: unseen_documents_aggregate_fieldsRequest
    nodes?: unseen_documentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "unseen_documents" */
export interface unseen_documents_aggregate_fieldsRequest{
    avg?: unseen_documents_avg_fieldsRequest
    count?: [{columns?: (unseen_documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: unseen_documents_max_fieldsRequest
    min?: unseen_documents_min_fieldsRequest
    stddev?: unseen_documents_stddev_fieldsRequest
    stddev_pop?: unseen_documents_stddev_pop_fieldsRequest
    stddev_samp?: unseen_documents_stddev_samp_fieldsRequest
    sum?: unseen_documents_sum_fieldsRequest
    var_pop?: unseen_documents_var_pop_fieldsRequest
    var_samp?: unseen_documents_var_samp_fieldsRequest
    variance?: unseen_documents_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface unseen_documents_avg_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "unseen_documents". All fields are combined with a logical 'AND'. */
export interface unseen_documents_bool_exp {_and?: (unseen_documents_bool_exp[] | null),_not?: (unseen_documents_bool_exp | null),_or?: (unseen_documents_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),initiator?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),soknad_id?: (String_comparison_exp | null),total?: (bigint_comparison_exp | null)}


/** aggregate max on columns */
export interface unseen_documents_max_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface unseen_documents_min_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "unseen_documents". */
export interface unseen_documents_order_by {archived?: (order_by | null),customer_id?: (order_by | null),initiator?: (order_by | null),patient_id?: (order_by | null),soknad_id?: (order_by | null),total?: (order_by | null)}


/** aggregate stddev on columns */
export interface unseen_documents_stddev_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface unseen_documents_stddev_pop_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface unseen_documents_stddev_samp_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "unseen_documents" */
export interface unseen_documents_stream_cursor_input {
/** Stream column input with initial value */
initial_value: unseen_documents_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface unseen_documents_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),soknad_id?: (Scalars['String'] | null),total?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface unseen_documents_sum_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_pop on columns */
export interface unseen_documents_var_pop_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface unseen_documents_var_samp_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface unseen_documents_variance_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "unseen_queries" */
export interface unseen_queriesRequest{
    archived?: boolean | number
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "unseen_queries" */
export interface unseen_queries_aggregateRequest{
    aggregate?: unseen_queries_aggregate_fieldsRequest
    nodes?: unseen_queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "unseen_queries" */
export interface unseen_queries_aggregate_fieldsRequest{
    avg?: unseen_queries_avg_fieldsRequest
    count?: [{columns?: (unseen_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: unseen_queries_max_fieldsRequest
    min?: unseen_queries_min_fieldsRequest
    stddev?: unseen_queries_stddev_fieldsRequest
    stddev_pop?: unseen_queries_stddev_pop_fieldsRequest
    stddev_samp?: unseen_queries_stddev_samp_fieldsRequest
    sum?: unseen_queries_sum_fieldsRequest
    var_pop?: unseen_queries_var_pop_fieldsRequest
    var_samp?: unseen_queries_var_samp_fieldsRequest
    variance?: unseen_queries_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface unseen_queries_avg_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "unseen_queries". All fields are combined with a logical 'AND'. */
export interface unseen_queries_bool_exp {_and?: (unseen_queries_bool_exp[] | null),_not?: (unseen_queries_bool_exp | null),_or?: (unseen_queries_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),initiator?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),soknad_id?: (String_comparison_exp | null),total?: (bigint_comparison_exp | null)}


/** aggregate max on columns */
export interface unseen_queries_max_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface unseen_queries_min_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "unseen_queries". */
export interface unseen_queries_order_by {archived?: (order_by | null),customer_id?: (order_by | null),initiator?: (order_by | null),patient_id?: (order_by | null),soknad_id?: (order_by | null),total?: (order_by | null)}


/** aggregate stddev on columns */
export interface unseen_queries_stddev_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface unseen_queries_stddev_pop_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface unseen_queries_stddev_samp_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "unseen_queries" */
export interface unseen_queries_stream_cursor_input {
/** Stream column input with initial value */
initial_value: unseen_queries_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface unseen_queries_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),initiator?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),soknad_id?: (Scalars['String'] | null),total?: (Scalars['bigint'] | null)}


/** aggregate sum on columns */
export interface unseen_queries_sum_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_pop on columns */
export interface unseen_queries_var_pop_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface unseen_queries_var_samp_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface unseen_queries_variance_fieldsRequest{
    total?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
export interface uuid_comparison_exp {_eq?: (Scalars['uuid'] | null),_gt?: (Scalars['uuid'] | null),_gte?: (Scalars['uuid'] | null),_in?: (Scalars['uuid'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['uuid'] | null),_lte?: (Scalars['uuid'] | null),_neq?: (Scalars['uuid'] | null),_nin?: (Scalars['uuid'][] | null)}

export type QueryRequest = query_rootRequest
export type MutationRequest = mutation_rootRequest
export type SubscriptionRequest = subscription_rootRequest


const DocKladd_properties_possibleTypes: string[] = ['DocKladd_properties']
export const isDocKladd_properties = (obj?: { __typename?: any } | null): obj is DocKladd_properties => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties"')
  return DocKladd_properties_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_aggregate_possibleTypes: string[] = ['DocKladd_properties_aggregate']
export const isDocKladd_properties_aggregate = (obj?: { __typename?: any } | null): obj is DocKladd_properties_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_aggregate"')
  return DocKladd_properties_aggregate_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_aggregate_fields_possibleTypes: string[] = ['DocKladd_properties_aggregate_fields']
export const isDocKladd_properties_aggregate_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_aggregate_fields"')
  return DocKladd_properties_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_avg_fields_possibleTypes: string[] = ['DocKladd_properties_avg_fields']
export const isDocKladd_properties_avg_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_avg_fields"')
  return DocKladd_properties_avg_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_max_fields_possibleTypes: string[] = ['DocKladd_properties_max_fields']
export const isDocKladd_properties_max_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_max_fields"')
  return DocKladd_properties_max_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_min_fields_possibleTypes: string[] = ['DocKladd_properties_min_fields']
export const isDocKladd_properties_min_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_min_fields"')
  return DocKladd_properties_min_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_mutation_response_possibleTypes: string[] = ['DocKladd_properties_mutation_response']
export const isDocKladd_properties_mutation_response = (obj?: { __typename?: any } | null): obj is DocKladd_properties_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_mutation_response"')
  return DocKladd_properties_mutation_response_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_stddev_fields_possibleTypes: string[] = ['DocKladd_properties_stddev_fields']
export const isDocKladd_properties_stddev_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_stddev_fields"')
  return DocKladd_properties_stddev_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_stddev_pop_fields_possibleTypes: string[] = ['DocKladd_properties_stddev_pop_fields']
export const isDocKladd_properties_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_stddev_pop_fields"')
  return DocKladd_properties_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_stddev_samp_fields_possibleTypes: string[] = ['DocKladd_properties_stddev_samp_fields']
export const isDocKladd_properties_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_stddev_samp_fields"')
  return DocKladd_properties_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_sum_fields_possibleTypes: string[] = ['DocKladd_properties_sum_fields']
export const isDocKladd_properties_sum_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_sum_fields"')
  return DocKladd_properties_sum_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_var_pop_fields_possibleTypes: string[] = ['DocKladd_properties_var_pop_fields']
export const isDocKladd_properties_var_pop_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_var_pop_fields"')
  return DocKladd_properties_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_var_samp_fields_possibleTypes: string[] = ['DocKladd_properties_var_samp_fields']
export const isDocKladd_properties_var_samp_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_var_samp_fields"')
  return DocKladd_properties_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_properties_variance_fields_possibleTypes: string[] = ['DocKladd_properties_variance_fields']
export const isDocKladd_properties_variance_fields = (obj?: { __typename?: any } | null): obj is DocKladd_properties_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_properties_variance_fields"')
  return DocKladd_properties_variance_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_possibleTypes: string[] = ['DocKladd_questions']
export const isDocKladd_questions = (obj?: { __typename?: any } | null): obj is DocKladd_questions => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions"')
  return DocKladd_questions_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_aggregate_possibleTypes: string[] = ['DocKladd_questions_aggregate']
export const isDocKladd_questions_aggregate = (obj?: { __typename?: any } | null): obj is DocKladd_questions_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions_aggregate"')
  return DocKladd_questions_aggregate_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_aggregate_fields_possibleTypes: string[] = ['DocKladd_questions_aggregate_fields']
export const isDocKladd_questions_aggregate_fields = (obj?: { __typename?: any } | null): obj is DocKladd_questions_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions_aggregate_fields"')
  return DocKladd_questions_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_max_fields_possibleTypes: string[] = ['DocKladd_questions_max_fields']
export const isDocKladd_questions_max_fields = (obj?: { __typename?: any } | null): obj is DocKladd_questions_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions_max_fields"')
  return DocKladd_questions_max_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_min_fields_possibleTypes: string[] = ['DocKladd_questions_min_fields']
export const isDocKladd_questions_min_fields = (obj?: { __typename?: any } | null): obj is DocKladd_questions_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions_min_fields"')
  return DocKladd_questions_min_fields_possibleTypes.includes(obj.__typename)
}



const DocKladd_questions_mutation_response_possibleTypes: string[] = ['DocKladd_questions_mutation_response']
export const isDocKladd_questions_mutation_response = (obj?: { __typename?: any } | null): obj is DocKladd_questions_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isDocKladd_questions_mutation_response"')
  return DocKladd_questions_mutation_response_possibleTypes.includes(obj.__typename)
}



const NotificationOutput_possibleTypes: string[] = ['NotificationOutput']
export const isNotificationOutput = (obj?: { __typename?: any } | null): obj is NotificationOutput => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isNotificationOutput"')
  return NotificationOutput_possibleTypes.includes(obj.__typename)
}



const SmsOutput_possibleTypes: string[] = ['SmsOutput']
export const isSmsOutput = (obj?: { __typename?: any } | null): obj is SmsOutput => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isSmsOutput"')
  return SmsOutput_possibleTypes.includes(obj.__typename)
}



const accessible_possibleTypes: string[] = ['accessible']
export const isaccessible = (obj?: { __typename?: any } | null): obj is accessible => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible"')
  return accessible_possibleTypes.includes(obj.__typename)
}



const accessible_aggregate_possibleTypes: string[] = ['accessible_aggregate']
export const isaccessible_aggregate = (obj?: { __typename?: any } | null): obj is accessible_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible_aggregate"')
  return accessible_aggregate_possibleTypes.includes(obj.__typename)
}



const accessible_aggregate_fields_possibleTypes: string[] = ['accessible_aggregate_fields']
export const isaccessible_aggregate_fields = (obj?: { __typename?: any } | null): obj is accessible_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible_aggregate_fields"')
  return accessible_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const accessible_max_fields_possibleTypes: string[] = ['accessible_max_fields']
export const isaccessible_max_fields = (obj?: { __typename?: any } | null): obj is accessible_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible_max_fields"')
  return accessible_max_fields_possibleTypes.includes(obj.__typename)
}



const accessible_min_fields_possibleTypes: string[] = ['accessible_min_fields']
export const isaccessible_min_fields = (obj?: { __typename?: any } | null): obj is accessible_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible_min_fields"')
  return accessible_min_fields_possibleTypes.includes(obj.__typename)
}



const accessible_mutation_response_possibleTypes: string[] = ['accessible_mutation_response']
export const isaccessible_mutation_response = (obj?: { __typename?: any } | null): obj is accessible_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isaccessible_mutation_response"')
  return accessible_mutation_response_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_possibleTypes: string[] = ['adopus_AdgangLinjer']
export const isadopus_AdgangLinjer = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer"')
  return adopus_AdgangLinjer_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_aggregate_possibleTypes: string[] = ['adopus_AdgangLinjer_aggregate']
export const isadopus_AdgangLinjer_aggregate = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_aggregate"')
  return adopus_AdgangLinjer_aggregate_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_aggregate_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_aggregate_fields']
export const isadopus_AdgangLinjer_aggregate_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_aggregate_fields"')
  return adopus_AdgangLinjer_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_avg_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_avg_fields']
export const isadopus_AdgangLinjer_avg_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_avg_fields"')
  return adopus_AdgangLinjer_avg_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_max_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_max_fields']
export const isadopus_AdgangLinjer_max_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_max_fields"')
  return adopus_AdgangLinjer_max_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_min_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_min_fields']
export const isadopus_AdgangLinjer_min_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_min_fields"')
  return adopus_AdgangLinjer_min_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_mutation_response_possibleTypes: string[] = ['adopus_AdgangLinjer_mutation_response']
export const isadopus_AdgangLinjer_mutation_response = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_mutation_response"')
  return adopus_AdgangLinjer_mutation_response_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_stddev_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_stddev_fields']
export const isadopus_AdgangLinjer_stddev_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_stddev_fields"')
  return adopus_AdgangLinjer_stddev_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_stddev_pop_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_stddev_pop_fields']
export const isadopus_AdgangLinjer_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_stddev_pop_fields"')
  return adopus_AdgangLinjer_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_stddev_samp_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_stddev_samp_fields']
export const isadopus_AdgangLinjer_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_stddev_samp_fields"')
  return adopus_AdgangLinjer_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_sum_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_sum_fields']
export const isadopus_AdgangLinjer_sum_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_sum_fields"')
  return adopus_AdgangLinjer_sum_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_var_pop_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_var_pop_fields']
export const isadopus_AdgangLinjer_var_pop_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_var_pop_fields"')
  return adopus_AdgangLinjer_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_var_samp_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_var_samp_fields']
export const isadopus_AdgangLinjer_var_samp_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_var_samp_fields"')
  return adopus_AdgangLinjer_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const adopus_AdgangLinjer_variance_fields_possibleTypes: string[] = ['adopus_AdgangLinjer_variance_fields']
export const isadopus_AdgangLinjer_variance_fields = (obj?: { __typename?: any } | null): obj is adopus_AdgangLinjer_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isadopus_AdgangLinjer_variance_fields"')
  return adopus_AdgangLinjer_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_possibleTypes: string[] = ['anonymous_answers']
export const isanonymous_answers = (obj?: { __typename?: any } | null): obj is anonymous_answers => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers"')
  return anonymous_answers_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_aggregate_possibleTypes: string[] = ['anonymous_answers_aggregate']
export const isanonymous_answers_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_answers_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_aggregate"')
  return anonymous_answers_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_aggregate_fields_possibleTypes: string[] = ['anonymous_answers_aggregate_fields']
export const isanonymous_answers_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_aggregate_fields"')
  return anonymous_answers_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_avg_fields_possibleTypes: string[] = ['anonymous_answers_avg_fields']
export const isanonymous_answers_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_avg_fields"')
  return anonymous_answers_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_max_fields_possibleTypes: string[] = ['anonymous_answers_max_fields']
export const isanonymous_answers_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_max_fields"')
  return anonymous_answers_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_min_fields_possibleTypes: string[] = ['anonymous_answers_min_fields']
export const isanonymous_answers_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_min_fields"')
  return anonymous_answers_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_mutation_response_possibleTypes: string[] = ['anonymous_answers_mutation_response']
export const isanonymous_answers_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_answers_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_mutation_response"')
  return anonymous_answers_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_stddev_fields_possibleTypes: string[] = ['anonymous_answers_stddev_fields']
export const isanonymous_answers_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_stddev_fields"')
  return anonymous_answers_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_stddev_pop_fields_possibleTypes: string[] = ['anonymous_answers_stddev_pop_fields']
export const isanonymous_answers_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_stddev_pop_fields"')
  return anonymous_answers_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_stddev_samp_fields_possibleTypes: string[] = ['anonymous_answers_stddev_samp_fields']
export const isanonymous_answers_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_stddev_samp_fields"')
  return anonymous_answers_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_sum_fields_possibleTypes: string[] = ['anonymous_answers_sum_fields']
export const isanonymous_answers_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_sum_fields"')
  return anonymous_answers_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_var_pop_fields_possibleTypes: string[] = ['anonymous_answers_var_pop_fields']
export const isanonymous_answers_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_var_pop_fields"')
  return anonymous_answers_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_var_samp_fields_possibleTypes: string[] = ['anonymous_answers_var_samp_fields']
export const isanonymous_answers_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_var_samp_fields"')
  return anonymous_answers_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_answers_variance_fields_possibleTypes: string[] = ['anonymous_answers_variance_fields']
export const isanonymous_answers_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_answers_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_answers_variance_fields"')
  return anonymous_answers_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_possibleTypes: string[] = ['anonymous_invitations']
export const isanonymous_invitations = (obj?: { __typename?: any } | null): obj is anonymous_invitations => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations"')
  return anonymous_invitations_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_aggregate_possibleTypes: string[] = ['anonymous_invitations_aggregate']
export const isanonymous_invitations_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_invitations_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_aggregate"')
  return anonymous_invitations_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_aggregate_fields_possibleTypes: string[] = ['anonymous_invitations_aggregate_fields']
export const isanonymous_invitations_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_aggregate_fields"')
  return anonymous_invitations_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_avg_fields_possibleTypes: string[] = ['anonymous_invitations_avg_fields']
export const isanonymous_invitations_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_avg_fields"')
  return anonymous_invitations_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_max_fields_possibleTypes: string[] = ['anonymous_invitations_max_fields']
export const isanonymous_invitations_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_max_fields"')
  return anonymous_invitations_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_min_fields_possibleTypes: string[] = ['anonymous_invitations_min_fields']
export const isanonymous_invitations_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_min_fields"')
  return anonymous_invitations_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_mutation_response_possibleTypes: string[] = ['anonymous_invitations_mutation_response']
export const isanonymous_invitations_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_invitations_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_mutation_response"')
  return anonymous_invitations_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_stddev_fields_possibleTypes: string[] = ['anonymous_invitations_stddev_fields']
export const isanonymous_invitations_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_stddev_fields"')
  return anonymous_invitations_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_stddev_pop_fields_possibleTypes: string[] = ['anonymous_invitations_stddev_pop_fields']
export const isanonymous_invitations_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_stddev_pop_fields"')
  return anonymous_invitations_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_stddev_samp_fields_possibleTypes: string[] = ['anonymous_invitations_stddev_samp_fields']
export const isanonymous_invitations_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_stddev_samp_fields"')
  return anonymous_invitations_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_sum_fields_possibleTypes: string[] = ['anonymous_invitations_sum_fields']
export const isanonymous_invitations_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_sum_fields"')
  return anonymous_invitations_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_var_pop_fields_possibleTypes: string[] = ['anonymous_invitations_var_pop_fields']
export const isanonymous_invitations_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_var_pop_fields"')
  return anonymous_invitations_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_var_samp_fields_possibleTypes: string[] = ['anonymous_invitations_var_samp_fields']
export const isanonymous_invitations_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_var_samp_fields"')
  return anonymous_invitations_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_invitations_variance_fields_possibleTypes: string[] = ['anonymous_invitations_variance_fields']
export const isanonymous_invitations_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_invitations_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_invitations_variance_fields"')
  return anonymous_invitations_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_possibleTypes: string[] = ['anonymous_queries']
export const isanonymous_queries = (obj?: { __typename?: any } | null): obj is anonymous_queries => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries"')
  return anonymous_queries_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_aggregate_possibleTypes: string[] = ['anonymous_queries_aggregate']
export const isanonymous_queries_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_queries_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_aggregate"')
  return anonymous_queries_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_aggregate_fields_possibleTypes: string[] = ['anonymous_queries_aggregate_fields']
export const isanonymous_queries_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_aggregate_fields"')
  return anonymous_queries_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_avg_fields_possibleTypes: string[] = ['anonymous_queries_avg_fields']
export const isanonymous_queries_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_avg_fields"')
  return anonymous_queries_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_max_fields_possibleTypes: string[] = ['anonymous_queries_max_fields']
export const isanonymous_queries_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_max_fields"')
  return anonymous_queries_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_min_fields_possibleTypes: string[] = ['anonymous_queries_min_fields']
export const isanonymous_queries_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_min_fields"')
  return anonymous_queries_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_mutation_response_possibleTypes: string[] = ['anonymous_queries_mutation_response']
export const isanonymous_queries_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_queries_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_mutation_response"')
  return anonymous_queries_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_stddev_fields_possibleTypes: string[] = ['anonymous_queries_stddev_fields']
export const isanonymous_queries_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_stddev_fields"')
  return anonymous_queries_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_stddev_pop_fields_possibleTypes: string[] = ['anonymous_queries_stddev_pop_fields']
export const isanonymous_queries_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_stddev_pop_fields"')
  return anonymous_queries_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_stddev_samp_fields_possibleTypes: string[] = ['anonymous_queries_stddev_samp_fields']
export const isanonymous_queries_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_stddev_samp_fields"')
  return anonymous_queries_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_sum_fields_possibleTypes: string[] = ['anonymous_queries_sum_fields']
export const isanonymous_queries_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_sum_fields"')
  return anonymous_queries_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_var_pop_fields_possibleTypes: string[] = ['anonymous_queries_var_pop_fields']
export const isanonymous_queries_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_var_pop_fields"')
  return anonymous_queries_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_var_samp_fields_possibleTypes: string[] = ['anonymous_queries_var_samp_fields']
export const isanonymous_queries_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_var_samp_fields"')
  return anonymous_queries_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_queries_variance_fields_possibleTypes: string[] = ['anonymous_queries_variance_fields']
export const isanonymous_queries_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_queries_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_queries_variance_fields"')
  return anonymous_queries_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_possibleTypes: string[] = ['anonymous_sms']
export const isanonymous_sms = (obj?: { __typename?: any } | null): obj is anonymous_sms => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms"')
  return anonymous_sms_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_aggregate_possibleTypes: string[] = ['anonymous_sms_aggregate']
export const isanonymous_sms_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_sms_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_aggregate"')
  return anonymous_sms_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_aggregate_fields_possibleTypes: string[] = ['anonymous_sms_aggregate_fields']
export const isanonymous_sms_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_aggregate_fields"')
  return anonymous_sms_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_avg_fields_possibleTypes: string[] = ['anonymous_sms_avg_fields']
export const isanonymous_sms_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_avg_fields"')
  return anonymous_sms_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_max_fields_possibleTypes: string[] = ['anonymous_sms_max_fields']
export const isanonymous_sms_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_max_fields"')
  return anonymous_sms_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_min_fields_possibleTypes: string[] = ['anonymous_sms_min_fields']
export const isanonymous_sms_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_min_fields"')
  return anonymous_sms_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_mutation_response_possibleTypes: string[] = ['anonymous_sms_mutation_response']
export const isanonymous_sms_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_sms_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_mutation_response"')
  return anonymous_sms_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_stddev_fields_possibleTypes: string[] = ['anonymous_sms_stddev_fields']
export const isanonymous_sms_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_stddev_fields"')
  return anonymous_sms_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_stddev_pop_fields_possibleTypes: string[] = ['anonymous_sms_stddev_pop_fields']
export const isanonymous_sms_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_stddev_pop_fields"')
  return anonymous_sms_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_stddev_samp_fields_possibleTypes: string[] = ['anonymous_sms_stddev_samp_fields']
export const isanonymous_sms_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_stddev_samp_fields"')
  return anonymous_sms_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_sum_fields_possibleTypes: string[] = ['anonymous_sms_sum_fields']
export const isanonymous_sms_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_sum_fields"')
  return anonymous_sms_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_var_pop_fields_possibleTypes: string[] = ['anonymous_sms_var_pop_fields']
export const isanonymous_sms_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_var_pop_fields"')
  return anonymous_sms_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_var_samp_fields_possibleTypes: string[] = ['anonymous_sms_var_samp_fields']
export const isanonymous_sms_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_var_samp_fields"')
  return anonymous_sms_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_sms_variance_fields_possibleTypes: string[] = ['anonymous_sms_variance_fields']
export const isanonymous_sms_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_sms_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_sms_variance_fields"')
  return anonymous_sms_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_possibleTypes: string[] = ['anonymous_template_question']
export const isanonymous_template_question = (obj?: { __typename?: any } | null): obj is anonymous_template_question => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question"')
  return anonymous_template_question_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_aggregate_possibleTypes: string[] = ['anonymous_template_question_aggregate']
export const isanonymous_template_question_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_template_question_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_aggregate"')
  return anonymous_template_question_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_aggregate_fields_possibleTypes: string[] = ['anonymous_template_question_aggregate_fields']
export const isanonymous_template_question_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_aggregate_fields"')
  return anonymous_template_question_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_avg_fields_possibleTypes: string[] = ['anonymous_template_question_avg_fields']
export const isanonymous_template_question_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_avg_fields"')
  return anonymous_template_question_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_max_fields_possibleTypes: string[] = ['anonymous_template_question_max_fields']
export const isanonymous_template_question_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_max_fields"')
  return anonymous_template_question_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_min_fields_possibleTypes: string[] = ['anonymous_template_question_min_fields']
export const isanonymous_template_question_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_min_fields"')
  return anonymous_template_question_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_mutation_response_possibleTypes: string[] = ['anonymous_template_question_mutation_response']
export const isanonymous_template_question_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_template_question_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_mutation_response"')
  return anonymous_template_question_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_stddev_fields_possibleTypes: string[] = ['anonymous_template_question_stddev_fields']
export const isanonymous_template_question_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_stddev_fields"')
  return anonymous_template_question_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_stddev_pop_fields_possibleTypes: string[] = ['anonymous_template_question_stddev_pop_fields']
export const isanonymous_template_question_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_stddev_pop_fields"')
  return anonymous_template_question_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_stddev_samp_fields_possibleTypes: string[] = ['anonymous_template_question_stddev_samp_fields']
export const isanonymous_template_question_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_stddev_samp_fields"')
  return anonymous_template_question_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_sum_fields_possibleTypes: string[] = ['anonymous_template_question_sum_fields']
export const isanonymous_template_question_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_sum_fields"')
  return anonymous_template_question_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_var_pop_fields_possibleTypes: string[] = ['anonymous_template_question_var_pop_fields']
export const isanonymous_template_question_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_var_pop_fields"')
  return anonymous_template_question_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_var_samp_fields_possibleTypes: string[] = ['anonymous_template_question_var_samp_fields']
export const isanonymous_template_question_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_var_samp_fields"')
  return anonymous_template_question_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_template_question_variance_fields_possibleTypes: string[] = ['anonymous_template_question_variance_fields']
export const isanonymous_template_question_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_template_question_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_template_question_variance_fields"')
  return anonymous_template_question_variance_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_possibleTypes: string[] = ['anonymous_templates']
export const isanonymous_templates = (obj?: { __typename?: any } | null): obj is anonymous_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates"')
  return anonymous_templates_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_aggregate_possibleTypes: string[] = ['anonymous_templates_aggregate']
export const isanonymous_templates_aggregate = (obj?: { __typename?: any } | null): obj is anonymous_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_aggregate"')
  return anonymous_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_aggregate_fields_possibleTypes: string[] = ['anonymous_templates_aggregate_fields']
export const isanonymous_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_aggregate_fields"')
  return anonymous_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_avg_fields_possibleTypes: string[] = ['anonymous_templates_avg_fields']
export const isanonymous_templates_avg_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_avg_fields"')
  return anonymous_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_max_fields_possibleTypes: string[] = ['anonymous_templates_max_fields']
export const isanonymous_templates_max_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_max_fields"')
  return anonymous_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_min_fields_possibleTypes: string[] = ['anonymous_templates_min_fields']
export const isanonymous_templates_min_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_min_fields"')
  return anonymous_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_mutation_response_possibleTypes: string[] = ['anonymous_templates_mutation_response']
export const isanonymous_templates_mutation_response = (obj?: { __typename?: any } | null): obj is anonymous_templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_mutation_response"')
  return anonymous_templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_stddev_fields_possibleTypes: string[] = ['anonymous_templates_stddev_fields']
export const isanonymous_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_stddev_fields"')
  return anonymous_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_stddev_pop_fields_possibleTypes: string[] = ['anonymous_templates_stddev_pop_fields']
export const isanonymous_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_stddev_pop_fields"')
  return anonymous_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_stddev_samp_fields_possibleTypes: string[] = ['anonymous_templates_stddev_samp_fields']
export const isanonymous_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_stddev_samp_fields"')
  return anonymous_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_sum_fields_possibleTypes: string[] = ['anonymous_templates_sum_fields']
export const isanonymous_templates_sum_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_sum_fields"')
  return anonymous_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_var_pop_fields_possibleTypes: string[] = ['anonymous_templates_var_pop_fields']
export const isanonymous_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_var_pop_fields"')
  return anonymous_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_var_samp_fields_possibleTypes: string[] = ['anonymous_templates_var_samp_fields']
export const isanonymous_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_var_samp_fields"')
  return anonymous_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const anonymous_templates_variance_fields_possibleTypes: string[] = ['anonymous_templates_variance_fields']
export const isanonymous_templates_variance_fields = (obj?: { __typename?: any } | null): obj is anonymous_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isanonymous_templates_variance_fields"')
  return anonymous_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const artifactPackage_possibleTypes: string[] = ['artifactPackage']
export const isartifactPackage = (obj?: { __typename?: any } | null): obj is artifactPackage => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifactPackage"')
  return artifactPackage_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_possibleTypes: string[] = ['artifact_package_artifact_parcel']
export const isartifact_package_artifact_parcel = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel"')
  return artifact_package_artifact_parcel_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_aggregate_possibleTypes: string[] = ['artifact_package_artifact_parcel_aggregate']
export const isartifact_package_artifact_parcel_aggregate = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel_aggregate"')
  return artifact_package_artifact_parcel_aggregate_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_aggregate_fields_possibleTypes: string[] = ['artifact_package_artifact_parcel_aggregate_fields']
export const isartifact_package_artifact_parcel_aggregate_fields = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel_aggregate_fields"')
  return artifact_package_artifact_parcel_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_max_fields_possibleTypes: string[] = ['artifact_package_artifact_parcel_max_fields']
export const isartifact_package_artifact_parcel_max_fields = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel_max_fields"')
  return artifact_package_artifact_parcel_max_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_min_fields_possibleTypes: string[] = ['artifact_package_artifact_parcel_min_fields']
export const isartifact_package_artifact_parcel_min_fields = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel_min_fields"')
  return artifact_package_artifact_parcel_min_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_artifact_parcel_mutation_response_possibleTypes: string[] = ['artifact_package_artifact_parcel_mutation_response']
export const isartifact_package_artifact_parcel_mutation_response = (obj?: { __typename?: any } | null): obj is artifact_package_artifact_parcel_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_artifact_parcel_mutation_response"')
  return artifact_package_artifact_parcel_mutation_response_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_possibleTypes: string[] = ['artifact_package_cron']
export const isartifact_package_cron = (obj?: { __typename?: any } | null): obj is artifact_package_cron => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron"')
  return artifact_package_cron_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_aggregate_possibleTypes: string[] = ['artifact_package_cron_aggregate']
export const isartifact_package_cron_aggregate = (obj?: { __typename?: any } | null): obj is artifact_package_cron_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron_aggregate"')
  return artifact_package_cron_aggregate_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_aggregate_fields_possibleTypes: string[] = ['artifact_package_cron_aggregate_fields']
export const isartifact_package_cron_aggregate_fields = (obj?: { __typename?: any } | null): obj is artifact_package_cron_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron_aggregate_fields"')
  return artifact_package_cron_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_max_fields_possibleTypes: string[] = ['artifact_package_cron_max_fields']
export const isartifact_package_cron_max_fields = (obj?: { __typename?: any } | null): obj is artifact_package_cron_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron_max_fields"')
  return artifact_package_cron_max_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_min_fields_possibleTypes: string[] = ['artifact_package_cron_min_fields']
export const isartifact_package_cron_min_fields = (obj?: { __typename?: any } | null): obj is artifact_package_cron_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron_min_fields"')
  return artifact_package_cron_min_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_cron_mutation_response_possibleTypes: string[] = ['artifact_package_cron_mutation_response']
export const isartifact_package_cron_mutation_response = (obj?: { __typename?: any } | null): obj is artifact_package_cron_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_cron_mutation_response"')
  return artifact_package_cron_mutation_response_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_possibleTypes: string[] = ['artifact_package_groups']
export const isartifact_package_groups = (obj?: { __typename?: any } | null): obj is artifact_package_groups => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups"')
  return artifact_package_groups_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_aggregate_possibleTypes: string[] = ['artifact_package_groups_aggregate']
export const isartifact_package_groups_aggregate = (obj?: { __typename?: any } | null): obj is artifact_package_groups_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_aggregate"')
  return artifact_package_groups_aggregate_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_aggregate_fields_possibleTypes: string[] = ['artifact_package_groups_aggregate_fields']
export const isartifact_package_groups_aggregate_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_aggregate_fields"')
  return artifact_package_groups_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_avg_fields_possibleTypes: string[] = ['artifact_package_groups_avg_fields']
export const isartifact_package_groups_avg_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_avg_fields"')
  return artifact_package_groups_avg_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_max_fields_possibleTypes: string[] = ['artifact_package_groups_max_fields']
export const isartifact_package_groups_max_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_max_fields"')
  return artifact_package_groups_max_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_min_fields_possibleTypes: string[] = ['artifact_package_groups_min_fields']
export const isartifact_package_groups_min_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_min_fields"')
  return artifact_package_groups_min_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_mutation_response_possibleTypes: string[] = ['artifact_package_groups_mutation_response']
export const isartifact_package_groups_mutation_response = (obj?: { __typename?: any } | null): obj is artifact_package_groups_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_mutation_response"')
  return artifact_package_groups_mutation_response_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_stddev_fields_possibleTypes: string[] = ['artifact_package_groups_stddev_fields']
export const isartifact_package_groups_stddev_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_stddev_fields"')
  return artifact_package_groups_stddev_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_stddev_pop_fields_possibleTypes: string[] = ['artifact_package_groups_stddev_pop_fields']
export const isartifact_package_groups_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_stddev_pop_fields"')
  return artifact_package_groups_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_stddev_samp_fields_possibleTypes: string[] = ['artifact_package_groups_stddev_samp_fields']
export const isartifact_package_groups_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_stddev_samp_fields"')
  return artifact_package_groups_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_sum_fields_possibleTypes: string[] = ['artifact_package_groups_sum_fields']
export const isartifact_package_groups_sum_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_sum_fields"')
  return artifact_package_groups_sum_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_var_pop_fields_possibleTypes: string[] = ['artifact_package_groups_var_pop_fields']
export const isartifact_package_groups_var_pop_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_var_pop_fields"')
  return artifact_package_groups_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_var_samp_fields_possibleTypes: string[] = ['artifact_package_groups_var_samp_fields']
export const isartifact_package_groups_var_samp_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_var_samp_fields"')
  return artifact_package_groups_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const artifact_package_groups_variance_fields_possibleTypes: string[] = ['artifact_package_groups_variance_fields']
export const isartifact_package_groups_variance_fields = (obj?: { __typename?: any } | null): obj is artifact_package_groups_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_package_groups_variance_fields"')
  return artifact_package_groups_variance_fields_possibleTypes.includes(obj.__typename)
}



const artifact_packages_possibleTypes: string[] = ['artifact_packages']
export const isartifact_packages = (obj?: { __typename?: any } | null): obj is artifact_packages => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages"')
  return artifact_packages_possibleTypes.includes(obj.__typename)
}



const artifact_packages_aggregate_possibleTypes: string[] = ['artifact_packages_aggregate']
export const isartifact_packages_aggregate = (obj?: { __typename?: any } | null): obj is artifact_packages_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages_aggregate"')
  return artifact_packages_aggregate_possibleTypes.includes(obj.__typename)
}



const artifact_packages_aggregate_fields_possibleTypes: string[] = ['artifact_packages_aggregate_fields']
export const isartifact_packages_aggregate_fields = (obj?: { __typename?: any } | null): obj is artifact_packages_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages_aggregate_fields"')
  return artifact_packages_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const artifact_packages_max_fields_possibleTypes: string[] = ['artifact_packages_max_fields']
export const isartifact_packages_max_fields = (obj?: { __typename?: any } | null): obj is artifact_packages_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages_max_fields"')
  return artifact_packages_max_fields_possibleTypes.includes(obj.__typename)
}



const artifact_packages_min_fields_possibleTypes: string[] = ['artifact_packages_min_fields']
export const isartifact_packages_min_fields = (obj?: { __typename?: any } | null): obj is artifact_packages_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages_min_fields"')
  return artifact_packages_min_fields_possibleTypes.includes(obj.__typename)
}



const artifact_packages_mutation_response_possibleTypes: string[] = ['artifact_packages_mutation_response']
export const isartifact_packages_mutation_response = (obj?: { __typename?: any } | null): obj is artifact_packages_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_packages_mutation_response"')
  return artifact_packages_mutation_response_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_possibleTypes: string[] = ['artifact_parcels']
export const isartifact_parcels = (obj?: { __typename?: any } | null): obj is artifact_parcels => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels"')
  return artifact_parcels_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_aggregate_possibleTypes: string[] = ['artifact_parcels_aggregate']
export const isartifact_parcels_aggregate = (obj?: { __typename?: any } | null): obj is artifact_parcels_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels_aggregate"')
  return artifact_parcels_aggregate_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_aggregate_fields_possibleTypes: string[] = ['artifact_parcels_aggregate_fields']
export const isartifact_parcels_aggregate_fields = (obj?: { __typename?: any } | null): obj is artifact_parcels_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels_aggregate_fields"')
  return artifact_parcels_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_max_fields_possibleTypes: string[] = ['artifact_parcels_max_fields']
export const isartifact_parcels_max_fields = (obj?: { __typename?: any } | null): obj is artifact_parcels_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels_max_fields"')
  return artifact_parcels_max_fields_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_min_fields_possibleTypes: string[] = ['artifact_parcels_min_fields']
export const isartifact_parcels_min_fields = (obj?: { __typename?: any } | null): obj is artifact_parcels_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels_min_fields"')
  return artifact_parcels_min_fields_possibleTypes.includes(obj.__typename)
}



const artifact_parcels_mutation_response_possibleTypes: string[] = ['artifact_parcels_mutation_response']
export const isartifact_parcels_mutation_response = (obj?: { __typename?: any } | null): obj is artifact_parcels_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isartifact_parcels_mutation_response"')
  return artifact_parcels_mutation_response_possibleTypes.includes(obj.__typename)
}



const categories_possibleTypes: string[] = ['categories']
export const iscategories = (obj?: { __typename?: any } | null): obj is categories => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories"')
  return categories_possibleTypes.includes(obj.__typename)
}



const categories_aggregate_possibleTypes: string[] = ['categories_aggregate']
export const iscategories_aggregate = (obj?: { __typename?: any } | null): obj is categories_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories_aggregate"')
  return categories_aggregate_possibleTypes.includes(obj.__typename)
}



const categories_aggregate_fields_possibleTypes: string[] = ['categories_aggregate_fields']
export const iscategories_aggregate_fields = (obj?: { __typename?: any } | null): obj is categories_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories_aggregate_fields"')
  return categories_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const categories_max_fields_possibleTypes: string[] = ['categories_max_fields']
export const iscategories_max_fields = (obj?: { __typename?: any } | null): obj is categories_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories_max_fields"')
  return categories_max_fields_possibleTypes.includes(obj.__typename)
}



const categories_min_fields_possibleTypes: string[] = ['categories_min_fields']
export const iscategories_min_fields = (obj?: { __typename?: any } | null): obj is categories_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories_min_fields"')
  return categories_min_fields_possibleTypes.includes(obj.__typename)
}



const categories_mutation_response_possibleTypes: string[] = ['categories_mutation_response']
export const iscategories_mutation_response = (obj?: { __typename?: any } | null): obj is categories_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscategories_mutation_response"')
  return categories_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_possibleTypes: string[] = ['consent_approval_rejection_reasons']
export const isconsent_approval_rejection_reasons = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons"')
  return consent_approval_rejection_reasons_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_aggregate_possibleTypes: string[] = ['consent_approval_rejection_reasons_aggregate']
export const isconsent_approval_rejection_reasons_aggregate = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_aggregate"')
  return consent_approval_rejection_reasons_aggregate_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_aggregate_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_aggregate_fields']
export const isconsent_approval_rejection_reasons_aggregate_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_aggregate_fields"')
  return consent_approval_rejection_reasons_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_avg_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_avg_fields']
export const isconsent_approval_rejection_reasons_avg_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_avg_fields"')
  return consent_approval_rejection_reasons_avg_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_max_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_max_fields']
export const isconsent_approval_rejection_reasons_max_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_max_fields"')
  return consent_approval_rejection_reasons_max_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_min_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_min_fields']
export const isconsent_approval_rejection_reasons_min_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_min_fields"')
  return consent_approval_rejection_reasons_min_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_mutation_response_possibleTypes: string[] = ['consent_approval_rejection_reasons_mutation_response']
export const isconsent_approval_rejection_reasons_mutation_response = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_mutation_response"')
  return consent_approval_rejection_reasons_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_stddev_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_stddev_fields']
export const isconsent_approval_rejection_reasons_stddev_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_stddev_fields"')
  return consent_approval_rejection_reasons_stddev_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_stddev_pop_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_stddev_pop_fields']
export const isconsent_approval_rejection_reasons_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_stddev_pop_fields"')
  return consent_approval_rejection_reasons_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_stddev_samp_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_stddev_samp_fields']
export const isconsent_approval_rejection_reasons_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_stddev_samp_fields"')
  return consent_approval_rejection_reasons_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_sum_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_sum_fields']
export const isconsent_approval_rejection_reasons_sum_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_sum_fields"')
  return consent_approval_rejection_reasons_sum_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_var_pop_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_var_pop_fields']
export const isconsent_approval_rejection_reasons_var_pop_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_var_pop_fields"')
  return consent_approval_rejection_reasons_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_var_samp_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_var_samp_fields']
export const isconsent_approval_rejection_reasons_var_samp_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_var_samp_fields"')
  return consent_approval_rejection_reasons_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_approval_rejection_reasons_variance_fields_possibleTypes: string[] = ['consent_approval_rejection_reasons_variance_fields']
export const isconsent_approval_rejection_reasons_variance_fields = (obj?: { __typename?: any } | null): obj is consent_approval_rejection_reasons_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_approval_rejection_reasons_variance_fields"')
  return consent_approval_rejection_reasons_variance_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_possibleTypes: string[] = ['consent_patient']
export const isconsent_patient = (obj?: { __typename?: any } | null): obj is consent_patient => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient"')
  return consent_patient_possibleTypes.includes(obj.__typename)
}



const consent_patient_aggregate_possibleTypes: string[] = ['consent_patient_aggregate']
export const isconsent_patient_aggregate = (obj?: { __typename?: any } | null): obj is consent_patient_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_aggregate"')
  return consent_patient_aggregate_possibleTypes.includes(obj.__typename)
}



const consent_patient_aggregate_fields_possibleTypes: string[] = ['consent_patient_aggregate_fields']
export const isconsent_patient_aggregate_fields = (obj?: { __typename?: any } | null): obj is consent_patient_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_aggregate_fields"')
  return consent_patient_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_avg_fields_possibleTypes: string[] = ['consent_patient_avg_fields']
export const isconsent_patient_avg_fields = (obj?: { __typename?: any } | null): obj is consent_patient_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_avg_fields"')
  return consent_patient_avg_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_max_fields_possibleTypes: string[] = ['consent_patient_max_fields']
export const isconsent_patient_max_fields = (obj?: { __typename?: any } | null): obj is consent_patient_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_max_fields"')
  return consent_patient_max_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_min_fields_possibleTypes: string[] = ['consent_patient_min_fields']
export const isconsent_patient_min_fields = (obj?: { __typename?: any } | null): obj is consent_patient_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_min_fields"')
  return consent_patient_min_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_mutation_response_possibleTypes: string[] = ['consent_patient_mutation_response']
export const isconsent_patient_mutation_response = (obj?: { __typename?: any } | null): obj is consent_patient_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_mutation_response"')
  return consent_patient_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_patient_stddev_fields_possibleTypes: string[] = ['consent_patient_stddev_fields']
export const isconsent_patient_stddev_fields = (obj?: { __typename?: any } | null): obj is consent_patient_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_stddev_fields"')
  return consent_patient_stddev_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_stddev_pop_fields_possibleTypes: string[] = ['consent_patient_stddev_pop_fields']
export const isconsent_patient_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is consent_patient_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_stddev_pop_fields"')
  return consent_patient_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_stddev_samp_fields_possibleTypes: string[] = ['consent_patient_stddev_samp_fields']
export const isconsent_patient_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is consent_patient_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_stddev_samp_fields"')
  return consent_patient_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_sum_fields_possibleTypes: string[] = ['consent_patient_sum_fields']
export const isconsent_patient_sum_fields = (obj?: { __typename?: any } | null): obj is consent_patient_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_sum_fields"')
  return consent_patient_sum_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_var_pop_fields_possibleTypes: string[] = ['consent_patient_var_pop_fields']
export const isconsent_patient_var_pop_fields = (obj?: { __typename?: any } | null): obj is consent_patient_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_var_pop_fields"')
  return consent_patient_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_var_samp_fields_possibleTypes: string[] = ['consent_patient_var_samp_fields']
export const isconsent_patient_var_samp_fields = (obj?: { __typename?: any } | null): obj is consent_patient_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_var_samp_fields"')
  return consent_patient_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_patient_variance_fields_possibleTypes: string[] = ['consent_patient_variance_fields']
export const isconsent_patient_variance_fields = (obj?: { __typename?: any } | null): obj is consent_patient_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_patient_variance_fields"')
  return consent_patient_variance_fields_possibleTypes.includes(obj.__typename)
}



const consent_status_possibleTypes: string[] = ['consent_status']
export const isconsent_status = (obj?: { __typename?: any } | null): obj is consent_status => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status"')
  return consent_status_possibleTypes.includes(obj.__typename)
}



const consent_status_aggregate_possibleTypes: string[] = ['consent_status_aggregate']
export const isconsent_status_aggregate = (obj?: { __typename?: any } | null): obj is consent_status_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status_aggregate"')
  return consent_status_aggregate_possibleTypes.includes(obj.__typename)
}



const consent_status_aggregate_fields_possibleTypes: string[] = ['consent_status_aggregate_fields']
export const isconsent_status_aggregate_fields = (obj?: { __typename?: any } | null): obj is consent_status_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status_aggregate_fields"')
  return consent_status_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consent_status_max_fields_possibleTypes: string[] = ['consent_status_max_fields']
export const isconsent_status_max_fields = (obj?: { __typename?: any } | null): obj is consent_status_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status_max_fields"')
  return consent_status_max_fields_possibleTypes.includes(obj.__typename)
}



const consent_status_min_fields_possibleTypes: string[] = ['consent_status_min_fields']
export const isconsent_status_min_fields = (obj?: { __typename?: any } | null): obj is consent_status_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status_min_fields"')
  return consent_status_min_fields_possibleTypes.includes(obj.__typename)
}



const consent_status_mutation_response_possibleTypes: string[] = ['consent_status_mutation_response']
export const isconsent_status_mutation_response = (obj?: { __typename?: any } | null): obj is consent_status_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_status_mutation_response"')
  return consent_status_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_possibleTypes: string[] = ['consent_template_to_template']
export const isconsent_template_to_template = (obj?: { __typename?: any } | null): obj is consent_template_to_template => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template"')
  return consent_template_to_template_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_aggregate_possibleTypes: string[] = ['consent_template_to_template_aggregate']
export const isconsent_template_to_template_aggregate = (obj?: { __typename?: any } | null): obj is consent_template_to_template_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_aggregate"')
  return consent_template_to_template_aggregate_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_aggregate_fields_possibleTypes: string[] = ['consent_template_to_template_aggregate_fields']
export const isconsent_template_to_template_aggregate_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_aggregate_fields"')
  return consent_template_to_template_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_avg_fields_possibleTypes: string[] = ['consent_template_to_template_avg_fields']
export const isconsent_template_to_template_avg_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_avg_fields"')
  return consent_template_to_template_avg_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_max_fields_possibleTypes: string[] = ['consent_template_to_template_max_fields']
export const isconsent_template_to_template_max_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_max_fields"')
  return consent_template_to_template_max_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_min_fields_possibleTypes: string[] = ['consent_template_to_template_min_fields']
export const isconsent_template_to_template_min_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_min_fields"')
  return consent_template_to_template_min_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_mutation_response_possibleTypes: string[] = ['consent_template_to_template_mutation_response']
export const isconsent_template_to_template_mutation_response = (obj?: { __typename?: any } | null): obj is consent_template_to_template_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_mutation_response"')
  return consent_template_to_template_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_stddev_fields_possibleTypes: string[] = ['consent_template_to_template_stddev_fields']
export const isconsent_template_to_template_stddev_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_stddev_fields"')
  return consent_template_to_template_stddev_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_stddev_pop_fields_possibleTypes: string[] = ['consent_template_to_template_stddev_pop_fields']
export const isconsent_template_to_template_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_stddev_pop_fields"')
  return consent_template_to_template_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_stddev_samp_fields_possibleTypes: string[] = ['consent_template_to_template_stddev_samp_fields']
export const isconsent_template_to_template_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_stddev_samp_fields"')
  return consent_template_to_template_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_sum_fields_possibleTypes: string[] = ['consent_template_to_template_sum_fields']
export const isconsent_template_to_template_sum_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_sum_fields"')
  return consent_template_to_template_sum_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_var_pop_fields_possibleTypes: string[] = ['consent_template_to_template_var_pop_fields']
export const isconsent_template_to_template_var_pop_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_var_pop_fields"')
  return consent_template_to_template_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_var_samp_fields_possibleTypes: string[] = ['consent_template_to_template_var_samp_fields']
export const isconsent_template_to_template_var_samp_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_var_samp_fields"')
  return consent_template_to_template_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_template_to_template_variance_fields_possibleTypes: string[] = ['consent_template_to_template_variance_fields']
export const isconsent_template_to_template_variance_fields = (obj?: { __typename?: any } | null): obj is consent_template_to_template_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_template_to_template_variance_fields"')
  return consent_template_to_template_variance_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_possibleTypes: string[] = ['consent_templates']
export const isconsent_templates = (obj?: { __typename?: any } | null): obj is consent_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates"')
  return consent_templates_possibleTypes.includes(obj.__typename)
}



const consent_templates_aggregate_possibleTypes: string[] = ['consent_templates_aggregate']
export const isconsent_templates_aggregate = (obj?: { __typename?: any } | null): obj is consent_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_aggregate"')
  return consent_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const consent_templates_aggregate_fields_possibleTypes: string[] = ['consent_templates_aggregate_fields']
export const isconsent_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is consent_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_aggregate_fields"')
  return consent_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_avg_fields_possibleTypes: string[] = ['consent_templates_avg_fields']
export const isconsent_templates_avg_fields = (obj?: { __typename?: any } | null): obj is consent_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_avg_fields"')
  return consent_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_max_fields_possibleTypes: string[] = ['consent_templates_max_fields']
export const isconsent_templates_max_fields = (obj?: { __typename?: any } | null): obj is consent_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_max_fields"')
  return consent_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_min_fields_possibleTypes: string[] = ['consent_templates_min_fields']
export const isconsent_templates_min_fields = (obj?: { __typename?: any } | null): obj is consent_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_min_fields"')
  return consent_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_mutation_response_possibleTypes: string[] = ['consent_templates_mutation_response']
export const isconsent_templates_mutation_response = (obj?: { __typename?: any } | null): obj is consent_templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_mutation_response"')
  return consent_templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const consent_templates_stddev_fields_possibleTypes: string[] = ['consent_templates_stddev_fields']
export const isconsent_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is consent_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_stddev_fields"')
  return consent_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_stddev_pop_fields_possibleTypes: string[] = ['consent_templates_stddev_pop_fields']
export const isconsent_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is consent_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_stddev_pop_fields"')
  return consent_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_stddev_samp_fields_possibleTypes: string[] = ['consent_templates_stddev_samp_fields']
export const isconsent_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is consent_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_stddev_samp_fields"')
  return consent_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_sum_fields_possibleTypes: string[] = ['consent_templates_sum_fields']
export const isconsent_templates_sum_fields = (obj?: { __typename?: any } | null): obj is consent_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_sum_fields"')
  return consent_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_var_pop_fields_possibleTypes: string[] = ['consent_templates_var_pop_fields']
export const isconsent_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is consent_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_var_pop_fields"')
  return consent_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_var_samp_fields_possibleTypes: string[] = ['consent_templates_var_samp_fields']
export const isconsent_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is consent_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_var_samp_fields"')
  return consent_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const consent_templates_variance_fields_possibleTypes: string[] = ['consent_templates_variance_fields']
export const isconsent_templates_variance_fields = (obj?: { __typename?: any } | null): obj is consent_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsent_templates_variance_fields"')
  return consent_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const consents_possibleTypes: string[] = ['consents']
export const isconsents = (obj?: { __typename?: any } | null): obj is consents => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents"')
  return consents_possibleTypes.includes(obj.__typename)
}



const consents_aggregate_possibleTypes: string[] = ['consents_aggregate']
export const isconsents_aggregate = (obj?: { __typename?: any } | null): obj is consents_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_aggregate"')
  return consents_aggregate_possibleTypes.includes(obj.__typename)
}



const consents_aggregate_fields_possibleTypes: string[] = ['consents_aggregate_fields']
export const isconsents_aggregate_fields = (obj?: { __typename?: any } | null): obj is consents_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_aggregate_fields"')
  return consents_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const consents_avg_fields_possibleTypes: string[] = ['consents_avg_fields']
export const isconsents_avg_fields = (obj?: { __typename?: any } | null): obj is consents_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_avg_fields"')
  return consents_avg_fields_possibleTypes.includes(obj.__typename)
}



const consents_max_fields_possibleTypes: string[] = ['consents_max_fields']
export const isconsents_max_fields = (obj?: { __typename?: any } | null): obj is consents_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_max_fields"')
  return consents_max_fields_possibleTypes.includes(obj.__typename)
}



const consents_min_fields_possibleTypes: string[] = ['consents_min_fields']
export const isconsents_min_fields = (obj?: { __typename?: any } | null): obj is consents_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_min_fields"')
  return consents_min_fields_possibleTypes.includes(obj.__typename)
}



const consents_mutation_response_possibleTypes: string[] = ['consents_mutation_response']
export const isconsents_mutation_response = (obj?: { __typename?: any } | null): obj is consents_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_mutation_response"')
  return consents_mutation_response_possibleTypes.includes(obj.__typename)
}



const consents_stddev_fields_possibleTypes: string[] = ['consents_stddev_fields']
export const isconsents_stddev_fields = (obj?: { __typename?: any } | null): obj is consents_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_stddev_fields"')
  return consents_stddev_fields_possibleTypes.includes(obj.__typename)
}



const consents_stddev_pop_fields_possibleTypes: string[] = ['consents_stddev_pop_fields']
export const isconsents_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is consents_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_stddev_pop_fields"')
  return consents_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const consents_stddev_samp_fields_possibleTypes: string[] = ['consents_stddev_samp_fields']
export const isconsents_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is consents_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_stddev_samp_fields"')
  return consents_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const consents_sum_fields_possibleTypes: string[] = ['consents_sum_fields']
export const isconsents_sum_fields = (obj?: { __typename?: any } | null): obj is consents_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_sum_fields"')
  return consents_sum_fields_possibleTypes.includes(obj.__typename)
}



const consents_var_pop_fields_possibleTypes: string[] = ['consents_var_pop_fields']
export const isconsents_var_pop_fields = (obj?: { __typename?: any } | null): obj is consents_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_var_pop_fields"')
  return consents_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const consents_var_samp_fields_possibleTypes: string[] = ['consents_var_samp_fields']
export const isconsents_var_samp_fields = (obj?: { __typename?: any } | null): obj is consents_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_var_samp_fields"')
  return consents_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const consents_variance_fields_possibleTypes: string[] = ['consents_variance_fields']
export const isconsents_variance_fields = (obj?: { __typename?: any } | null): obj is consents_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isconsents_variance_fields"')
  return consents_variance_fields_possibleTypes.includes(obj.__typename)
}



const context_group_context_possibleTypes: string[] = ['context_group_context']
export const iscontext_group_context = (obj?: { __typename?: any } | null): obj is context_group_context => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context"')
  return context_group_context_possibleTypes.includes(obj.__typename)
}



const context_group_context_aggregate_possibleTypes: string[] = ['context_group_context_aggregate']
export const iscontext_group_context_aggregate = (obj?: { __typename?: any } | null): obj is context_group_context_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context_aggregate"')
  return context_group_context_aggregate_possibleTypes.includes(obj.__typename)
}



const context_group_context_aggregate_fields_possibleTypes: string[] = ['context_group_context_aggregate_fields']
export const iscontext_group_context_aggregate_fields = (obj?: { __typename?: any } | null): obj is context_group_context_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context_aggregate_fields"')
  return context_group_context_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const context_group_context_max_fields_possibleTypes: string[] = ['context_group_context_max_fields']
export const iscontext_group_context_max_fields = (obj?: { __typename?: any } | null): obj is context_group_context_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context_max_fields"')
  return context_group_context_max_fields_possibleTypes.includes(obj.__typename)
}



const context_group_context_min_fields_possibleTypes: string[] = ['context_group_context_min_fields']
export const iscontext_group_context_min_fields = (obj?: { __typename?: any } | null): obj is context_group_context_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context_min_fields"')
  return context_group_context_min_fields_possibleTypes.includes(obj.__typename)
}



const context_group_context_mutation_response_possibleTypes: string[] = ['context_group_context_mutation_response']
export const iscontext_group_context_mutation_response = (obj?: { __typename?: any } | null): obj is context_group_context_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontext_group_context_mutation_response"')
  return context_group_context_mutation_response_possibleTypes.includes(obj.__typename)
}



const contexts_possibleTypes: string[] = ['contexts']
export const iscontexts = (obj?: { __typename?: any } | null): obj is contexts => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts"')
  return contexts_possibleTypes.includes(obj.__typename)
}



const contexts_aggregate_possibleTypes: string[] = ['contexts_aggregate']
export const iscontexts_aggregate = (obj?: { __typename?: any } | null): obj is contexts_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_aggregate"')
  return contexts_aggregate_possibleTypes.includes(obj.__typename)
}



const contexts_aggregate_fields_possibleTypes: string[] = ['contexts_aggregate_fields']
export const iscontexts_aggregate_fields = (obj?: { __typename?: any } | null): obj is contexts_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_aggregate_fields"')
  return contexts_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const contexts_avg_fields_possibleTypes: string[] = ['contexts_avg_fields']
export const iscontexts_avg_fields = (obj?: { __typename?: any } | null): obj is contexts_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_avg_fields"')
  return contexts_avg_fields_possibleTypes.includes(obj.__typename)
}



const contexts_max_fields_possibleTypes: string[] = ['contexts_max_fields']
export const iscontexts_max_fields = (obj?: { __typename?: any } | null): obj is contexts_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_max_fields"')
  return contexts_max_fields_possibleTypes.includes(obj.__typename)
}



const contexts_min_fields_possibleTypes: string[] = ['contexts_min_fields']
export const iscontexts_min_fields = (obj?: { __typename?: any } | null): obj is contexts_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_min_fields"')
  return contexts_min_fields_possibleTypes.includes(obj.__typename)
}



const contexts_mutation_response_possibleTypes: string[] = ['contexts_mutation_response']
export const iscontexts_mutation_response = (obj?: { __typename?: any } | null): obj is contexts_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_mutation_response"')
  return contexts_mutation_response_possibleTypes.includes(obj.__typename)
}



const contexts_stddev_fields_possibleTypes: string[] = ['contexts_stddev_fields']
export const iscontexts_stddev_fields = (obj?: { __typename?: any } | null): obj is contexts_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_stddev_fields"')
  return contexts_stddev_fields_possibleTypes.includes(obj.__typename)
}



const contexts_stddev_pop_fields_possibleTypes: string[] = ['contexts_stddev_pop_fields']
export const iscontexts_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is contexts_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_stddev_pop_fields"')
  return contexts_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const contexts_stddev_samp_fields_possibleTypes: string[] = ['contexts_stddev_samp_fields']
export const iscontexts_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is contexts_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_stddev_samp_fields"')
  return contexts_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const contexts_sum_fields_possibleTypes: string[] = ['contexts_sum_fields']
export const iscontexts_sum_fields = (obj?: { __typename?: any } | null): obj is contexts_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_sum_fields"')
  return contexts_sum_fields_possibleTypes.includes(obj.__typename)
}



const contexts_var_pop_fields_possibleTypes: string[] = ['contexts_var_pop_fields']
export const iscontexts_var_pop_fields = (obj?: { __typename?: any } | null): obj is contexts_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_var_pop_fields"')
  return contexts_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const contexts_var_samp_fields_possibleTypes: string[] = ['contexts_var_samp_fields']
export const iscontexts_var_samp_fields = (obj?: { __typename?: any } | null): obj is contexts_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_var_samp_fields"')
  return contexts_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const contexts_variance_fields_possibleTypes: string[] = ['contexts_variance_fields']
export const iscontexts_variance_fields = (obj?: { __typename?: any } | null): obj is contexts_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscontexts_variance_fields"')
  return contexts_variance_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_possibleTypes: string[] = ['custom_db_nodes']
export const iscustom_db_nodes = (obj?: { __typename?: any } | null): obj is custom_db_nodes => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes"')
  return custom_db_nodes_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_aggregate_possibleTypes: string[] = ['custom_db_nodes_aggregate']
export const iscustom_db_nodes_aggregate = (obj?: { __typename?: any } | null): obj is custom_db_nodes_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_aggregate"')
  return custom_db_nodes_aggregate_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_aggregate_fields_possibleTypes: string[] = ['custom_db_nodes_aggregate_fields']
export const iscustom_db_nodes_aggregate_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_aggregate_fields"')
  return custom_db_nodes_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_avg_fields_possibleTypes: string[] = ['custom_db_nodes_avg_fields']
export const iscustom_db_nodes_avg_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_avg_fields"')
  return custom_db_nodes_avg_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_max_fields_possibleTypes: string[] = ['custom_db_nodes_max_fields']
export const iscustom_db_nodes_max_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_max_fields"')
  return custom_db_nodes_max_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_min_fields_possibleTypes: string[] = ['custom_db_nodes_min_fields']
export const iscustom_db_nodes_min_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_min_fields"')
  return custom_db_nodes_min_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_mutation_response_possibleTypes: string[] = ['custom_db_nodes_mutation_response']
export const iscustom_db_nodes_mutation_response = (obj?: { __typename?: any } | null): obj is custom_db_nodes_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_mutation_response"')
  return custom_db_nodes_mutation_response_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_stddev_fields_possibleTypes: string[] = ['custom_db_nodes_stddev_fields']
export const iscustom_db_nodes_stddev_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_stddev_fields"')
  return custom_db_nodes_stddev_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_stddev_pop_fields_possibleTypes: string[] = ['custom_db_nodes_stddev_pop_fields']
export const iscustom_db_nodes_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_stddev_pop_fields"')
  return custom_db_nodes_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_stddev_samp_fields_possibleTypes: string[] = ['custom_db_nodes_stddev_samp_fields']
export const iscustom_db_nodes_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_stddev_samp_fields"')
  return custom_db_nodes_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_sum_fields_possibleTypes: string[] = ['custom_db_nodes_sum_fields']
export const iscustom_db_nodes_sum_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_sum_fields"')
  return custom_db_nodes_sum_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_var_pop_fields_possibleTypes: string[] = ['custom_db_nodes_var_pop_fields']
export const iscustom_db_nodes_var_pop_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_var_pop_fields"')
  return custom_db_nodes_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_var_samp_fields_possibleTypes: string[] = ['custom_db_nodes_var_samp_fields']
export const iscustom_db_nodes_var_samp_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_var_samp_fields"')
  return custom_db_nodes_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const custom_db_nodes_variance_fields_possibleTypes: string[] = ['custom_db_nodes_variance_fields']
export const iscustom_db_nodes_variance_fields = (obj?: { __typename?: any } | null): obj is custom_db_nodes_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscustom_db_nodes_variance_fields"')
  return custom_db_nodes_variance_fields_possibleTypes.includes(obj.__typename)
}



const directory_customers_possibleTypes: string[] = ['directory_customers']
export const isdirectory_customers = (obj?: { __typename?: any } | null): obj is directory_customers => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers"')
  return directory_customers_possibleTypes.includes(obj.__typename)
}



const directory_customers_aggregate_possibleTypes: string[] = ['directory_customers_aggregate']
export const isdirectory_customers_aggregate = (obj?: { __typename?: any } | null): obj is directory_customers_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers_aggregate"')
  return directory_customers_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_customers_aggregate_fields_possibleTypes: string[] = ['directory_customers_aggregate_fields']
export const isdirectory_customers_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_customers_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers_aggregate_fields"')
  return directory_customers_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_customers_max_fields_possibleTypes: string[] = ['directory_customers_max_fields']
export const isdirectory_customers_max_fields = (obj?: { __typename?: any } | null): obj is directory_customers_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers_max_fields"')
  return directory_customers_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_customers_min_fields_possibleTypes: string[] = ['directory_customers_min_fields']
export const isdirectory_customers_min_fields = (obj?: { __typename?: any } | null): obj is directory_customers_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers_min_fields"')
  return directory_customers_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_customers_mutation_response_possibleTypes: string[] = ['directory_customers_mutation_response']
export const isdirectory_customers_mutation_response = (obj?: { __typename?: any } | null): obj is directory_customers_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_customers_mutation_response"')
  return directory_customers_mutation_response_possibleTypes.includes(obj.__typename)
}



const directory_user_name_possibleTypes: string[] = ['directory_user_name']
export const isdirectory_user_name = (obj?: { __typename?: any } | null): obj is directory_user_name => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name"')
  return directory_user_name_possibleTypes.includes(obj.__typename)
}



const directory_user_name_aggregate_possibleTypes: string[] = ['directory_user_name_aggregate']
export const isdirectory_user_name_aggregate = (obj?: { __typename?: any } | null): obj is directory_user_name_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name_aggregate"')
  return directory_user_name_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_user_name_aggregate_fields_possibleTypes: string[] = ['directory_user_name_aggregate_fields']
export const isdirectory_user_name_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_user_name_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name_aggregate_fields"')
  return directory_user_name_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_name_max_fields_possibleTypes: string[] = ['directory_user_name_max_fields']
export const isdirectory_user_name_max_fields = (obj?: { __typename?: any } | null): obj is directory_user_name_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name_max_fields"')
  return directory_user_name_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_name_min_fields_possibleTypes: string[] = ['directory_user_name_min_fields']
export const isdirectory_user_name_min_fields = (obj?: { __typename?: any } | null): obj is directory_user_name_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name_min_fields"')
  return directory_user_name_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_name_mutation_response_possibleTypes: string[] = ['directory_user_name_mutation_response']
export const isdirectory_user_name_mutation_response = (obj?: { __typename?: any } | null): obj is directory_user_name_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_name_mutation_response"')
  return directory_user_name_mutation_response_possibleTypes.includes(obj.__typename)
}



const document_patient_possibleTypes: string[] = ['document_patient']
export const isdocument_patient = (obj?: { __typename?: any } | null): obj is document_patient => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient"')
  return document_patient_possibleTypes.includes(obj.__typename)
}



const document_patient_aggregate_possibleTypes: string[] = ['document_patient_aggregate']
export const isdocument_patient_aggregate = (obj?: { __typename?: any } | null): obj is document_patient_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_aggregate"')
  return document_patient_aggregate_possibleTypes.includes(obj.__typename)
}



const document_patient_aggregate_fields_possibleTypes: string[] = ['document_patient_aggregate_fields']
export const isdocument_patient_aggregate_fields = (obj?: { __typename?: any } | null): obj is document_patient_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_aggregate_fields"')
  return document_patient_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_avg_fields_possibleTypes: string[] = ['document_patient_avg_fields']
export const isdocument_patient_avg_fields = (obj?: { __typename?: any } | null): obj is document_patient_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_avg_fields"')
  return document_patient_avg_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_max_fields_possibleTypes: string[] = ['document_patient_max_fields']
export const isdocument_patient_max_fields = (obj?: { __typename?: any } | null): obj is document_patient_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_max_fields"')
  return document_patient_max_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_min_fields_possibleTypes: string[] = ['document_patient_min_fields']
export const isdocument_patient_min_fields = (obj?: { __typename?: any } | null): obj is document_patient_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_min_fields"')
  return document_patient_min_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_mutation_response_possibleTypes: string[] = ['document_patient_mutation_response']
export const isdocument_patient_mutation_response = (obj?: { __typename?: any } | null): obj is document_patient_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_mutation_response"')
  return document_patient_mutation_response_possibleTypes.includes(obj.__typename)
}



const document_patient_stddev_fields_possibleTypes: string[] = ['document_patient_stddev_fields']
export const isdocument_patient_stddev_fields = (obj?: { __typename?: any } | null): obj is document_patient_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_stddev_fields"')
  return document_patient_stddev_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_stddev_pop_fields_possibleTypes: string[] = ['document_patient_stddev_pop_fields']
export const isdocument_patient_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is document_patient_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_stddev_pop_fields"')
  return document_patient_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_stddev_samp_fields_possibleTypes: string[] = ['document_patient_stddev_samp_fields']
export const isdocument_patient_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is document_patient_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_stddev_samp_fields"')
  return document_patient_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_sum_fields_possibleTypes: string[] = ['document_patient_sum_fields']
export const isdocument_patient_sum_fields = (obj?: { __typename?: any } | null): obj is document_patient_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_sum_fields"')
  return document_patient_sum_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_var_pop_fields_possibleTypes: string[] = ['document_patient_var_pop_fields']
export const isdocument_patient_var_pop_fields = (obj?: { __typename?: any } | null): obj is document_patient_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_var_pop_fields"')
  return document_patient_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_var_samp_fields_possibleTypes: string[] = ['document_patient_var_samp_fields']
export const isdocument_patient_var_samp_fields = (obj?: { __typename?: any } | null): obj is document_patient_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_var_samp_fields"')
  return document_patient_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const document_patient_variance_fields_possibleTypes: string[] = ['document_patient_variance_fields']
export const isdocument_patient_variance_fields = (obj?: { __typename?: any } | null): obj is document_patient_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_patient_variance_fields"')
  return document_patient_variance_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_possibleTypes: string[] = ['document_sms']
export const isdocument_sms = (obj?: { __typename?: any } | null): obj is document_sms => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms"')
  return document_sms_possibleTypes.includes(obj.__typename)
}



const document_sms_aggregate_possibleTypes: string[] = ['document_sms_aggregate']
export const isdocument_sms_aggregate = (obj?: { __typename?: any } | null): obj is document_sms_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_aggregate"')
  return document_sms_aggregate_possibleTypes.includes(obj.__typename)
}



const document_sms_aggregate_fields_possibleTypes: string[] = ['document_sms_aggregate_fields']
export const isdocument_sms_aggregate_fields = (obj?: { __typename?: any } | null): obj is document_sms_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_aggregate_fields"')
  return document_sms_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_avg_fields_possibleTypes: string[] = ['document_sms_avg_fields']
export const isdocument_sms_avg_fields = (obj?: { __typename?: any } | null): obj is document_sms_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_avg_fields"')
  return document_sms_avg_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_max_fields_possibleTypes: string[] = ['document_sms_max_fields']
export const isdocument_sms_max_fields = (obj?: { __typename?: any } | null): obj is document_sms_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_max_fields"')
  return document_sms_max_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_min_fields_possibleTypes: string[] = ['document_sms_min_fields']
export const isdocument_sms_min_fields = (obj?: { __typename?: any } | null): obj is document_sms_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_min_fields"')
  return document_sms_min_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_mutation_response_possibleTypes: string[] = ['document_sms_mutation_response']
export const isdocument_sms_mutation_response = (obj?: { __typename?: any } | null): obj is document_sms_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_mutation_response"')
  return document_sms_mutation_response_possibleTypes.includes(obj.__typename)
}



const document_sms_stddev_fields_possibleTypes: string[] = ['document_sms_stddev_fields']
export const isdocument_sms_stddev_fields = (obj?: { __typename?: any } | null): obj is document_sms_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_stddev_fields"')
  return document_sms_stddev_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_stddev_pop_fields_possibleTypes: string[] = ['document_sms_stddev_pop_fields']
export const isdocument_sms_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is document_sms_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_stddev_pop_fields"')
  return document_sms_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_stddev_samp_fields_possibleTypes: string[] = ['document_sms_stddev_samp_fields']
export const isdocument_sms_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is document_sms_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_stddev_samp_fields"')
  return document_sms_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_sum_fields_possibleTypes: string[] = ['document_sms_sum_fields']
export const isdocument_sms_sum_fields = (obj?: { __typename?: any } | null): obj is document_sms_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_sum_fields"')
  return document_sms_sum_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_var_pop_fields_possibleTypes: string[] = ['document_sms_var_pop_fields']
export const isdocument_sms_var_pop_fields = (obj?: { __typename?: any } | null): obj is document_sms_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_var_pop_fields"')
  return document_sms_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_var_samp_fields_possibleTypes: string[] = ['document_sms_var_samp_fields']
export const isdocument_sms_var_samp_fields = (obj?: { __typename?: any } | null): obj is document_sms_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_var_samp_fields"')
  return document_sms_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const document_sms_variance_fields_possibleTypes: string[] = ['document_sms_variance_fields']
export const isdocument_sms_variance_fields = (obj?: { __typename?: any } | null): obj is document_sms_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocument_sms_variance_fields"')
  return document_sms_variance_fields_possibleTypes.includes(obj.__typename)
}



const documents_possibleTypes: string[] = ['documents']
export const isdocuments = (obj?: { __typename?: any } | null): obj is documents => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments"')
  return documents_possibleTypes.includes(obj.__typename)
}



const documents_aggregate_possibleTypes: string[] = ['documents_aggregate']
export const isdocuments_aggregate = (obj?: { __typename?: any } | null): obj is documents_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_aggregate"')
  return documents_aggregate_possibleTypes.includes(obj.__typename)
}



const documents_aggregate_fields_possibleTypes: string[] = ['documents_aggregate_fields']
export const isdocuments_aggregate_fields = (obj?: { __typename?: any } | null): obj is documents_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_aggregate_fields"')
  return documents_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const documents_avg_fields_possibleTypes: string[] = ['documents_avg_fields']
export const isdocuments_avg_fields = (obj?: { __typename?: any } | null): obj is documents_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_avg_fields"')
  return documents_avg_fields_possibleTypes.includes(obj.__typename)
}



const documents_max_fields_possibleTypes: string[] = ['documents_max_fields']
export const isdocuments_max_fields = (obj?: { __typename?: any } | null): obj is documents_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_max_fields"')
  return documents_max_fields_possibleTypes.includes(obj.__typename)
}



const documents_min_fields_possibleTypes: string[] = ['documents_min_fields']
export const isdocuments_min_fields = (obj?: { __typename?: any } | null): obj is documents_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_min_fields"')
  return documents_min_fields_possibleTypes.includes(obj.__typename)
}



const documents_mutation_response_possibleTypes: string[] = ['documents_mutation_response']
export const isdocuments_mutation_response = (obj?: { __typename?: any } | null): obj is documents_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_mutation_response"')
  return documents_mutation_response_possibleTypes.includes(obj.__typename)
}



const documents_overview_possibleTypes: string[] = ['documents_overview']
export const isdocuments_overview = (obj?: { __typename?: any } | null): obj is documents_overview => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview"')
  return documents_overview_possibleTypes.includes(obj.__typename)
}



const documents_overview_aggregate_possibleTypes: string[] = ['documents_overview_aggregate']
export const isdocuments_overview_aggregate = (obj?: { __typename?: any } | null): obj is documents_overview_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_aggregate"')
  return documents_overview_aggregate_possibleTypes.includes(obj.__typename)
}



const documents_overview_aggregate_fields_possibleTypes: string[] = ['documents_overview_aggregate_fields']
export const isdocuments_overview_aggregate_fields = (obj?: { __typename?: any } | null): obj is documents_overview_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_aggregate_fields"')
  return documents_overview_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_avg_fields_possibleTypes: string[] = ['documents_overview_avg_fields']
export const isdocuments_overview_avg_fields = (obj?: { __typename?: any } | null): obj is documents_overview_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_avg_fields"')
  return documents_overview_avg_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_max_fields_possibleTypes: string[] = ['documents_overview_max_fields']
export const isdocuments_overview_max_fields = (obj?: { __typename?: any } | null): obj is documents_overview_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_max_fields"')
  return documents_overview_max_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_min_fields_possibleTypes: string[] = ['documents_overview_min_fields']
export const isdocuments_overview_min_fields = (obj?: { __typename?: any } | null): obj is documents_overview_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_min_fields"')
  return documents_overview_min_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_stddev_fields_possibleTypes: string[] = ['documents_overview_stddev_fields']
export const isdocuments_overview_stddev_fields = (obj?: { __typename?: any } | null): obj is documents_overview_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_stddev_fields"')
  return documents_overview_stddev_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_stddev_pop_fields_possibleTypes: string[] = ['documents_overview_stddev_pop_fields']
export const isdocuments_overview_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is documents_overview_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_stddev_pop_fields"')
  return documents_overview_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_stddev_samp_fields_possibleTypes: string[] = ['documents_overview_stddev_samp_fields']
export const isdocuments_overview_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is documents_overview_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_stddev_samp_fields"')
  return documents_overview_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_sum_fields_possibleTypes: string[] = ['documents_overview_sum_fields']
export const isdocuments_overview_sum_fields = (obj?: { __typename?: any } | null): obj is documents_overview_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_sum_fields"')
  return documents_overview_sum_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_var_pop_fields_possibleTypes: string[] = ['documents_overview_var_pop_fields']
export const isdocuments_overview_var_pop_fields = (obj?: { __typename?: any } | null): obj is documents_overview_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_var_pop_fields"')
  return documents_overview_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_var_samp_fields_possibleTypes: string[] = ['documents_overview_var_samp_fields']
export const isdocuments_overview_var_samp_fields = (obj?: { __typename?: any } | null): obj is documents_overview_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_var_samp_fields"')
  return documents_overview_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const documents_overview_variance_fields_possibleTypes: string[] = ['documents_overview_variance_fields']
export const isdocuments_overview_variance_fields = (obj?: { __typename?: any } | null): obj is documents_overview_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_overview_variance_fields"')
  return documents_overview_variance_fields_possibleTypes.includes(obj.__typename)
}



const documents_stddev_fields_possibleTypes: string[] = ['documents_stddev_fields']
export const isdocuments_stddev_fields = (obj?: { __typename?: any } | null): obj is documents_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_stddev_fields"')
  return documents_stddev_fields_possibleTypes.includes(obj.__typename)
}



const documents_stddev_pop_fields_possibleTypes: string[] = ['documents_stddev_pop_fields']
export const isdocuments_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is documents_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_stddev_pop_fields"')
  return documents_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const documents_stddev_samp_fields_possibleTypes: string[] = ['documents_stddev_samp_fields']
export const isdocuments_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is documents_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_stddev_samp_fields"')
  return documents_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const documents_sum_fields_possibleTypes: string[] = ['documents_sum_fields']
export const isdocuments_sum_fields = (obj?: { __typename?: any } | null): obj is documents_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_sum_fields"')
  return documents_sum_fields_possibleTypes.includes(obj.__typename)
}



const documents_var_pop_fields_possibleTypes: string[] = ['documents_var_pop_fields']
export const isdocuments_var_pop_fields = (obj?: { __typename?: any } | null): obj is documents_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_var_pop_fields"')
  return documents_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const documents_var_samp_fields_possibleTypes: string[] = ['documents_var_samp_fields']
export const isdocuments_var_samp_fields = (obj?: { __typename?: any } | null): obj is documents_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_var_samp_fields"')
  return documents_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const documents_variance_fields_possibleTypes: string[] = ['documents_variance_fields']
export const isdocuments_variance_fields = (obj?: { __typename?: any } | null): obj is documents_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdocuments_variance_fields"')
  return documents_variance_fields_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_possibleTypes: string[] = ['event_artifact_package']
export const isevent_artifact_package = (obj?: { __typename?: any } | null): obj is event_artifact_package => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package"')
  return event_artifact_package_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_aggregate_possibleTypes: string[] = ['event_artifact_package_aggregate']
export const isevent_artifact_package_aggregate = (obj?: { __typename?: any } | null): obj is event_artifact_package_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package_aggregate"')
  return event_artifact_package_aggregate_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_aggregate_fields_possibleTypes: string[] = ['event_artifact_package_aggregate_fields']
export const isevent_artifact_package_aggregate_fields = (obj?: { __typename?: any } | null): obj is event_artifact_package_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package_aggregate_fields"')
  return event_artifact_package_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_max_fields_possibleTypes: string[] = ['event_artifact_package_max_fields']
export const isevent_artifact_package_max_fields = (obj?: { __typename?: any } | null): obj is event_artifact_package_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package_max_fields"')
  return event_artifact_package_max_fields_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_min_fields_possibleTypes: string[] = ['event_artifact_package_min_fields']
export const isevent_artifact_package_min_fields = (obj?: { __typename?: any } | null): obj is event_artifact_package_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package_min_fields"')
  return event_artifact_package_min_fields_possibleTypes.includes(obj.__typename)
}



const event_artifact_package_mutation_response_possibleTypes: string[] = ['event_artifact_package_mutation_response']
export const isevent_artifact_package_mutation_response = (obj?: { __typename?: any } | null): obj is event_artifact_package_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isevent_artifact_package_mutation_response"')
  return event_artifact_package_mutation_response_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_possibleTypes: string[] = ['favorite_templates_order']
export const isfavorite_templates_order = (obj?: { __typename?: any } | null): obj is favorite_templates_order => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order"')
  return favorite_templates_order_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_aggregate_possibleTypes: string[] = ['favorite_templates_order_aggregate']
export const isfavorite_templates_order_aggregate = (obj?: { __typename?: any } | null): obj is favorite_templates_order_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_aggregate"')
  return favorite_templates_order_aggregate_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_aggregate_fields_possibleTypes: string[] = ['favorite_templates_order_aggregate_fields']
export const isfavorite_templates_order_aggregate_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_aggregate_fields"')
  return favorite_templates_order_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_avg_fields_possibleTypes: string[] = ['favorite_templates_order_avg_fields']
export const isfavorite_templates_order_avg_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_avg_fields"')
  return favorite_templates_order_avg_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_max_fields_possibleTypes: string[] = ['favorite_templates_order_max_fields']
export const isfavorite_templates_order_max_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_max_fields"')
  return favorite_templates_order_max_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_min_fields_possibleTypes: string[] = ['favorite_templates_order_min_fields']
export const isfavorite_templates_order_min_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_min_fields"')
  return favorite_templates_order_min_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_mutation_response_possibleTypes: string[] = ['favorite_templates_order_mutation_response']
export const isfavorite_templates_order_mutation_response = (obj?: { __typename?: any } | null): obj is favorite_templates_order_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_mutation_response"')
  return favorite_templates_order_mutation_response_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_stddev_fields_possibleTypes: string[] = ['favorite_templates_order_stddev_fields']
export const isfavorite_templates_order_stddev_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_stddev_fields"')
  return favorite_templates_order_stddev_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_stddev_pop_fields_possibleTypes: string[] = ['favorite_templates_order_stddev_pop_fields']
export const isfavorite_templates_order_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_stddev_pop_fields"')
  return favorite_templates_order_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_stddev_samp_fields_possibleTypes: string[] = ['favorite_templates_order_stddev_samp_fields']
export const isfavorite_templates_order_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_stddev_samp_fields"')
  return favorite_templates_order_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_sum_fields_possibleTypes: string[] = ['favorite_templates_order_sum_fields']
export const isfavorite_templates_order_sum_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_sum_fields"')
  return favorite_templates_order_sum_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_var_pop_fields_possibleTypes: string[] = ['favorite_templates_order_var_pop_fields']
export const isfavorite_templates_order_var_pop_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_var_pop_fields"')
  return favorite_templates_order_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_var_samp_fields_possibleTypes: string[] = ['favorite_templates_order_var_samp_fields']
export const isfavorite_templates_order_var_samp_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_var_samp_fields"')
  return favorite_templates_order_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const favorite_templates_order_variance_fields_possibleTypes: string[] = ['favorite_templates_order_variance_fields']
export const isfavorite_templates_order_variance_fields = (obj?: { __typename?: any } | null): obj is favorite_templates_order_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorite_templates_order_variance_fields"')
  return favorite_templates_order_variance_fields_possibleTypes.includes(obj.__typename)
}



const favorites_possibleTypes: string[] = ['favorites']
export const isfavorites = (obj?: { __typename?: any } | null): obj is favorites => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites"')
  return favorites_possibleTypes.includes(obj.__typename)
}



const favorites_aggregate_possibleTypes: string[] = ['favorites_aggregate']
export const isfavorites_aggregate = (obj?: { __typename?: any } | null): obj is favorites_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_aggregate"')
  return favorites_aggregate_possibleTypes.includes(obj.__typename)
}



const favorites_aggregate_fields_possibleTypes: string[] = ['favorites_aggregate_fields']
export const isfavorites_aggregate_fields = (obj?: { __typename?: any } | null): obj is favorites_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_aggregate_fields"')
  return favorites_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const favorites_avg_fields_possibleTypes: string[] = ['favorites_avg_fields']
export const isfavorites_avg_fields = (obj?: { __typename?: any } | null): obj is favorites_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_avg_fields"')
  return favorites_avg_fields_possibleTypes.includes(obj.__typename)
}



const favorites_max_fields_possibleTypes: string[] = ['favorites_max_fields']
export const isfavorites_max_fields = (obj?: { __typename?: any } | null): obj is favorites_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_max_fields"')
  return favorites_max_fields_possibleTypes.includes(obj.__typename)
}



const favorites_min_fields_possibleTypes: string[] = ['favorites_min_fields']
export const isfavorites_min_fields = (obj?: { __typename?: any } | null): obj is favorites_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_min_fields"')
  return favorites_min_fields_possibleTypes.includes(obj.__typename)
}



const favorites_mutation_response_possibleTypes: string[] = ['favorites_mutation_response']
export const isfavorites_mutation_response = (obj?: { __typename?: any } | null): obj is favorites_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_mutation_response"')
  return favorites_mutation_response_possibleTypes.includes(obj.__typename)
}



const favorites_stddev_fields_possibleTypes: string[] = ['favorites_stddev_fields']
export const isfavorites_stddev_fields = (obj?: { __typename?: any } | null): obj is favorites_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_stddev_fields"')
  return favorites_stddev_fields_possibleTypes.includes(obj.__typename)
}



const favorites_stddev_pop_fields_possibleTypes: string[] = ['favorites_stddev_pop_fields']
export const isfavorites_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is favorites_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_stddev_pop_fields"')
  return favorites_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const favorites_stddev_samp_fields_possibleTypes: string[] = ['favorites_stddev_samp_fields']
export const isfavorites_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is favorites_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_stddev_samp_fields"')
  return favorites_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const favorites_sum_fields_possibleTypes: string[] = ['favorites_sum_fields']
export const isfavorites_sum_fields = (obj?: { __typename?: any } | null): obj is favorites_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_sum_fields"')
  return favorites_sum_fields_possibleTypes.includes(obj.__typename)
}



const favorites_var_pop_fields_possibleTypes: string[] = ['favorites_var_pop_fields']
export const isfavorites_var_pop_fields = (obj?: { __typename?: any } | null): obj is favorites_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_var_pop_fields"')
  return favorites_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const favorites_var_samp_fields_possibleTypes: string[] = ['favorites_var_samp_fields']
export const isfavorites_var_samp_fields = (obj?: { __typename?: any } | null): obj is favorites_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_var_samp_fields"')
  return favorites_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const favorites_variance_fields_possibleTypes: string[] = ['favorites_variance_fields']
export const isfavorites_variance_fields = (obj?: { __typename?: any } | null): obj is favorites_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfavorites_variance_fields"')
  return favorites_variance_fields_possibleTypes.includes(obj.__typename)
}



const filter_names_possibleTypes: string[] = ['filter_names']
export const isfilter_names = (obj?: { __typename?: any } | null): obj is filter_names => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names"')
  return filter_names_possibleTypes.includes(obj.__typename)
}



const filter_names_aggregate_possibleTypes: string[] = ['filter_names_aggregate']
export const isfilter_names_aggregate = (obj?: { __typename?: any } | null): obj is filter_names_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names_aggregate"')
  return filter_names_aggregate_possibleTypes.includes(obj.__typename)
}



const filter_names_aggregate_fields_possibleTypes: string[] = ['filter_names_aggregate_fields']
export const isfilter_names_aggregate_fields = (obj?: { __typename?: any } | null): obj is filter_names_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names_aggregate_fields"')
  return filter_names_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const filter_names_max_fields_possibleTypes: string[] = ['filter_names_max_fields']
export const isfilter_names_max_fields = (obj?: { __typename?: any } | null): obj is filter_names_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names_max_fields"')
  return filter_names_max_fields_possibleTypes.includes(obj.__typename)
}



const filter_names_min_fields_possibleTypes: string[] = ['filter_names_min_fields']
export const isfilter_names_min_fields = (obj?: { __typename?: any } | null): obj is filter_names_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names_min_fields"')
  return filter_names_min_fields_possibleTypes.includes(obj.__typename)
}



const filter_names_mutation_response_possibleTypes: string[] = ['filter_names_mutation_response']
export const isfilter_names_mutation_response = (obj?: { __typename?: any } | null): obj is filter_names_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isfilter_names_mutation_response"')
  return filter_names_mutation_response_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_possibleTypes: string[] = ['genesis_consent_permissions']
export const isgenesis_consent_permissions = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions"')
  return genesis_consent_permissions_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_aggregate_possibleTypes: string[] = ['genesis_consent_permissions_aggregate']
export const isgenesis_consent_permissions_aggregate = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_aggregate"')
  return genesis_consent_permissions_aggregate_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_aggregate_fields_possibleTypes: string[] = ['genesis_consent_permissions_aggregate_fields']
export const isgenesis_consent_permissions_aggregate_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_aggregate_fields"')
  return genesis_consent_permissions_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_avg_fields_possibleTypes: string[] = ['genesis_consent_permissions_avg_fields']
export const isgenesis_consent_permissions_avg_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_avg_fields"')
  return genesis_consent_permissions_avg_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_max_fields_possibleTypes: string[] = ['genesis_consent_permissions_max_fields']
export const isgenesis_consent_permissions_max_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_max_fields"')
  return genesis_consent_permissions_max_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_min_fields_possibleTypes: string[] = ['genesis_consent_permissions_min_fields']
export const isgenesis_consent_permissions_min_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_min_fields"')
  return genesis_consent_permissions_min_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_mutation_response_possibleTypes: string[] = ['genesis_consent_permissions_mutation_response']
export const isgenesis_consent_permissions_mutation_response = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_mutation_response"')
  return genesis_consent_permissions_mutation_response_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_stddev_fields_possibleTypes: string[] = ['genesis_consent_permissions_stddev_fields']
export const isgenesis_consent_permissions_stddev_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_stddev_fields"')
  return genesis_consent_permissions_stddev_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_stddev_pop_fields_possibleTypes: string[] = ['genesis_consent_permissions_stddev_pop_fields']
export const isgenesis_consent_permissions_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_stddev_pop_fields"')
  return genesis_consent_permissions_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_stddev_samp_fields_possibleTypes: string[] = ['genesis_consent_permissions_stddev_samp_fields']
export const isgenesis_consent_permissions_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_stddev_samp_fields"')
  return genesis_consent_permissions_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_sum_fields_possibleTypes: string[] = ['genesis_consent_permissions_sum_fields']
export const isgenesis_consent_permissions_sum_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_sum_fields"')
  return genesis_consent_permissions_sum_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_var_pop_fields_possibleTypes: string[] = ['genesis_consent_permissions_var_pop_fields']
export const isgenesis_consent_permissions_var_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_var_pop_fields"')
  return genesis_consent_permissions_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_var_samp_fields_possibleTypes: string[] = ['genesis_consent_permissions_var_samp_fields']
export const isgenesis_consent_permissions_var_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_var_samp_fields"')
  return genesis_consent_permissions_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_permissions_variance_fields_possibleTypes: string[] = ['genesis_consent_permissions_variance_fields']
export const isgenesis_consent_permissions_variance_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_permissions_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_permissions_variance_fields"')
  return genesis_consent_permissions_variance_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_possibleTypes: string[] = ['genesis_consent_templates']
export const isgenesis_consent_templates = (obj?: { __typename?: any } | null): obj is genesis_consent_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates"')
  return genesis_consent_templates_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_aggregate_possibleTypes: string[] = ['genesis_consent_templates_aggregate']
export const isgenesis_consent_templates_aggregate = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_aggregate"')
  return genesis_consent_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_aggregate_fields_possibleTypes: string[] = ['genesis_consent_templates_aggregate_fields']
export const isgenesis_consent_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_aggregate_fields"')
  return genesis_consent_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_avg_fields_possibleTypes: string[] = ['genesis_consent_templates_avg_fields']
export const isgenesis_consent_templates_avg_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_avg_fields"')
  return genesis_consent_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_max_fields_possibleTypes: string[] = ['genesis_consent_templates_max_fields']
export const isgenesis_consent_templates_max_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_max_fields"')
  return genesis_consent_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_min_fields_possibleTypes: string[] = ['genesis_consent_templates_min_fields']
export const isgenesis_consent_templates_min_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_min_fields"')
  return genesis_consent_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_mutation_response_possibleTypes: string[] = ['genesis_consent_templates_mutation_response']
export const isgenesis_consent_templates_mutation_response = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_mutation_response"')
  return genesis_consent_templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_stddev_fields_possibleTypes: string[] = ['genesis_consent_templates_stddev_fields']
export const isgenesis_consent_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_stddev_fields"')
  return genesis_consent_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_stddev_pop_fields_possibleTypes: string[] = ['genesis_consent_templates_stddev_pop_fields']
export const isgenesis_consent_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_stddev_pop_fields"')
  return genesis_consent_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_stddev_samp_fields_possibleTypes: string[] = ['genesis_consent_templates_stddev_samp_fields']
export const isgenesis_consent_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_stddev_samp_fields"')
  return genesis_consent_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_sum_fields_possibleTypes: string[] = ['genesis_consent_templates_sum_fields']
export const isgenesis_consent_templates_sum_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_sum_fields"')
  return genesis_consent_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_var_pop_fields_possibleTypes: string[] = ['genesis_consent_templates_var_pop_fields']
export const isgenesis_consent_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_var_pop_fields"')
  return genesis_consent_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_var_samp_fields_possibleTypes: string[] = ['genesis_consent_templates_var_samp_fields']
export const isgenesis_consent_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_var_samp_fields"')
  return genesis_consent_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_consent_templates_variance_fields_possibleTypes: string[] = ['genesis_consent_templates_variance_fields']
export const isgenesis_consent_templates_variance_fields = (obj?: { __typename?: any } | null): obj is genesis_consent_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_consent_templates_variance_fields"')
  return genesis_consent_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_possibleTypes: string[] = ['genesis_denied_permissions']
export const isgenesis_denied_permissions = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions"')
  return genesis_denied_permissions_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_aggregate_possibleTypes: string[] = ['genesis_denied_permissions_aggregate']
export const isgenesis_denied_permissions_aggregate = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions_aggregate"')
  return genesis_denied_permissions_aggregate_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_aggregate_fields_possibleTypes: string[] = ['genesis_denied_permissions_aggregate_fields']
export const isgenesis_denied_permissions_aggregate_fields = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions_aggregate_fields"')
  return genesis_denied_permissions_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_max_fields_possibleTypes: string[] = ['genesis_denied_permissions_max_fields']
export const isgenesis_denied_permissions_max_fields = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions_max_fields"')
  return genesis_denied_permissions_max_fields_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_min_fields_possibleTypes: string[] = ['genesis_denied_permissions_min_fields']
export const isgenesis_denied_permissions_min_fields = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions_min_fields"')
  return genesis_denied_permissions_min_fields_possibleTypes.includes(obj.__typename)
}



const genesis_denied_permissions_mutation_response_possibleTypes: string[] = ['genesis_denied_permissions_mutation_response']
export const isgenesis_denied_permissions_mutation_response = (obj?: { __typename?: any } | null): obj is genesis_denied_permissions_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_denied_permissions_mutation_response"')
  return genesis_denied_permissions_mutation_response_possibleTypes.includes(obj.__typename)
}



const genesis_templates_possibleTypes: string[] = ['genesis_templates']
export const isgenesis_templates = (obj?: { __typename?: any } | null): obj is genesis_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates"')
  return genesis_templates_possibleTypes.includes(obj.__typename)
}



const genesis_templates_aggregate_possibleTypes: string[] = ['genesis_templates_aggregate']
export const isgenesis_templates_aggregate = (obj?: { __typename?: any } | null): obj is genesis_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_aggregate"')
  return genesis_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const genesis_templates_aggregate_fields_possibleTypes: string[] = ['genesis_templates_aggregate_fields']
export const isgenesis_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_aggregate_fields"')
  return genesis_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_avg_fields_possibleTypes: string[] = ['genesis_templates_avg_fields']
export const isgenesis_templates_avg_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_avg_fields"')
  return genesis_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_max_fields_possibleTypes: string[] = ['genesis_templates_max_fields']
export const isgenesis_templates_max_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_max_fields"')
  return genesis_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_min_fields_possibleTypes: string[] = ['genesis_templates_min_fields']
export const isgenesis_templates_min_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_min_fields"')
  return genesis_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_mutation_response_possibleTypes: string[] = ['genesis_templates_mutation_response']
export const isgenesis_templates_mutation_response = (obj?: { __typename?: any } | null): obj is genesis_templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_mutation_response"')
  return genesis_templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const genesis_templates_stddev_fields_possibleTypes: string[] = ['genesis_templates_stddev_fields']
export const isgenesis_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_stddev_fields"')
  return genesis_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_stddev_pop_fields_possibleTypes: string[] = ['genesis_templates_stddev_pop_fields']
export const isgenesis_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_stddev_pop_fields"')
  return genesis_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_stddev_samp_fields_possibleTypes: string[] = ['genesis_templates_stddev_samp_fields']
export const isgenesis_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_stddev_samp_fields"')
  return genesis_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_sum_fields_possibleTypes: string[] = ['genesis_templates_sum_fields']
export const isgenesis_templates_sum_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_sum_fields"')
  return genesis_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_var_pop_fields_possibleTypes: string[] = ['genesis_templates_var_pop_fields']
export const isgenesis_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_var_pop_fields"')
  return genesis_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_var_samp_fields_possibleTypes: string[] = ['genesis_templates_var_samp_fields']
export const isgenesis_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_var_samp_fields"')
  return genesis_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const genesis_templates_variance_fields_possibleTypes: string[] = ['genesis_templates_variance_fields']
export const isgenesis_templates_variance_fields = (obj?: { __typename?: any } | null): obj is genesis_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgenesis_templates_variance_fields"')
  return genesis_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const group_context_possibleTypes: string[] = ['group_context']
export const isgroup_context = (obj?: { __typename?: any } | null): obj is group_context => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context"')
  return group_context_possibleTypes.includes(obj.__typename)
}



const group_context_aggregate_possibleTypes: string[] = ['group_context_aggregate']
export const isgroup_context_aggregate = (obj?: { __typename?: any } | null): obj is group_context_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_aggregate"')
  return group_context_aggregate_possibleTypes.includes(obj.__typename)
}



const group_context_aggregate_fields_possibleTypes: string[] = ['group_context_aggregate_fields']
export const isgroup_context_aggregate_fields = (obj?: { __typename?: any } | null): obj is group_context_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_aggregate_fields"')
  return group_context_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const group_context_filters_possibleTypes: string[] = ['group_context_filters']
export const isgroup_context_filters = (obj?: { __typename?: any } | null): obj is group_context_filters => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters"')
  return group_context_filters_possibleTypes.includes(obj.__typename)
}



const group_context_filters_aggregate_possibleTypes: string[] = ['group_context_filters_aggregate']
export const isgroup_context_filters_aggregate = (obj?: { __typename?: any } | null): obj is group_context_filters_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters_aggregate"')
  return group_context_filters_aggregate_possibleTypes.includes(obj.__typename)
}



const group_context_filters_aggregate_fields_possibleTypes: string[] = ['group_context_filters_aggregate_fields']
export const isgroup_context_filters_aggregate_fields = (obj?: { __typename?: any } | null): obj is group_context_filters_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters_aggregate_fields"')
  return group_context_filters_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const group_context_filters_max_fields_possibleTypes: string[] = ['group_context_filters_max_fields']
export const isgroup_context_filters_max_fields = (obj?: { __typename?: any } | null): obj is group_context_filters_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters_max_fields"')
  return group_context_filters_max_fields_possibleTypes.includes(obj.__typename)
}



const group_context_filters_min_fields_possibleTypes: string[] = ['group_context_filters_min_fields']
export const isgroup_context_filters_min_fields = (obj?: { __typename?: any } | null): obj is group_context_filters_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters_min_fields"')
  return group_context_filters_min_fields_possibleTypes.includes(obj.__typename)
}



const group_context_filters_mutation_response_possibleTypes: string[] = ['group_context_filters_mutation_response']
export const isgroup_context_filters_mutation_response = (obj?: { __typename?: any } | null): obj is group_context_filters_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_filters_mutation_response"')
  return group_context_filters_mutation_response_possibleTypes.includes(obj.__typename)
}



const group_context_max_fields_possibleTypes: string[] = ['group_context_max_fields']
export const isgroup_context_max_fields = (obj?: { __typename?: any } | null): obj is group_context_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_max_fields"')
  return group_context_max_fields_possibleTypes.includes(obj.__typename)
}



const group_context_min_fields_possibleTypes: string[] = ['group_context_min_fields']
export const isgroup_context_min_fields = (obj?: { __typename?: any } | null): obj is group_context_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_min_fields"')
  return group_context_min_fields_possibleTypes.includes(obj.__typename)
}



const group_context_mutation_response_possibleTypes: string[] = ['group_context_mutation_response']
export const isgroup_context_mutation_response = (obj?: { __typename?: any } | null): obj is group_context_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroup_context_mutation_response"')
  return group_context_mutation_response_possibleTypes.includes(obj.__typename)
}



const groups_possibleTypes: string[] = ['groups']
export const isgroups = (obj?: { __typename?: any } | null): obj is groups => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups"')
  return groups_possibleTypes.includes(obj.__typename)
}



const groups_aggregate_possibleTypes: string[] = ['groups_aggregate']
export const isgroups_aggregate = (obj?: { __typename?: any } | null): obj is groups_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups_aggregate"')
  return groups_aggregate_possibleTypes.includes(obj.__typename)
}



const groups_aggregate_fields_possibleTypes: string[] = ['groups_aggregate_fields']
export const isgroups_aggregate_fields = (obj?: { __typename?: any } | null): obj is groups_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups_aggregate_fields"')
  return groups_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const groups_max_fields_possibleTypes: string[] = ['groups_max_fields']
export const isgroups_max_fields = (obj?: { __typename?: any } | null): obj is groups_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups_max_fields"')
  return groups_max_fields_possibleTypes.includes(obj.__typename)
}



const groups_min_fields_possibleTypes: string[] = ['groups_min_fields']
export const isgroups_min_fields = (obj?: { __typename?: any } | null): obj is groups_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups_min_fields"')
  return groups_min_fields_possibleTypes.includes(obj.__typename)
}



const groups_mutation_response_possibleTypes: string[] = ['groups_mutation_response']
export const isgroups_mutation_response = (obj?: { __typename?: any } | null): obj is groups_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isgroups_mutation_response"')
  return groups_mutation_response_possibleTypes.includes(obj.__typename)
}



const initiators_possibleTypes: string[] = ['initiators']
export const isinitiators = (obj?: { __typename?: any } | null): obj is initiators => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators"')
  return initiators_possibleTypes.includes(obj.__typename)
}



const initiators_aggregate_possibleTypes: string[] = ['initiators_aggregate']
export const isinitiators_aggregate = (obj?: { __typename?: any } | null): obj is initiators_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators_aggregate"')
  return initiators_aggregate_possibleTypes.includes(obj.__typename)
}



const initiators_aggregate_fields_possibleTypes: string[] = ['initiators_aggregate_fields']
export const isinitiators_aggregate_fields = (obj?: { __typename?: any } | null): obj is initiators_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators_aggregate_fields"')
  return initiators_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const initiators_max_fields_possibleTypes: string[] = ['initiators_max_fields']
export const isinitiators_max_fields = (obj?: { __typename?: any } | null): obj is initiators_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators_max_fields"')
  return initiators_max_fields_possibleTypes.includes(obj.__typename)
}



const initiators_min_fields_possibleTypes: string[] = ['initiators_min_fields']
export const isinitiators_min_fields = (obj?: { __typename?: any } | null): obj is initiators_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators_min_fields"')
  return initiators_min_fields_possibleTypes.includes(obj.__typename)
}



const initiators_mutation_response_possibleTypes: string[] = ['initiators_mutation_response']
export const isinitiators_mutation_response = (obj?: { __typename?: any } | null): obj is initiators_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isinitiators_mutation_response"')
  return initiators_mutation_response_possibleTypes.includes(obj.__typename)
}



const migrations_possibleTypes: string[] = ['migrations']
export const ismigrations = (obj?: { __typename?: any } | null): obj is migrations => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations"')
  return migrations_possibleTypes.includes(obj.__typename)
}



const migrations_aggregate_possibleTypes: string[] = ['migrations_aggregate']
export const ismigrations_aggregate = (obj?: { __typename?: any } | null): obj is migrations_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_aggregate"')
  return migrations_aggregate_possibleTypes.includes(obj.__typename)
}



const migrations_aggregate_fields_possibleTypes: string[] = ['migrations_aggregate_fields']
export const ismigrations_aggregate_fields = (obj?: { __typename?: any } | null): obj is migrations_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_aggregate_fields"')
  return migrations_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const migrations_avg_fields_possibleTypes: string[] = ['migrations_avg_fields']
export const ismigrations_avg_fields = (obj?: { __typename?: any } | null): obj is migrations_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_avg_fields"')
  return migrations_avg_fields_possibleTypes.includes(obj.__typename)
}



const migrations_max_fields_possibleTypes: string[] = ['migrations_max_fields']
export const ismigrations_max_fields = (obj?: { __typename?: any } | null): obj is migrations_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_max_fields"')
  return migrations_max_fields_possibleTypes.includes(obj.__typename)
}



const migrations_min_fields_possibleTypes: string[] = ['migrations_min_fields']
export const ismigrations_min_fields = (obj?: { __typename?: any } | null): obj is migrations_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_min_fields"')
  return migrations_min_fields_possibleTypes.includes(obj.__typename)
}



const migrations_mutation_response_possibleTypes: string[] = ['migrations_mutation_response']
export const ismigrations_mutation_response = (obj?: { __typename?: any } | null): obj is migrations_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_mutation_response"')
  return migrations_mutation_response_possibleTypes.includes(obj.__typename)
}



const migrations_stddev_fields_possibleTypes: string[] = ['migrations_stddev_fields']
export const ismigrations_stddev_fields = (obj?: { __typename?: any } | null): obj is migrations_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_stddev_fields"')
  return migrations_stddev_fields_possibleTypes.includes(obj.__typename)
}



const migrations_stddev_pop_fields_possibleTypes: string[] = ['migrations_stddev_pop_fields']
export const ismigrations_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is migrations_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_stddev_pop_fields"')
  return migrations_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const migrations_stddev_samp_fields_possibleTypes: string[] = ['migrations_stddev_samp_fields']
export const ismigrations_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is migrations_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_stddev_samp_fields"')
  return migrations_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const migrations_sum_fields_possibleTypes: string[] = ['migrations_sum_fields']
export const ismigrations_sum_fields = (obj?: { __typename?: any } | null): obj is migrations_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_sum_fields"')
  return migrations_sum_fields_possibleTypes.includes(obj.__typename)
}



const migrations_var_pop_fields_possibleTypes: string[] = ['migrations_var_pop_fields']
export const ismigrations_var_pop_fields = (obj?: { __typename?: any } | null): obj is migrations_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_var_pop_fields"')
  return migrations_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const migrations_var_samp_fields_possibleTypes: string[] = ['migrations_var_samp_fields']
export const ismigrations_var_samp_fields = (obj?: { __typename?: any } | null): obj is migrations_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_var_samp_fields"')
  return migrations_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const migrations_variance_fields_possibleTypes: string[] = ['migrations_variance_fields']
export const ismigrations_variance_fields = (obj?: { __typename?: any } | null): obj is migrations_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismigrations_variance_fields"')
  return migrations_variance_fields_possibleTypes.includes(obj.__typename)
}



const mutation_root_possibleTypes: string[] = ['mutation_root']
export const ismutation_root = (obj?: { __typename?: any } | null): obj is mutation_root => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ismutation_root"')
  return mutation_root_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_possibleTypes: string[] = ['organization_qnr_widget']
export const isorganization_qnr_widget = (obj?: { __typename?: any } | null): obj is organization_qnr_widget => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget"')
  return organization_qnr_widget_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_aggregate_possibleTypes: string[] = ['organization_qnr_widget_aggregate']
export const isorganization_qnr_widget_aggregate = (obj?: { __typename?: any } | null): obj is organization_qnr_widget_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget_aggregate"')
  return organization_qnr_widget_aggregate_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_aggregate_fields_possibleTypes: string[] = ['organization_qnr_widget_aggregate_fields']
export const isorganization_qnr_widget_aggregate_fields = (obj?: { __typename?: any } | null): obj is organization_qnr_widget_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget_aggregate_fields"')
  return organization_qnr_widget_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_max_fields_possibleTypes: string[] = ['organization_qnr_widget_max_fields']
export const isorganization_qnr_widget_max_fields = (obj?: { __typename?: any } | null): obj is organization_qnr_widget_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget_max_fields"')
  return organization_qnr_widget_max_fields_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_min_fields_possibleTypes: string[] = ['organization_qnr_widget_min_fields']
export const isorganization_qnr_widget_min_fields = (obj?: { __typename?: any } | null): obj is organization_qnr_widget_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget_min_fields"')
  return organization_qnr_widget_min_fields_possibleTypes.includes(obj.__typename)
}



const organization_qnr_widget_mutation_response_possibleTypes: string[] = ['organization_qnr_widget_mutation_response']
export const isorganization_qnr_widget_mutation_response = (obj?: { __typename?: any } | null): obj is organization_qnr_widget_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isorganization_qnr_widget_mutation_response"')
  return organization_qnr_widget_mutation_response_possibleTypes.includes(obj.__typename)
}



const projects_possibleTypes: string[] = ['projects']
export const isprojects = (obj?: { __typename?: any } | null): obj is projects => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects"')
  return projects_possibleTypes.includes(obj.__typename)
}



const projects_aggregate_possibleTypes: string[] = ['projects_aggregate']
export const isprojects_aggregate = (obj?: { __typename?: any } | null): obj is projects_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects_aggregate"')
  return projects_aggregate_possibleTypes.includes(obj.__typename)
}



const projects_aggregate_fields_possibleTypes: string[] = ['projects_aggregate_fields']
export const isprojects_aggregate_fields = (obj?: { __typename?: any } | null): obj is projects_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects_aggregate_fields"')
  return projects_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const projects_max_fields_possibleTypes: string[] = ['projects_max_fields']
export const isprojects_max_fields = (obj?: { __typename?: any } | null): obj is projects_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects_max_fields"')
  return projects_max_fields_possibleTypes.includes(obj.__typename)
}



const projects_min_fields_possibleTypes: string[] = ['projects_min_fields']
export const isprojects_min_fields = (obj?: { __typename?: any } | null): obj is projects_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects_min_fields"')
  return projects_min_fields_possibleTypes.includes(obj.__typename)
}



const projects_mutation_response_possibleTypes: string[] = ['projects_mutation_response']
export const isprojects_mutation_response = (obj?: { __typename?: any } | null): obj is projects_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isprojects_mutation_response"')
  return projects_mutation_response_possibleTypes.includes(obj.__typename)
}



const qnr_PropertiesResponse_possibleTypes: string[] = ['qnr_PropertiesResponse']
export const isqnr_PropertiesResponse = (obj?: { __typename?: any } | null): obj is qnr_PropertiesResponse => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_PropertiesResponse"')
  return qnr_PropertiesResponse_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_possibleTypes: string[] = ['qnr_template_genesis_overrides']
export const isqnr_template_genesis_overrides = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides"')
  return qnr_template_genesis_overrides_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_aggregate_possibleTypes: string[] = ['qnr_template_genesis_overrides_aggregate']
export const isqnr_template_genesis_overrides_aggregate = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_aggregate"')
  return qnr_template_genesis_overrides_aggregate_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_aggregate_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_aggregate_fields']
export const isqnr_template_genesis_overrides_aggregate_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_aggregate_fields"')
  return qnr_template_genesis_overrides_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_possibleTypes: string[] = ['qnr_template_genesis_overrides_log']
export const isqnr_template_genesis_overrides_log = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log"')
  return qnr_template_genesis_overrides_log_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_aggregate_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_aggregate']
export const isqnr_template_genesis_overrides_log_aggregate = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_aggregate"')
  return qnr_template_genesis_overrides_log_aggregate_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_aggregate_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_aggregate_fields']
export const isqnr_template_genesis_overrides_log_aggregate_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_aggregate_fields"')
  return qnr_template_genesis_overrides_log_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_avg_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_avg_fields']
export const isqnr_template_genesis_overrides_log_avg_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_avg_fields"')
  return qnr_template_genesis_overrides_log_avg_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_max_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_max_fields']
export const isqnr_template_genesis_overrides_log_max_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_max_fields"')
  return qnr_template_genesis_overrides_log_max_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_min_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_min_fields']
export const isqnr_template_genesis_overrides_log_min_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_min_fields"')
  return qnr_template_genesis_overrides_log_min_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_mutation_response_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_mutation_response']
export const isqnr_template_genesis_overrides_log_mutation_response = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_mutation_response"')
  return qnr_template_genesis_overrides_log_mutation_response_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_stddev_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_stddev_fields']
export const isqnr_template_genesis_overrides_log_stddev_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_stddev_fields"')
  return qnr_template_genesis_overrides_log_stddev_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_stddev_pop_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_stddev_pop_fields']
export const isqnr_template_genesis_overrides_log_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_stddev_pop_fields"')
  return qnr_template_genesis_overrides_log_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_stddev_samp_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_stddev_samp_fields']
export const isqnr_template_genesis_overrides_log_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_stddev_samp_fields"')
  return qnr_template_genesis_overrides_log_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_sum_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_sum_fields']
export const isqnr_template_genesis_overrides_log_sum_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_sum_fields"')
  return qnr_template_genesis_overrides_log_sum_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_var_pop_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_var_pop_fields']
export const isqnr_template_genesis_overrides_log_var_pop_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_var_pop_fields"')
  return qnr_template_genesis_overrides_log_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_var_samp_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_var_samp_fields']
export const isqnr_template_genesis_overrides_log_var_samp_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_var_samp_fields"')
  return qnr_template_genesis_overrides_log_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_log_variance_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_log_variance_fields']
export const isqnr_template_genesis_overrides_log_variance_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_log_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_log_variance_fields"')
  return qnr_template_genesis_overrides_log_variance_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_max_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_max_fields']
export const isqnr_template_genesis_overrides_max_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_max_fields"')
  return qnr_template_genesis_overrides_max_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_min_fields_possibleTypes: string[] = ['qnr_template_genesis_overrides_min_fields']
export const isqnr_template_genesis_overrides_min_fields = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_min_fields"')
  return qnr_template_genesis_overrides_min_fields_possibleTypes.includes(obj.__typename)
}



const qnr_template_genesis_overrides_mutation_response_possibleTypes: string[] = ['qnr_template_genesis_overrides_mutation_response']
export const isqnr_template_genesis_overrides_mutation_response = (obj?: { __typename?: any } | null): obj is qnr_template_genesis_overrides_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnr_template_genesis_overrides_mutation_response"')
  return qnr_template_genesis_overrides_mutation_response_possibleTypes.includes(obj.__typename)
}



const qnrs_ActionTypeResponse_possibleTypes: string[] = ['qnrs_ActionTypeResponse']
export const isqnrs_ActionTypeResponse = (obj?: { __typename?: any } | null): obj is qnrs_ActionTypeResponse => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnrs_ActionTypeResponse"')
  return qnrs_ActionTypeResponse_possibleTypes.includes(obj.__typename)
}



const qnrs_ActionTypeResponseData_possibleTypes: string[] = ['qnrs_ActionTypeResponseData']
export const isqnrs_ActionTypeResponseData = (obj?: { __typename?: any } | null): obj is qnrs_ActionTypeResponseData => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnrs_ActionTypeResponseData"')
  return qnrs_ActionTypeResponseData_possibleTypes.includes(obj.__typename)
}



const qnrs_ResponseErrors_possibleTypes: string[] = ['qnrs_ResponseErrors']
export const isqnrs_ResponseErrors = (obj?: { __typename?: any } | null): obj is qnrs_ResponseErrors => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqnrs_ResponseErrors"')
  return qnrs_ResponseErrors_possibleTypes.includes(obj.__typename)
}



const queries_possibleTypes: string[] = ['queries']
export const isqueries = (obj?: { __typename?: any } | null): obj is queries => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries"')
  return queries_possibleTypes.includes(obj.__typename)
}



const queriesLog_possibleTypes: string[] = ['queriesLog']
export const isqueriesLog = (obj?: { __typename?: any } | null): obj is queriesLog => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueriesLog"')
  return queriesLog_possibleTypes.includes(obj.__typename)
}



const queries_aggregate_possibleTypes: string[] = ['queries_aggregate']
export const isqueries_aggregate = (obj?: { __typename?: any } | null): obj is queries_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_aggregate"')
  return queries_aggregate_possibleTypes.includes(obj.__typename)
}



const queries_aggregate_fields_possibleTypes: string[] = ['queries_aggregate_fields']
export const isqueries_aggregate_fields = (obj?: { __typename?: any } | null): obj is queries_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_aggregate_fields"')
  return queries_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const queries_avg_fields_possibleTypes: string[] = ['queries_avg_fields']
export const isqueries_avg_fields = (obj?: { __typename?: any } | null): obj is queries_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_avg_fields"')
  return queries_avg_fields_possibleTypes.includes(obj.__typename)
}



const queries_cache_possibleTypes: string[] = ['queries_cache']
export const isqueries_cache = (obj?: { __typename?: any } | null): obj is queries_cache => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache"')
  return queries_cache_possibleTypes.includes(obj.__typename)
}



const queries_cache_aggregate_possibleTypes: string[] = ['queries_cache_aggregate']
export const isqueries_cache_aggregate = (obj?: { __typename?: any } | null): obj is queries_cache_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache_aggregate"')
  return queries_cache_aggregate_possibleTypes.includes(obj.__typename)
}



const queries_cache_aggregate_fields_possibleTypes: string[] = ['queries_cache_aggregate_fields']
export const isqueries_cache_aggregate_fields = (obj?: { __typename?: any } | null): obj is queries_cache_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache_aggregate_fields"')
  return queries_cache_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const queries_cache_max_fields_possibleTypes: string[] = ['queries_cache_max_fields']
export const isqueries_cache_max_fields = (obj?: { __typename?: any } | null): obj is queries_cache_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache_max_fields"')
  return queries_cache_max_fields_possibleTypes.includes(obj.__typename)
}



const queries_cache_min_fields_possibleTypes: string[] = ['queries_cache_min_fields']
export const isqueries_cache_min_fields = (obj?: { __typename?: any } | null): obj is queries_cache_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache_min_fields"')
  return queries_cache_min_fields_possibleTypes.includes(obj.__typename)
}



const queries_cache_mutation_response_possibleTypes: string[] = ['queries_cache_mutation_response']
export const isqueries_cache_mutation_response = (obj?: { __typename?: any } | null): obj is queries_cache_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_cache_mutation_response"')
  return queries_cache_mutation_response_possibleTypes.includes(obj.__typename)
}



const queries_error_possibleTypes: string[] = ['queries_error']
export const isqueries_error = (obj?: { __typename?: any } | null): obj is queries_error => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error"')
  return queries_error_possibleTypes.includes(obj.__typename)
}



const queries_error_aggregate_possibleTypes: string[] = ['queries_error_aggregate']
export const isqueries_error_aggregate = (obj?: { __typename?: any } | null): obj is queries_error_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_aggregate"')
  return queries_error_aggregate_possibleTypes.includes(obj.__typename)
}



const queries_error_aggregate_fields_possibleTypes: string[] = ['queries_error_aggregate_fields']
export const isqueries_error_aggregate_fields = (obj?: { __typename?: any } | null): obj is queries_error_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_aggregate_fields"')
  return queries_error_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_avg_fields_possibleTypes: string[] = ['queries_error_avg_fields']
export const isqueries_error_avg_fields = (obj?: { __typename?: any } | null): obj is queries_error_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_avg_fields"')
  return queries_error_avg_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_max_fields_possibleTypes: string[] = ['queries_error_max_fields']
export const isqueries_error_max_fields = (obj?: { __typename?: any } | null): obj is queries_error_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_max_fields"')
  return queries_error_max_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_min_fields_possibleTypes: string[] = ['queries_error_min_fields']
export const isqueries_error_min_fields = (obj?: { __typename?: any } | null): obj is queries_error_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_min_fields"')
  return queries_error_min_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_mutation_response_possibleTypes: string[] = ['queries_error_mutation_response']
export const isqueries_error_mutation_response = (obj?: { __typename?: any } | null): obj is queries_error_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_mutation_response"')
  return queries_error_mutation_response_possibleTypes.includes(obj.__typename)
}



const queries_error_stddev_fields_possibleTypes: string[] = ['queries_error_stddev_fields']
export const isqueries_error_stddev_fields = (obj?: { __typename?: any } | null): obj is queries_error_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_stddev_fields"')
  return queries_error_stddev_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_stddev_pop_fields_possibleTypes: string[] = ['queries_error_stddev_pop_fields']
export const isqueries_error_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is queries_error_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_stddev_pop_fields"')
  return queries_error_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_stddev_samp_fields_possibleTypes: string[] = ['queries_error_stddev_samp_fields']
export const isqueries_error_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is queries_error_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_stddev_samp_fields"')
  return queries_error_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_sum_fields_possibleTypes: string[] = ['queries_error_sum_fields']
export const isqueries_error_sum_fields = (obj?: { __typename?: any } | null): obj is queries_error_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_sum_fields"')
  return queries_error_sum_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_var_pop_fields_possibleTypes: string[] = ['queries_error_var_pop_fields']
export const isqueries_error_var_pop_fields = (obj?: { __typename?: any } | null): obj is queries_error_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_var_pop_fields"')
  return queries_error_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_var_samp_fields_possibleTypes: string[] = ['queries_error_var_samp_fields']
export const isqueries_error_var_samp_fields = (obj?: { __typename?: any } | null): obj is queries_error_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_var_samp_fields"')
  return queries_error_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_error_variance_fields_possibleTypes: string[] = ['queries_error_variance_fields']
export const isqueries_error_variance_fields = (obj?: { __typename?: any } | null): obj is queries_error_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_error_variance_fields"')
  return queries_error_variance_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_possibleTypes: string[] = ['queries_log']
export const isqueries_log = (obj?: { __typename?: any } | null): obj is queries_log => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log"')
  return queries_log_possibleTypes.includes(obj.__typename)
}



const queries_log_aggregate_possibleTypes: string[] = ['queries_log_aggregate']
export const isqueries_log_aggregate = (obj?: { __typename?: any } | null): obj is queries_log_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_aggregate"')
  return queries_log_aggregate_possibleTypes.includes(obj.__typename)
}



const queries_log_aggregate_fields_possibleTypes: string[] = ['queries_log_aggregate_fields']
export const isqueries_log_aggregate_fields = (obj?: { __typename?: any } | null): obj is queries_log_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_aggregate_fields"')
  return queries_log_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_avg_fields_possibleTypes: string[] = ['queries_log_avg_fields']
export const isqueries_log_avg_fields = (obj?: { __typename?: any } | null): obj is queries_log_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_avg_fields"')
  return queries_log_avg_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_max_fields_possibleTypes: string[] = ['queries_log_max_fields']
export const isqueries_log_max_fields = (obj?: { __typename?: any } | null): obj is queries_log_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_max_fields"')
  return queries_log_max_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_min_fields_possibleTypes: string[] = ['queries_log_min_fields']
export const isqueries_log_min_fields = (obj?: { __typename?: any } | null): obj is queries_log_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_min_fields"')
  return queries_log_min_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_mutation_response_possibleTypes: string[] = ['queries_log_mutation_response']
export const isqueries_log_mutation_response = (obj?: { __typename?: any } | null): obj is queries_log_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_mutation_response"')
  return queries_log_mutation_response_possibleTypes.includes(obj.__typename)
}



const queries_log_stddev_fields_possibleTypes: string[] = ['queries_log_stddev_fields']
export const isqueries_log_stddev_fields = (obj?: { __typename?: any } | null): obj is queries_log_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_stddev_fields"')
  return queries_log_stddev_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_stddev_pop_fields_possibleTypes: string[] = ['queries_log_stddev_pop_fields']
export const isqueries_log_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is queries_log_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_stddev_pop_fields"')
  return queries_log_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_stddev_samp_fields_possibleTypes: string[] = ['queries_log_stddev_samp_fields']
export const isqueries_log_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is queries_log_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_stddev_samp_fields"')
  return queries_log_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_sum_fields_possibleTypes: string[] = ['queries_log_sum_fields']
export const isqueries_log_sum_fields = (obj?: { __typename?: any } | null): obj is queries_log_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_sum_fields"')
  return queries_log_sum_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_var_pop_fields_possibleTypes: string[] = ['queries_log_var_pop_fields']
export const isqueries_log_var_pop_fields = (obj?: { __typename?: any } | null): obj is queries_log_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_var_pop_fields"')
  return queries_log_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_var_samp_fields_possibleTypes: string[] = ['queries_log_var_samp_fields']
export const isqueries_log_var_samp_fields = (obj?: { __typename?: any } | null): obj is queries_log_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_var_samp_fields"')
  return queries_log_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_log_variance_fields_possibleTypes: string[] = ['queries_log_variance_fields']
export const isqueries_log_variance_fields = (obj?: { __typename?: any } | null): obj is queries_log_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_log_variance_fields"')
  return queries_log_variance_fields_possibleTypes.includes(obj.__typename)
}



const queries_max_fields_possibleTypes: string[] = ['queries_max_fields']
export const isqueries_max_fields = (obj?: { __typename?: any } | null): obj is queries_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_max_fields"')
  return queries_max_fields_possibleTypes.includes(obj.__typename)
}



const queries_min_fields_possibleTypes: string[] = ['queries_min_fields']
export const isqueries_min_fields = (obj?: { __typename?: any } | null): obj is queries_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_min_fields"')
  return queries_min_fields_possibleTypes.includes(obj.__typename)
}



const queries_mutation_response_possibleTypes: string[] = ['queries_mutation_response']
export const isqueries_mutation_response = (obj?: { __typename?: any } | null): obj is queries_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_mutation_response"')
  return queries_mutation_response_possibleTypes.includes(obj.__typename)
}



const queries_stddev_fields_possibleTypes: string[] = ['queries_stddev_fields']
export const isqueries_stddev_fields = (obj?: { __typename?: any } | null): obj is queries_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_stddev_fields"')
  return queries_stddev_fields_possibleTypes.includes(obj.__typename)
}



const queries_stddev_pop_fields_possibleTypes: string[] = ['queries_stddev_pop_fields']
export const isqueries_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is queries_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_stddev_pop_fields"')
  return queries_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_stddev_samp_fields_possibleTypes: string[] = ['queries_stddev_samp_fields']
export const isqueries_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is queries_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_stddev_samp_fields"')
  return queries_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_sum_fields_possibleTypes: string[] = ['queries_sum_fields']
export const isqueries_sum_fields = (obj?: { __typename?: any } | null): obj is queries_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_sum_fields"')
  return queries_sum_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_possibleTypes: string[] = ['queries_templates']
export const isqueries_templates = (obj?: { __typename?: any } | null): obj is queries_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates"')
  return queries_templates_possibleTypes.includes(obj.__typename)
}



const queries_templates_aggregate_possibleTypes: string[] = ['queries_templates_aggregate']
export const isqueries_templates_aggregate = (obj?: { __typename?: any } | null): obj is queries_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_aggregate"')
  return queries_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const queries_templates_aggregate_fields_possibleTypes: string[] = ['queries_templates_aggregate_fields']
export const isqueries_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is queries_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_aggregate_fields"')
  return queries_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_avg_fields_possibleTypes: string[] = ['queries_templates_avg_fields']
export const isqueries_templates_avg_fields = (obj?: { __typename?: any } | null): obj is queries_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_avg_fields"')
  return queries_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_max_fields_possibleTypes: string[] = ['queries_templates_max_fields']
export const isqueries_templates_max_fields = (obj?: { __typename?: any } | null): obj is queries_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_max_fields"')
  return queries_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_min_fields_possibleTypes: string[] = ['queries_templates_min_fields']
export const isqueries_templates_min_fields = (obj?: { __typename?: any } | null): obj is queries_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_min_fields"')
  return queries_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_stddev_fields_possibleTypes: string[] = ['queries_templates_stddev_fields']
export const isqueries_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is queries_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_stddev_fields"')
  return queries_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_stddev_pop_fields_possibleTypes: string[] = ['queries_templates_stddev_pop_fields']
export const isqueries_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is queries_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_stddev_pop_fields"')
  return queries_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_stddev_samp_fields_possibleTypes: string[] = ['queries_templates_stddev_samp_fields']
export const isqueries_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is queries_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_stddev_samp_fields"')
  return queries_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_sum_fields_possibleTypes: string[] = ['queries_templates_sum_fields']
export const isqueries_templates_sum_fields = (obj?: { __typename?: any } | null): obj is queries_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_sum_fields"')
  return queries_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_var_pop_fields_possibleTypes: string[] = ['queries_templates_var_pop_fields']
export const isqueries_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is queries_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_var_pop_fields"')
  return queries_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_var_samp_fields_possibleTypes: string[] = ['queries_templates_var_samp_fields']
export const isqueries_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is queries_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_var_samp_fields"')
  return queries_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_templates_variance_fields_possibleTypes: string[] = ['queries_templates_variance_fields']
export const isqueries_templates_variance_fields = (obj?: { __typename?: any } | null): obj is queries_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_templates_variance_fields"')
  return queries_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const queries_var_pop_fields_possibleTypes: string[] = ['queries_var_pop_fields']
export const isqueries_var_pop_fields = (obj?: { __typename?: any } | null): obj is queries_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_var_pop_fields"')
  return queries_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const queries_var_samp_fields_possibleTypes: string[] = ['queries_var_samp_fields']
export const isqueries_var_samp_fields = (obj?: { __typename?: any } | null): obj is queries_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_var_samp_fields"')
  return queries_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const queries_variance_fields_possibleTypes: string[] = ['queries_variance_fields']
export const isqueries_variance_fields = (obj?: { __typename?: any } | null): obj is queries_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isqueries_variance_fields"')
  return queries_variance_fields_possibleTypes.includes(obj.__typename)
}



const query_root_possibleTypes: string[] = ['query_root']
export const isquery_root = (obj?: { __typename?: any } | null): obj is query_root => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquery_root"')
  return query_root_possibleTypes.includes(obj.__typename)
}



const question_composite_question_possibleTypes: string[] = ['question_composite_question']
export const isquestion_composite_question = (obj?: { __typename?: any } | null): obj is question_composite_question => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question"')
  return question_composite_question_possibleTypes.includes(obj.__typename)
}



const question_composite_question_aggregate_possibleTypes: string[] = ['question_composite_question_aggregate']
export const isquestion_composite_question_aggregate = (obj?: { __typename?: any } | null): obj is question_composite_question_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_aggregate"')
  return question_composite_question_aggregate_possibleTypes.includes(obj.__typename)
}



const question_composite_question_aggregate_fields_possibleTypes: string[] = ['question_composite_question_aggregate_fields']
export const isquestion_composite_question_aggregate_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_aggregate_fields"')
  return question_composite_question_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_avg_fields_possibleTypes: string[] = ['question_composite_question_avg_fields']
export const isquestion_composite_question_avg_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_avg_fields"')
  return question_composite_question_avg_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_max_fields_possibleTypes: string[] = ['question_composite_question_max_fields']
export const isquestion_composite_question_max_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_max_fields"')
  return question_composite_question_max_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_min_fields_possibleTypes: string[] = ['question_composite_question_min_fields']
export const isquestion_composite_question_min_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_min_fields"')
  return question_composite_question_min_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_mutation_response_possibleTypes: string[] = ['question_composite_question_mutation_response']
export const isquestion_composite_question_mutation_response = (obj?: { __typename?: any } | null): obj is question_composite_question_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_mutation_response"')
  return question_composite_question_mutation_response_possibleTypes.includes(obj.__typename)
}



const question_composite_question_stddev_fields_possibleTypes: string[] = ['question_composite_question_stddev_fields']
export const isquestion_composite_question_stddev_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_stddev_fields"')
  return question_composite_question_stddev_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_stddev_pop_fields_possibleTypes: string[] = ['question_composite_question_stddev_pop_fields']
export const isquestion_composite_question_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_stddev_pop_fields"')
  return question_composite_question_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_stddev_samp_fields_possibleTypes: string[] = ['question_composite_question_stddev_samp_fields']
export const isquestion_composite_question_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_stddev_samp_fields"')
  return question_composite_question_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_sum_fields_possibleTypes: string[] = ['question_composite_question_sum_fields']
export const isquestion_composite_question_sum_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_sum_fields"')
  return question_composite_question_sum_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_var_pop_fields_possibleTypes: string[] = ['question_composite_question_var_pop_fields']
export const isquestion_composite_question_var_pop_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_var_pop_fields"')
  return question_composite_question_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_var_samp_fields_possibleTypes: string[] = ['question_composite_question_var_samp_fields']
export const isquestion_composite_question_var_samp_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_var_samp_fields"')
  return question_composite_question_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const question_composite_question_variance_fields_possibleTypes: string[] = ['question_composite_question_variance_fields']
export const isquestion_composite_question_variance_fields = (obj?: { __typename?: any } | null): obj is question_composite_question_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_composite_question_variance_fields"')
  return question_composite_question_variance_fields_possibleTypes.includes(obj.__typename)
}



const question_template_possibleTypes: string[] = ['question_template']
export const isquestion_template = (obj?: { __typename?: any } | null): obj is question_template => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template"')
  return question_template_possibleTypes.includes(obj.__typename)
}



const question_template_aggregate_possibleTypes: string[] = ['question_template_aggregate']
export const isquestion_template_aggregate = (obj?: { __typename?: any } | null): obj is question_template_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_aggregate"')
  return question_template_aggregate_possibleTypes.includes(obj.__typename)
}



const question_template_aggregate_fields_possibleTypes: string[] = ['question_template_aggregate_fields']
export const isquestion_template_aggregate_fields = (obj?: { __typename?: any } | null): obj is question_template_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_aggregate_fields"')
  return question_template_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const question_template_avg_fields_possibleTypes: string[] = ['question_template_avg_fields']
export const isquestion_template_avg_fields = (obj?: { __typename?: any } | null): obj is question_template_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_avg_fields"')
  return question_template_avg_fields_possibleTypes.includes(obj.__typename)
}



const question_template_max_fields_possibleTypes: string[] = ['question_template_max_fields']
export const isquestion_template_max_fields = (obj?: { __typename?: any } | null): obj is question_template_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_max_fields"')
  return question_template_max_fields_possibleTypes.includes(obj.__typename)
}



const question_template_min_fields_possibleTypes: string[] = ['question_template_min_fields']
export const isquestion_template_min_fields = (obj?: { __typename?: any } | null): obj is question_template_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_min_fields"')
  return question_template_min_fields_possibleTypes.includes(obj.__typename)
}



const question_template_mutation_response_possibleTypes: string[] = ['question_template_mutation_response']
export const isquestion_template_mutation_response = (obj?: { __typename?: any } | null): obj is question_template_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_mutation_response"')
  return question_template_mutation_response_possibleTypes.includes(obj.__typename)
}



const question_template_stddev_fields_possibleTypes: string[] = ['question_template_stddev_fields']
export const isquestion_template_stddev_fields = (obj?: { __typename?: any } | null): obj is question_template_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_stddev_fields"')
  return question_template_stddev_fields_possibleTypes.includes(obj.__typename)
}



const question_template_stddev_pop_fields_possibleTypes: string[] = ['question_template_stddev_pop_fields']
export const isquestion_template_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is question_template_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_stddev_pop_fields"')
  return question_template_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const question_template_stddev_samp_fields_possibleTypes: string[] = ['question_template_stddev_samp_fields']
export const isquestion_template_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is question_template_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_stddev_samp_fields"')
  return question_template_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const question_template_sum_fields_possibleTypes: string[] = ['question_template_sum_fields']
export const isquestion_template_sum_fields = (obj?: { __typename?: any } | null): obj is question_template_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_sum_fields"')
  return question_template_sum_fields_possibleTypes.includes(obj.__typename)
}



const question_template_var_pop_fields_possibleTypes: string[] = ['question_template_var_pop_fields']
export const isquestion_template_var_pop_fields = (obj?: { __typename?: any } | null): obj is question_template_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_var_pop_fields"')
  return question_template_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const question_template_var_samp_fields_possibleTypes: string[] = ['question_template_var_samp_fields']
export const isquestion_template_var_samp_fields = (obj?: { __typename?: any } | null): obj is question_template_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_var_samp_fields"')
  return question_template_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const question_template_variance_fields_possibleTypes: string[] = ['question_template_variance_fields']
export const isquestion_template_variance_fields = (obj?: { __typename?: any } | null): obj is question_template_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestion_template_variance_fields"')
  return question_template_variance_fields_possibleTypes.includes(obj.__typename)
}



const questions_possibleTypes: string[] = ['questions']
export const isquestions = (obj?: { __typename?: any } | null): obj is questions => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions"')
  return questions_possibleTypes.includes(obj.__typename)
}



const questions_aggregate_possibleTypes: string[] = ['questions_aggregate']
export const isquestions_aggregate = (obj?: { __typename?: any } | null): obj is questions_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_aggregate"')
  return questions_aggregate_possibleTypes.includes(obj.__typename)
}



const questions_aggregate_fields_possibleTypes: string[] = ['questions_aggregate_fields']
export const isquestions_aggregate_fields = (obj?: { __typename?: any } | null): obj is questions_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_aggregate_fields"')
  return questions_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const questions_avg_fields_possibleTypes: string[] = ['questions_avg_fields']
export const isquestions_avg_fields = (obj?: { __typename?: any } | null): obj is questions_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_avg_fields"')
  return questions_avg_fields_possibleTypes.includes(obj.__typename)
}



const questions_max_fields_possibleTypes: string[] = ['questions_max_fields']
export const isquestions_max_fields = (obj?: { __typename?: any } | null): obj is questions_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_max_fields"')
  return questions_max_fields_possibleTypes.includes(obj.__typename)
}



const questions_min_fields_possibleTypes: string[] = ['questions_min_fields']
export const isquestions_min_fields = (obj?: { __typename?: any } | null): obj is questions_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_min_fields"')
  return questions_min_fields_possibleTypes.includes(obj.__typename)
}



const questions_mutation_response_possibleTypes: string[] = ['questions_mutation_response']
export const isquestions_mutation_response = (obj?: { __typename?: any } | null): obj is questions_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_mutation_response"')
  return questions_mutation_response_possibleTypes.includes(obj.__typename)
}



const questions_stddev_fields_possibleTypes: string[] = ['questions_stddev_fields']
export const isquestions_stddev_fields = (obj?: { __typename?: any } | null): obj is questions_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_stddev_fields"')
  return questions_stddev_fields_possibleTypes.includes(obj.__typename)
}



const questions_stddev_pop_fields_possibleTypes: string[] = ['questions_stddev_pop_fields']
export const isquestions_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is questions_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_stddev_pop_fields"')
  return questions_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const questions_stddev_samp_fields_possibleTypes: string[] = ['questions_stddev_samp_fields']
export const isquestions_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is questions_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_stddev_samp_fields"')
  return questions_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const questions_sum_fields_possibleTypes: string[] = ['questions_sum_fields']
export const isquestions_sum_fields = (obj?: { __typename?: any } | null): obj is questions_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_sum_fields"')
  return questions_sum_fields_possibleTypes.includes(obj.__typename)
}



const questions_var_pop_fields_possibleTypes: string[] = ['questions_var_pop_fields']
export const isquestions_var_pop_fields = (obj?: { __typename?: any } | null): obj is questions_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_var_pop_fields"')
  return questions_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const questions_var_samp_fields_possibleTypes: string[] = ['questions_var_samp_fields']
export const isquestions_var_samp_fields = (obj?: { __typename?: any } | null): obj is questions_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_var_samp_fields"')
  return questions_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const questions_variance_fields_possibleTypes: string[] = ['questions_variance_fields']
export const isquestions_variance_fields = (obj?: { __typename?: any } | null): obj is questions_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isquestions_variance_fields"')
  return questions_variance_fields_possibleTypes.includes(obj.__typename)
}



const security_levels_possibleTypes: string[] = ['security_levels']
export const issecurity_levels = (obj?: { __typename?: any } | null): obj is security_levels => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels"')
  return security_levels_possibleTypes.includes(obj.__typename)
}



const security_levels_aggregate_possibleTypes: string[] = ['security_levels_aggregate']
export const issecurity_levels_aggregate = (obj?: { __typename?: any } | null): obj is security_levels_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels_aggregate"')
  return security_levels_aggregate_possibleTypes.includes(obj.__typename)
}



const security_levels_aggregate_fields_possibleTypes: string[] = ['security_levels_aggregate_fields']
export const issecurity_levels_aggregate_fields = (obj?: { __typename?: any } | null): obj is security_levels_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels_aggregate_fields"')
  return security_levels_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const security_levels_max_fields_possibleTypes: string[] = ['security_levels_max_fields']
export const issecurity_levels_max_fields = (obj?: { __typename?: any } | null): obj is security_levels_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels_max_fields"')
  return security_levels_max_fields_possibleTypes.includes(obj.__typename)
}



const security_levels_min_fields_possibleTypes: string[] = ['security_levels_min_fields']
export const issecurity_levels_min_fields = (obj?: { __typename?: any } | null): obj is security_levels_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels_min_fields"')
  return security_levels_min_fields_possibleTypes.includes(obj.__typename)
}



const security_levels_mutation_response_possibleTypes: string[] = ['security_levels_mutation_response']
export const issecurity_levels_mutation_response = (obj?: { __typename?: any } | null): obj is security_levels_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issecurity_levels_mutation_response"')
  return security_levels_mutation_response_possibleTypes.includes(obj.__typename)
}



const settings_possibleTypes: string[] = ['settings']
export const issettings = (obj?: { __typename?: any } | null): obj is settings => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings"')
  return settings_possibleTypes.includes(obj.__typename)
}



const settings_aggregate_possibleTypes: string[] = ['settings_aggregate']
export const issettings_aggregate = (obj?: { __typename?: any } | null): obj is settings_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_aggregate"')
  return settings_aggregate_possibleTypes.includes(obj.__typename)
}



const settings_aggregate_fields_possibleTypes: string[] = ['settings_aggregate_fields']
export const issettings_aggregate_fields = (obj?: { __typename?: any } | null): obj is settings_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_aggregate_fields"')
  return settings_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const settings_avg_fields_possibleTypes: string[] = ['settings_avg_fields']
export const issettings_avg_fields = (obj?: { __typename?: any } | null): obj is settings_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_avg_fields"')
  return settings_avg_fields_possibleTypes.includes(obj.__typename)
}



const settings_max_fields_possibleTypes: string[] = ['settings_max_fields']
export const issettings_max_fields = (obj?: { __typename?: any } | null): obj is settings_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_max_fields"')
  return settings_max_fields_possibleTypes.includes(obj.__typename)
}



const settings_min_fields_possibleTypes: string[] = ['settings_min_fields']
export const issettings_min_fields = (obj?: { __typename?: any } | null): obj is settings_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_min_fields"')
  return settings_min_fields_possibleTypes.includes(obj.__typename)
}



const settings_mutation_response_possibleTypes: string[] = ['settings_mutation_response']
export const issettings_mutation_response = (obj?: { __typename?: any } | null): obj is settings_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_mutation_response"')
  return settings_mutation_response_possibleTypes.includes(obj.__typename)
}



const settings_stddev_fields_possibleTypes: string[] = ['settings_stddev_fields']
export const issettings_stddev_fields = (obj?: { __typename?: any } | null): obj is settings_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_stddev_fields"')
  return settings_stddev_fields_possibleTypes.includes(obj.__typename)
}



const settings_stddev_pop_fields_possibleTypes: string[] = ['settings_stddev_pop_fields']
export const issettings_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is settings_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_stddev_pop_fields"')
  return settings_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const settings_stddev_samp_fields_possibleTypes: string[] = ['settings_stddev_samp_fields']
export const issettings_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is settings_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_stddev_samp_fields"')
  return settings_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const settings_sum_fields_possibleTypes: string[] = ['settings_sum_fields']
export const issettings_sum_fields = (obj?: { __typename?: any } | null): obj is settings_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_sum_fields"')
  return settings_sum_fields_possibleTypes.includes(obj.__typename)
}



const settings_var_pop_fields_possibleTypes: string[] = ['settings_var_pop_fields']
export const issettings_var_pop_fields = (obj?: { __typename?: any } | null): obj is settings_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_var_pop_fields"')
  return settings_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const settings_var_samp_fields_possibleTypes: string[] = ['settings_var_samp_fields']
export const issettings_var_samp_fields = (obj?: { __typename?: any } | null): obj is settings_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_var_samp_fields"')
  return settings_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const settings_variance_fields_possibleTypes: string[] = ['settings_variance_fields']
export const issettings_variance_fields = (obj?: { __typename?: any } | null): obj is settings_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issettings_variance_fields"')
  return settings_variance_fields_possibleTypes.includes(obj.__typename)
}



const shortcuts_possibleTypes: string[] = ['shortcuts']
export const isshortcuts = (obj?: { __typename?: any } | null): obj is shortcuts => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts"')
  return shortcuts_possibleTypes.includes(obj.__typename)
}



const shortcuts_aggregate_possibleTypes: string[] = ['shortcuts_aggregate']
export const isshortcuts_aggregate = (obj?: { __typename?: any } | null): obj is shortcuts_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts_aggregate"')
  return shortcuts_aggregate_possibleTypes.includes(obj.__typename)
}



const shortcuts_aggregate_fields_possibleTypes: string[] = ['shortcuts_aggregate_fields']
export const isshortcuts_aggregate_fields = (obj?: { __typename?: any } | null): obj is shortcuts_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts_aggregate_fields"')
  return shortcuts_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const shortcuts_max_fields_possibleTypes: string[] = ['shortcuts_max_fields']
export const isshortcuts_max_fields = (obj?: { __typename?: any } | null): obj is shortcuts_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts_max_fields"')
  return shortcuts_max_fields_possibleTypes.includes(obj.__typename)
}



const shortcuts_min_fields_possibleTypes: string[] = ['shortcuts_min_fields']
export const isshortcuts_min_fields = (obj?: { __typename?: any } | null): obj is shortcuts_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts_min_fields"')
  return shortcuts_min_fields_possibleTypes.includes(obj.__typename)
}



const shortcuts_mutation_response_possibleTypes: string[] = ['shortcuts_mutation_response']
export const isshortcuts_mutation_response = (obj?: { __typename?: any } | null): obj is shortcuts_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isshortcuts_mutation_response"')
  return shortcuts_mutation_response_possibleTypes.includes(obj.__typename)
}



const sms_possibleTypes: string[] = ['sms']
export const issms = (obj?: { __typename?: any } | null): obj is sms => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms"')
  return sms_possibleTypes.includes(obj.__typename)
}



const sms_aggregate_possibleTypes: string[] = ['sms_aggregate']
export const issms_aggregate = (obj?: { __typename?: any } | null): obj is sms_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_aggregate"')
  return sms_aggregate_possibleTypes.includes(obj.__typename)
}



const sms_aggregate_fields_possibleTypes: string[] = ['sms_aggregate_fields']
export const issms_aggregate_fields = (obj?: { __typename?: any } | null): obj is sms_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_aggregate_fields"')
  return sms_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const sms_avg_fields_possibleTypes: string[] = ['sms_avg_fields']
export const issms_avg_fields = (obj?: { __typename?: any } | null): obj is sms_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_avg_fields"')
  return sms_avg_fields_possibleTypes.includes(obj.__typename)
}



const sms_max_fields_possibleTypes: string[] = ['sms_max_fields']
export const issms_max_fields = (obj?: { __typename?: any } | null): obj is sms_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_max_fields"')
  return sms_max_fields_possibleTypes.includes(obj.__typename)
}



const sms_min_fields_possibleTypes: string[] = ['sms_min_fields']
export const issms_min_fields = (obj?: { __typename?: any } | null): obj is sms_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_min_fields"')
  return sms_min_fields_possibleTypes.includes(obj.__typename)
}



const sms_mutation_response_possibleTypes: string[] = ['sms_mutation_response']
export const issms_mutation_response = (obj?: { __typename?: any } | null): obj is sms_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_mutation_response"')
  return sms_mutation_response_possibleTypes.includes(obj.__typename)
}



const sms_stddev_fields_possibleTypes: string[] = ['sms_stddev_fields']
export const issms_stddev_fields = (obj?: { __typename?: any } | null): obj is sms_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_stddev_fields"')
  return sms_stddev_fields_possibleTypes.includes(obj.__typename)
}



const sms_stddev_pop_fields_possibleTypes: string[] = ['sms_stddev_pop_fields']
export const issms_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is sms_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_stddev_pop_fields"')
  return sms_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_stddev_samp_fields_possibleTypes: string[] = ['sms_stddev_samp_fields']
export const issms_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is sms_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_stddev_samp_fields"')
  return sms_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_sum_fields_possibleTypes: string[] = ['sms_sum_fields']
export const issms_sum_fields = (obj?: { __typename?: any } | null): obj is sms_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_sum_fields"')
  return sms_sum_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_possibleTypes: string[] = ['sms_template_template']
export const issms_template_template = (obj?: { __typename?: any } | null): obj is sms_template_template => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template"')
  return sms_template_template_possibleTypes.includes(obj.__typename)
}



const sms_template_template_aggregate_possibleTypes: string[] = ['sms_template_template_aggregate']
export const issms_template_template_aggregate = (obj?: { __typename?: any } | null): obj is sms_template_template_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_aggregate"')
  return sms_template_template_aggregate_possibleTypes.includes(obj.__typename)
}



const sms_template_template_aggregate_fields_possibleTypes: string[] = ['sms_template_template_aggregate_fields']
export const issms_template_template_aggregate_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_aggregate_fields"')
  return sms_template_template_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_avg_fields_possibleTypes: string[] = ['sms_template_template_avg_fields']
export const issms_template_template_avg_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_avg_fields"')
  return sms_template_template_avg_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_max_fields_possibleTypes: string[] = ['sms_template_template_max_fields']
export const issms_template_template_max_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_max_fields"')
  return sms_template_template_max_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_min_fields_possibleTypes: string[] = ['sms_template_template_min_fields']
export const issms_template_template_min_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_min_fields"')
  return sms_template_template_min_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_mutation_response_possibleTypes: string[] = ['sms_template_template_mutation_response']
export const issms_template_template_mutation_response = (obj?: { __typename?: any } | null): obj is sms_template_template_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_mutation_response"')
  return sms_template_template_mutation_response_possibleTypes.includes(obj.__typename)
}



const sms_template_template_stddev_fields_possibleTypes: string[] = ['sms_template_template_stddev_fields']
export const issms_template_template_stddev_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_stddev_fields"')
  return sms_template_template_stddev_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_stddev_pop_fields_possibleTypes: string[] = ['sms_template_template_stddev_pop_fields']
export const issms_template_template_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_stddev_pop_fields"')
  return sms_template_template_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_stddev_samp_fields_possibleTypes: string[] = ['sms_template_template_stddev_samp_fields']
export const issms_template_template_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_stddev_samp_fields"')
  return sms_template_template_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_sum_fields_possibleTypes: string[] = ['sms_template_template_sum_fields']
export const issms_template_template_sum_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_sum_fields"')
  return sms_template_template_sum_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_var_pop_fields_possibleTypes: string[] = ['sms_template_template_var_pop_fields']
export const issms_template_template_var_pop_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_var_pop_fields"')
  return sms_template_template_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_var_samp_fields_possibleTypes: string[] = ['sms_template_template_var_samp_fields']
export const issms_template_template_var_samp_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_var_samp_fields"')
  return sms_template_template_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_template_template_variance_fields_possibleTypes: string[] = ['sms_template_template_variance_fields']
export const issms_template_template_variance_fields = (obj?: { __typename?: any } | null): obj is sms_template_template_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_template_template_variance_fields"')
  return sms_template_template_variance_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_possibleTypes: string[] = ['sms_templates']
export const issms_templates = (obj?: { __typename?: any } | null): obj is sms_templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates"')
  return sms_templates_possibleTypes.includes(obj.__typename)
}



const sms_templates_aggregate_possibleTypes: string[] = ['sms_templates_aggregate']
export const issms_templates_aggregate = (obj?: { __typename?: any } | null): obj is sms_templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_aggregate"')
  return sms_templates_aggregate_possibleTypes.includes(obj.__typename)
}



const sms_templates_aggregate_fields_possibleTypes: string[] = ['sms_templates_aggregate_fields']
export const issms_templates_aggregate_fields = (obj?: { __typename?: any } | null): obj is sms_templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_aggregate_fields"')
  return sms_templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_avg_fields_possibleTypes: string[] = ['sms_templates_avg_fields']
export const issms_templates_avg_fields = (obj?: { __typename?: any } | null): obj is sms_templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_avg_fields"')
  return sms_templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_max_fields_possibleTypes: string[] = ['sms_templates_max_fields']
export const issms_templates_max_fields = (obj?: { __typename?: any } | null): obj is sms_templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_max_fields"')
  return sms_templates_max_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_min_fields_possibleTypes: string[] = ['sms_templates_min_fields']
export const issms_templates_min_fields = (obj?: { __typename?: any } | null): obj is sms_templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_min_fields"')
  return sms_templates_min_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_mutation_response_possibleTypes: string[] = ['sms_templates_mutation_response']
export const issms_templates_mutation_response = (obj?: { __typename?: any } | null): obj is sms_templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_mutation_response"')
  return sms_templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const sms_templates_stddev_fields_possibleTypes: string[] = ['sms_templates_stddev_fields']
export const issms_templates_stddev_fields = (obj?: { __typename?: any } | null): obj is sms_templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_stddev_fields"')
  return sms_templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_stddev_pop_fields_possibleTypes: string[] = ['sms_templates_stddev_pop_fields']
export const issms_templates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is sms_templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_stddev_pop_fields"')
  return sms_templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_stddev_samp_fields_possibleTypes: string[] = ['sms_templates_stddev_samp_fields']
export const issms_templates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is sms_templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_stddev_samp_fields"')
  return sms_templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_sum_fields_possibleTypes: string[] = ['sms_templates_sum_fields']
export const issms_templates_sum_fields = (obj?: { __typename?: any } | null): obj is sms_templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_sum_fields"')
  return sms_templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_var_pop_fields_possibleTypes: string[] = ['sms_templates_var_pop_fields']
export const issms_templates_var_pop_fields = (obj?: { __typename?: any } | null): obj is sms_templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_var_pop_fields"')
  return sms_templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_var_samp_fields_possibleTypes: string[] = ['sms_templates_var_samp_fields']
export const issms_templates_var_samp_fields = (obj?: { __typename?: any } | null): obj is sms_templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_var_samp_fields"')
  return sms_templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_templates_variance_fields_possibleTypes: string[] = ['sms_templates_variance_fields']
export const issms_templates_variance_fields = (obj?: { __typename?: any } | null): obj is sms_templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_templates_variance_fields"')
  return sms_templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const sms_var_pop_fields_possibleTypes: string[] = ['sms_var_pop_fields']
export const issms_var_pop_fields = (obj?: { __typename?: any } | null): obj is sms_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_var_pop_fields"')
  return sms_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const sms_var_samp_fields_possibleTypes: string[] = ['sms_var_samp_fields']
export const issms_var_samp_fields = (obj?: { __typename?: any } | null): obj is sms_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_var_samp_fields"')
  return sms_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const sms_variance_fields_possibleTypes: string[] = ['sms_variance_fields']
export const issms_variance_fields = (obj?: { __typename?: any } | null): obj is sms_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issms_variance_fields"')
  return sms_variance_fields_possibleTypes.includes(obj.__typename)
}



const status_possibleTypes: string[] = ['status']
export const isstatus = (obj?: { __typename?: any } | null): obj is status => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus"')
  return status_possibleTypes.includes(obj.__typename)
}



const status_aggregate_possibleTypes: string[] = ['status_aggregate']
export const isstatus_aggregate = (obj?: { __typename?: any } | null): obj is status_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus_aggregate"')
  return status_aggregate_possibleTypes.includes(obj.__typename)
}



const status_aggregate_fields_possibleTypes: string[] = ['status_aggregate_fields']
export const isstatus_aggregate_fields = (obj?: { __typename?: any } | null): obj is status_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus_aggregate_fields"')
  return status_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const status_max_fields_possibleTypes: string[] = ['status_max_fields']
export const isstatus_max_fields = (obj?: { __typename?: any } | null): obj is status_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus_max_fields"')
  return status_max_fields_possibleTypes.includes(obj.__typename)
}



const status_min_fields_possibleTypes: string[] = ['status_min_fields']
export const isstatus_min_fields = (obj?: { __typename?: any } | null): obj is status_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus_min_fields"')
  return status_min_fields_possibleTypes.includes(obj.__typename)
}



const status_mutation_response_possibleTypes: string[] = ['status_mutation_response']
export const isstatus_mutation_response = (obj?: { __typename?: any } | null): obj is status_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isstatus_mutation_response"')
  return status_mutation_response_possibleTypes.includes(obj.__typename)
}



const subscription_root_possibleTypes: string[] = ['subscription_root']
export const issubscription_root = (obj?: { __typename?: any } | null): obj is subscription_root => {
  if (!obj?.__typename) throw new Error('__typename is missing in "issubscription_root"')
  return subscription_root_possibleTypes.includes(obj.__typename)
}



const table_names_possibleTypes: string[] = ['table_names']
export const istable_names = (obj?: { __typename?: any } | null): obj is table_names => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names"')
  return table_names_possibleTypes.includes(obj.__typename)
}



const table_names_aggregate_possibleTypes: string[] = ['table_names_aggregate']
export const istable_names_aggregate = (obj?: { __typename?: any } | null): obj is table_names_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names_aggregate"')
  return table_names_aggregate_possibleTypes.includes(obj.__typename)
}



const table_names_aggregate_fields_possibleTypes: string[] = ['table_names_aggregate_fields']
export const istable_names_aggregate_fields = (obj?: { __typename?: any } | null): obj is table_names_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names_aggregate_fields"')
  return table_names_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const table_names_max_fields_possibleTypes: string[] = ['table_names_max_fields']
export const istable_names_max_fields = (obj?: { __typename?: any } | null): obj is table_names_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names_max_fields"')
  return table_names_max_fields_possibleTypes.includes(obj.__typename)
}



const table_names_min_fields_possibleTypes: string[] = ['table_names_min_fields']
export const istable_names_min_fields = (obj?: { __typename?: any } | null): obj is table_names_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names_min_fields"')
  return table_names_min_fields_possibleTypes.includes(obj.__typename)
}



const table_names_mutation_response_possibleTypes: string[] = ['table_names_mutation_response']
export const istable_names_mutation_response = (obj?: { __typename?: any } | null): obj is table_names_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_names_mutation_response"')
  return table_names_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_possibleTypes: string[] = ['template_artifact_parcel']
export const istemplate_artifact_parcel = (obj?: { __typename?: any } | null): obj is template_artifact_parcel => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel"')
  return template_artifact_parcel_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_aggregate_possibleTypes: string[] = ['template_artifact_parcel_aggregate']
export const istemplate_artifact_parcel_aggregate = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_aggregate"')
  return template_artifact_parcel_aggregate_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_aggregate_fields_possibleTypes: string[] = ['template_artifact_parcel_aggregate_fields']
export const istemplate_artifact_parcel_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_aggregate_fields"')
  return template_artifact_parcel_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_avg_fields_possibleTypes: string[] = ['template_artifact_parcel_avg_fields']
export const istemplate_artifact_parcel_avg_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_avg_fields"')
  return template_artifact_parcel_avg_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_max_fields_possibleTypes: string[] = ['template_artifact_parcel_max_fields']
export const istemplate_artifact_parcel_max_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_max_fields"')
  return template_artifact_parcel_max_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_min_fields_possibleTypes: string[] = ['template_artifact_parcel_min_fields']
export const istemplate_artifact_parcel_min_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_min_fields"')
  return template_artifact_parcel_min_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_mutation_response_possibleTypes: string[] = ['template_artifact_parcel_mutation_response']
export const istemplate_artifact_parcel_mutation_response = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_mutation_response"')
  return template_artifact_parcel_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_stddev_fields_possibleTypes: string[] = ['template_artifact_parcel_stddev_fields']
export const istemplate_artifact_parcel_stddev_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_stddev_fields"')
  return template_artifact_parcel_stddev_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_stddev_pop_fields_possibleTypes: string[] = ['template_artifact_parcel_stddev_pop_fields']
export const istemplate_artifact_parcel_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_stddev_pop_fields"')
  return template_artifact_parcel_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_stddev_samp_fields_possibleTypes: string[] = ['template_artifact_parcel_stddev_samp_fields']
export const istemplate_artifact_parcel_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_stddev_samp_fields"')
  return template_artifact_parcel_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_sum_fields_possibleTypes: string[] = ['template_artifact_parcel_sum_fields']
export const istemplate_artifact_parcel_sum_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_sum_fields"')
  return template_artifact_parcel_sum_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_var_pop_fields_possibleTypes: string[] = ['template_artifact_parcel_var_pop_fields']
export const istemplate_artifact_parcel_var_pop_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_var_pop_fields"')
  return template_artifact_parcel_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_var_samp_fields_possibleTypes: string[] = ['template_artifact_parcel_var_samp_fields']
export const istemplate_artifact_parcel_var_samp_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_var_samp_fields"')
  return template_artifact_parcel_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const template_artifact_parcel_variance_fields_possibleTypes: string[] = ['template_artifact_parcel_variance_fields']
export const istemplate_artifact_parcel_variance_fields = (obj?: { __typename?: any } | null): obj is template_artifact_parcel_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_artifact_parcel_variance_fields"')
  return template_artifact_parcel_variance_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_possibleTypes: string[] = ['template_cache']
export const istemplate_cache = (obj?: { __typename?: any } | null): obj is template_cache => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache"')
  return template_cache_possibleTypes.includes(obj.__typename)
}



const template_cache_access_possibleTypes: string[] = ['template_cache_access']
export const istemplate_cache_access = (obj?: { __typename?: any } | null): obj is template_cache_access => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access"')
  return template_cache_access_possibleTypes.includes(obj.__typename)
}



const template_cache_access_aggregate_possibleTypes: string[] = ['template_cache_access_aggregate']
export const istemplate_cache_access_aggregate = (obj?: { __typename?: any } | null): obj is template_cache_access_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access_aggregate"')
  return template_cache_access_aggregate_possibleTypes.includes(obj.__typename)
}



const template_cache_access_aggregate_fields_possibleTypes: string[] = ['template_cache_access_aggregate_fields']
export const istemplate_cache_access_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_cache_access_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access_aggregate_fields"')
  return template_cache_access_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_access_max_fields_possibleTypes: string[] = ['template_cache_access_max_fields']
export const istemplate_cache_access_max_fields = (obj?: { __typename?: any } | null): obj is template_cache_access_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access_max_fields"')
  return template_cache_access_max_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_access_min_fields_possibleTypes: string[] = ['template_cache_access_min_fields']
export const istemplate_cache_access_min_fields = (obj?: { __typename?: any } | null): obj is template_cache_access_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access_min_fields"')
  return template_cache_access_min_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_access_mutation_response_possibleTypes: string[] = ['template_cache_access_mutation_response']
export const istemplate_cache_access_mutation_response = (obj?: { __typename?: any } | null): obj is template_cache_access_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_access_mutation_response"')
  return template_cache_access_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_cache_aggregate_possibleTypes: string[] = ['template_cache_aggregate']
export const istemplate_cache_aggregate = (obj?: { __typename?: any } | null): obj is template_cache_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_aggregate"')
  return template_cache_aggregate_possibleTypes.includes(obj.__typename)
}



const template_cache_aggregate_fields_possibleTypes: string[] = ['template_cache_aggregate_fields']
export const istemplate_cache_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_cache_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_aggregate_fields"')
  return template_cache_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_max_fields_possibleTypes: string[] = ['template_cache_max_fields']
export const istemplate_cache_max_fields = (obj?: { __typename?: any } | null): obj is template_cache_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_max_fields"')
  return template_cache_max_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_min_fields_possibleTypes: string[] = ['template_cache_min_fields']
export const istemplate_cache_min_fields = (obj?: { __typename?: any } | null): obj is template_cache_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_min_fields"')
  return template_cache_min_fields_possibleTypes.includes(obj.__typename)
}



const template_cache_mutation_response_possibleTypes: string[] = ['template_cache_mutation_response']
export const istemplate_cache_mutation_response = (obj?: { __typename?: any } | null): obj is template_cache_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_cache_mutation_response"')
  return template_cache_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_flags_possibleTypes: string[] = ['template_flags']
export const istemplate_flags = (obj?: { __typename?: any } | null): obj is template_flags => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags"')
  return template_flags_possibleTypes.includes(obj.__typename)
}



const template_flags_aggregate_possibleTypes: string[] = ['template_flags_aggregate']
export const istemplate_flags_aggregate = (obj?: { __typename?: any } | null): obj is template_flags_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_aggregate"')
  return template_flags_aggregate_possibleTypes.includes(obj.__typename)
}



const template_flags_aggregate_fields_possibleTypes: string[] = ['template_flags_aggregate_fields']
export const istemplate_flags_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_flags_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_aggregate_fields"')
  return template_flags_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_avg_fields_possibleTypes: string[] = ['template_flags_avg_fields']
export const istemplate_flags_avg_fields = (obj?: { __typename?: any } | null): obj is template_flags_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_avg_fields"')
  return template_flags_avg_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_max_fields_possibleTypes: string[] = ['template_flags_max_fields']
export const istemplate_flags_max_fields = (obj?: { __typename?: any } | null): obj is template_flags_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_max_fields"')
  return template_flags_max_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_min_fields_possibleTypes: string[] = ['template_flags_min_fields']
export const istemplate_flags_min_fields = (obj?: { __typename?: any } | null): obj is template_flags_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_min_fields"')
  return template_flags_min_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_mutation_response_possibleTypes: string[] = ['template_flags_mutation_response']
export const istemplate_flags_mutation_response = (obj?: { __typename?: any } | null): obj is template_flags_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_mutation_response"')
  return template_flags_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_flags_stddev_fields_possibleTypes: string[] = ['template_flags_stddev_fields']
export const istemplate_flags_stddev_fields = (obj?: { __typename?: any } | null): obj is template_flags_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_stddev_fields"')
  return template_flags_stddev_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_stddev_pop_fields_possibleTypes: string[] = ['template_flags_stddev_pop_fields']
export const istemplate_flags_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is template_flags_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_stddev_pop_fields"')
  return template_flags_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_stddev_samp_fields_possibleTypes: string[] = ['template_flags_stddev_samp_fields']
export const istemplate_flags_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is template_flags_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_stddev_samp_fields"')
  return template_flags_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_sum_fields_possibleTypes: string[] = ['template_flags_sum_fields']
export const istemplate_flags_sum_fields = (obj?: { __typename?: any } | null): obj is template_flags_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_sum_fields"')
  return template_flags_sum_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_var_pop_fields_possibleTypes: string[] = ['template_flags_var_pop_fields']
export const istemplate_flags_var_pop_fields = (obj?: { __typename?: any } | null): obj is template_flags_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_var_pop_fields"')
  return template_flags_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_var_samp_fields_possibleTypes: string[] = ['template_flags_var_samp_fields']
export const istemplate_flags_var_samp_fields = (obj?: { __typename?: any } | null): obj is template_flags_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_var_samp_fields"')
  return template_flags_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const template_flags_variance_fields_possibleTypes: string[] = ['template_flags_variance_fields']
export const istemplate_flags_variance_fields = (obj?: { __typename?: any } | null): obj is template_flags_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_flags_variance_fields"')
  return template_flags_variance_fields_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_possibleTypes: string[] = ['template_journal_roles']
export const istemplate_journal_roles = (obj?: { __typename?: any } | null): obj is template_journal_roles => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles"')
  return template_journal_roles_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_aggregate_possibleTypes: string[] = ['template_journal_roles_aggregate']
export const istemplate_journal_roles_aggregate = (obj?: { __typename?: any } | null): obj is template_journal_roles_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles_aggregate"')
  return template_journal_roles_aggregate_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_aggregate_fields_possibleTypes: string[] = ['template_journal_roles_aggregate_fields']
export const istemplate_journal_roles_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_journal_roles_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles_aggregate_fields"')
  return template_journal_roles_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_max_fields_possibleTypes: string[] = ['template_journal_roles_max_fields']
export const istemplate_journal_roles_max_fields = (obj?: { __typename?: any } | null): obj is template_journal_roles_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles_max_fields"')
  return template_journal_roles_max_fields_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_min_fields_possibleTypes: string[] = ['template_journal_roles_min_fields']
export const istemplate_journal_roles_min_fields = (obj?: { __typename?: any } | null): obj is template_journal_roles_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles_min_fields"')
  return template_journal_roles_min_fields_possibleTypes.includes(obj.__typename)
}



const template_journal_roles_mutation_response_possibleTypes: string[] = ['template_journal_roles_mutation_response']
export const istemplate_journal_roles_mutation_response = (obj?: { __typename?: any } | null): obj is template_journal_roles_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_journal_roles_mutation_response"')
  return template_journal_roles_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_offer_types_possibleTypes: string[] = ['template_offer_types']
export const istemplate_offer_types = (obj?: { __typename?: any } | null): obj is template_offer_types => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types"')
  return template_offer_types_possibleTypes.includes(obj.__typename)
}



const template_offer_types_aggregate_possibleTypes: string[] = ['template_offer_types_aggregate']
export const istemplate_offer_types_aggregate = (obj?: { __typename?: any } | null): obj is template_offer_types_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types_aggregate"')
  return template_offer_types_aggregate_possibleTypes.includes(obj.__typename)
}



const template_offer_types_aggregate_fields_possibleTypes: string[] = ['template_offer_types_aggregate_fields']
export const istemplate_offer_types_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_offer_types_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types_aggregate_fields"')
  return template_offer_types_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_offer_types_max_fields_possibleTypes: string[] = ['template_offer_types_max_fields']
export const istemplate_offer_types_max_fields = (obj?: { __typename?: any } | null): obj is template_offer_types_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types_max_fields"')
  return template_offer_types_max_fields_possibleTypes.includes(obj.__typename)
}



const template_offer_types_min_fields_possibleTypes: string[] = ['template_offer_types_min_fields']
export const istemplate_offer_types_min_fields = (obj?: { __typename?: any } | null): obj is template_offer_types_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types_min_fields"')
  return template_offer_types_min_fields_possibleTypes.includes(obj.__typename)
}



const template_offer_types_mutation_response_possibleTypes: string[] = ['template_offer_types_mutation_response']
export const istemplate_offer_types_mutation_response = (obj?: { __typename?: any } | null): obj is template_offer_types_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offer_types_mutation_response"')
  return template_offer_types_mutation_response_possibleTypes.includes(obj.__typename)
}



const template_offers_possibleTypes: string[] = ['template_offers']
export const istemplate_offers = (obj?: { __typename?: any } | null): obj is template_offers => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers"')
  return template_offers_possibleTypes.includes(obj.__typename)
}



const template_offers_aggregate_possibleTypes: string[] = ['template_offers_aggregate']
export const istemplate_offers_aggregate = (obj?: { __typename?: any } | null): obj is template_offers_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers_aggregate"')
  return template_offers_aggregate_possibleTypes.includes(obj.__typename)
}



const template_offers_aggregate_fields_possibleTypes: string[] = ['template_offers_aggregate_fields']
export const istemplate_offers_aggregate_fields = (obj?: { __typename?: any } | null): obj is template_offers_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers_aggregate_fields"')
  return template_offers_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const template_offers_max_fields_possibleTypes: string[] = ['template_offers_max_fields']
export const istemplate_offers_max_fields = (obj?: { __typename?: any } | null): obj is template_offers_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers_max_fields"')
  return template_offers_max_fields_possibleTypes.includes(obj.__typename)
}



const template_offers_min_fields_possibleTypes: string[] = ['template_offers_min_fields']
export const istemplate_offers_min_fields = (obj?: { __typename?: any } | null): obj is template_offers_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers_min_fields"')
  return template_offers_min_fields_possibleTypes.includes(obj.__typename)
}



const template_offers_mutation_response_possibleTypes: string[] = ['template_offers_mutation_response']
export const istemplate_offers_mutation_response = (obj?: { __typename?: any } | null): obj is template_offers_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplate_offers_mutation_response"')
  return template_offers_mutation_response_possibleTypes.includes(obj.__typename)
}



const templates_possibleTypes: string[] = ['templates']
export const istemplates = (obj?: { __typename?: any } | null): obj is templates => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates"')
  return templates_possibleTypes.includes(obj.__typename)
}



const templates_aggregate_possibleTypes: string[] = ['templates_aggregate']
export const istemplates_aggregate = (obj?: { __typename?: any } | null): obj is templates_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_aggregate"')
  return templates_aggregate_possibleTypes.includes(obj.__typename)
}



const templates_aggregate_fields_possibleTypes: string[] = ['templates_aggregate_fields']
export const istemplates_aggregate_fields = (obj?: { __typename?: any } | null): obj is templates_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_aggregate_fields"')
  return templates_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const templates_avg_fields_possibleTypes: string[] = ['templates_avg_fields']
export const istemplates_avg_fields = (obj?: { __typename?: any } | null): obj is templates_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_avg_fields"')
  return templates_avg_fields_possibleTypes.includes(obj.__typename)
}



const templates_max_fields_possibleTypes: string[] = ['templates_max_fields']
export const istemplates_max_fields = (obj?: { __typename?: any } | null): obj is templates_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_max_fields"')
  return templates_max_fields_possibleTypes.includes(obj.__typename)
}



const templates_min_fields_possibleTypes: string[] = ['templates_min_fields']
export const istemplates_min_fields = (obj?: { __typename?: any } | null): obj is templates_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_min_fields"')
  return templates_min_fields_possibleTypes.includes(obj.__typename)
}



const templates_mutation_response_possibleTypes: string[] = ['templates_mutation_response']
export const istemplates_mutation_response = (obj?: { __typename?: any } | null): obj is templates_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_mutation_response"')
  return templates_mutation_response_possibleTypes.includes(obj.__typename)
}



const templates_stddev_fields_possibleTypes: string[] = ['templates_stddev_fields']
export const istemplates_stddev_fields = (obj?: { __typename?: any } | null): obj is templates_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_stddev_fields"')
  return templates_stddev_fields_possibleTypes.includes(obj.__typename)
}



const templates_stddev_pop_fields_possibleTypes: string[] = ['templates_stddev_pop_fields']
export const istemplates_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is templates_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_stddev_pop_fields"')
  return templates_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const templates_stddev_samp_fields_possibleTypes: string[] = ['templates_stddev_samp_fields']
export const istemplates_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is templates_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_stddev_samp_fields"')
  return templates_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const templates_sum_fields_possibleTypes: string[] = ['templates_sum_fields']
export const istemplates_sum_fields = (obj?: { __typename?: any } | null): obj is templates_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_sum_fields"')
  return templates_sum_fields_possibleTypes.includes(obj.__typename)
}



const templates_var_pop_fields_possibleTypes: string[] = ['templates_var_pop_fields']
export const istemplates_var_pop_fields = (obj?: { __typename?: any } | null): obj is templates_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_var_pop_fields"')
  return templates_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const templates_var_samp_fields_possibleTypes: string[] = ['templates_var_samp_fields']
export const istemplates_var_samp_fields = (obj?: { __typename?: any } | null): obj is templates_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_var_samp_fields"')
  return templates_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const templates_variance_fields_possibleTypes: string[] = ['templates_variance_fields']
export const istemplates_variance_fields = (obj?: { __typename?: any } | null): obj is templates_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istemplates_variance_fields"')
  return templates_variance_fields_possibleTypes.includes(obj.__typename)
}



const types_possibleTypes: string[] = ['types']
export const istypes = (obj?: { __typename?: any } | null): obj is types => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes"')
  return types_possibleTypes.includes(obj.__typename)
}



const types_aggregate_possibleTypes: string[] = ['types_aggregate']
export const istypes_aggregate = (obj?: { __typename?: any } | null): obj is types_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes_aggregate"')
  return types_aggregate_possibleTypes.includes(obj.__typename)
}



const types_aggregate_fields_possibleTypes: string[] = ['types_aggregate_fields']
export const istypes_aggregate_fields = (obj?: { __typename?: any } | null): obj is types_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes_aggregate_fields"')
  return types_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const types_max_fields_possibleTypes: string[] = ['types_max_fields']
export const istypes_max_fields = (obj?: { __typename?: any } | null): obj is types_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes_max_fields"')
  return types_max_fields_possibleTypes.includes(obj.__typename)
}



const types_min_fields_possibleTypes: string[] = ['types_min_fields']
export const istypes_min_fields = (obj?: { __typename?: any } | null): obj is types_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes_min_fields"')
  return types_min_fields_possibleTypes.includes(obj.__typename)
}



const types_mutation_response_possibleTypes: string[] = ['types_mutation_response']
export const istypes_mutation_response = (obj?: { __typename?: any } | null): obj is types_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istypes_mutation_response"')
  return types_mutation_response_possibleTypes.includes(obj.__typename)
}



const unseen_documents_possibleTypes: string[] = ['unseen_documents']
export const isunseen_documents = (obj?: { __typename?: any } | null): obj is unseen_documents => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents"')
  return unseen_documents_possibleTypes.includes(obj.__typename)
}



const unseen_documents_aggregate_possibleTypes: string[] = ['unseen_documents_aggregate']
export const isunseen_documents_aggregate = (obj?: { __typename?: any } | null): obj is unseen_documents_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_aggregate"')
  return unseen_documents_aggregate_possibleTypes.includes(obj.__typename)
}



const unseen_documents_aggregate_fields_possibleTypes: string[] = ['unseen_documents_aggregate_fields']
export const isunseen_documents_aggregate_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_aggregate_fields"')
  return unseen_documents_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_avg_fields_possibleTypes: string[] = ['unseen_documents_avg_fields']
export const isunseen_documents_avg_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_avg_fields"')
  return unseen_documents_avg_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_max_fields_possibleTypes: string[] = ['unseen_documents_max_fields']
export const isunseen_documents_max_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_max_fields"')
  return unseen_documents_max_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_min_fields_possibleTypes: string[] = ['unseen_documents_min_fields']
export const isunseen_documents_min_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_min_fields"')
  return unseen_documents_min_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_stddev_fields_possibleTypes: string[] = ['unseen_documents_stddev_fields']
export const isunseen_documents_stddev_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_stddev_fields"')
  return unseen_documents_stddev_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_stddev_pop_fields_possibleTypes: string[] = ['unseen_documents_stddev_pop_fields']
export const isunseen_documents_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_stddev_pop_fields"')
  return unseen_documents_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_stddev_samp_fields_possibleTypes: string[] = ['unseen_documents_stddev_samp_fields']
export const isunseen_documents_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_stddev_samp_fields"')
  return unseen_documents_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_sum_fields_possibleTypes: string[] = ['unseen_documents_sum_fields']
export const isunseen_documents_sum_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_sum_fields"')
  return unseen_documents_sum_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_var_pop_fields_possibleTypes: string[] = ['unseen_documents_var_pop_fields']
export const isunseen_documents_var_pop_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_var_pop_fields"')
  return unseen_documents_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_var_samp_fields_possibleTypes: string[] = ['unseen_documents_var_samp_fields']
export const isunseen_documents_var_samp_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_var_samp_fields"')
  return unseen_documents_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const unseen_documents_variance_fields_possibleTypes: string[] = ['unseen_documents_variance_fields']
export const isunseen_documents_variance_fields = (obj?: { __typename?: any } | null): obj is unseen_documents_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_documents_variance_fields"')
  return unseen_documents_variance_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_possibleTypes: string[] = ['unseen_queries']
export const isunseen_queries = (obj?: { __typename?: any } | null): obj is unseen_queries => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries"')
  return unseen_queries_possibleTypes.includes(obj.__typename)
}



const unseen_queries_aggregate_possibleTypes: string[] = ['unseen_queries_aggregate']
export const isunseen_queries_aggregate = (obj?: { __typename?: any } | null): obj is unseen_queries_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_aggregate"')
  return unseen_queries_aggregate_possibleTypes.includes(obj.__typename)
}



const unseen_queries_aggregate_fields_possibleTypes: string[] = ['unseen_queries_aggregate_fields']
export const isunseen_queries_aggregate_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_aggregate_fields"')
  return unseen_queries_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_avg_fields_possibleTypes: string[] = ['unseen_queries_avg_fields']
export const isunseen_queries_avg_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_avg_fields"')
  return unseen_queries_avg_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_max_fields_possibleTypes: string[] = ['unseen_queries_max_fields']
export const isunseen_queries_max_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_max_fields"')
  return unseen_queries_max_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_min_fields_possibleTypes: string[] = ['unseen_queries_min_fields']
export const isunseen_queries_min_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_min_fields"')
  return unseen_queries_min_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_stddev_fields_possibleTypes: string[] = ['unseen_queries_stddev_fields']
export const isunseen_queries_stddev_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_stddev_fields"')
  return unseen_queries_stddev_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_stddev_pop_fields_possibleTypes: string[] = ['unseen_queries_stddev_pop_fields']
export const isunseen_queries_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_stddev_pop_fields"')
  return unseen_queries_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_stddev_samp_fields_possibleTypes: string[] = ['unseen_queries_stddev_samp_fields']
export const isunseen_queries_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_stddev_samp_fields"')
  return unseen_queries_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_sum_fields_possibleTypes: string[] = ['unseen_queries_sum_fields']
export const isunseen_queries_sum_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_sum_fields"')
  return unseen_queries_sum_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_var_pop_fields_possibleTypes: string[] = ['unseen_queries_var_pop_fields']
export const isunseen_queries_var_pop_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_var_pop_fields"')
  return unseen_queries_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_var_samp_fields_possibleTypes: string[] = ['unseen_queries_var_samp_fields']
export const isunseen_queries_var_samp_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_var_samp_fields"')
  return unseen_queries_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const unseen_queries_variance_fields_possibleTypes: string[] = ['unseen_queries_variance_fields']
export const isunseen_queries_variance_fields = (obj?: { __typename?: any } | null): obj is unseen_queries_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isunseen_queries_variance_fields"')
  return unseen_queries_variance_fields_possibleTypes.includes(obj.__typename)
}



/** columns and relationships of "DocKladd_properties" */
export interface DocKladd_propertiesPromiseChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})
}


/** columns and relationships of "DocKladd_properties" */
export interface DocKladd_propertiesObservableChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})
}


/** aggregated selection of "DocKladd_properties" */
export interface DocKladd_properties_aggregatePromiseChain{
    aggregate: (DocKladd_properties_aggregate_fieldsPromiseChain & {get: <R extends DocKladd_properties_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>})
}


/** aggregated selection of "DocKladd_properties" */
export interface DocKladd_properties_aggregateObservableChain{
    aggregate: (DocKladd_properties_aggregate_fieldsObservableChain & {get: <R extends DocKladd_properties_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>})
}


/** aggregate fields of "DocKladd_properties" */
export interface DocKladd_properties_aggregate_fieldsPromiseChain{
    avg: (DocKladd_properties_avg_fieldsPromiseChain & {get: <R extends DocKladd_properties_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_avg_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (DocKladd_properties_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (DocKladd_properties_max_fieldsPromiseChain & {get: <R extends DocKladd_properties_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_max_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_max_fields, R> | undefined)>}),
    min: (DocKladd_properties_min_fieldsPromiseChain & {get: <R extends DocKladd_properties_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_min_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_min_fields, R> | undefined)>}),
    stddev: (DocKladd_properties_stddev_fieldsPromiseChain & {get: <R extends DocKladd_properties_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_stddev_fields, R> | undefined)>}),
    stddev_pop: (DocKladd_properties_stddev_pop_fieldsPromiseChain & {get: <R extends DocKladd_properties_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (DocKladd_properties_stddev_samp_fieldsPromiseChain & {get: <R extends DocKladd_properties_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_stddev_samp_fields, R> | undefined)>}),
    sum: (DocKladd_properties_sum_fieldsPromiseChain & {get: <R extends DocKladd_properties_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_sum_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_sum_fields, R> | undefined)>}),
    var_pop: (DocKladd_properties_var_pop_fieldsPromiseChain & {get: <R extends DocKladd_properties_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_var_pop_fields, R> | undefined)>}),
    var_samp: (DocKladd_properties_var_samp_fieldsPromiseChain & {get: <R extends DocKladd_properties_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_var_samp_fields, R> | undefined)>}),
    variance: (DocKladd_properties_variance_fieldsPromiseChain & {get: <R extends DocKladd_properties_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_variance_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_variance_fields, R> | undefined)>})
}


/** aggregate fields of "DocKladd_properties" */
export interface DocKladd_properties_aggregate_fieldsObservableChain{
    avg: (DocKladd_properties_avg_fieldsObservableChain & {get: <R extends DocKladd_properties_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_avg_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (DocKladd_properties_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (DocKladd_properties_max_fieldsObservableChain & {get: <R extends DocKladd_properties_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_max_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_max_fields, R> | undefined)>}),
    min: (DocKladd_properties_min_fieldsObservableChain & {get: <R extends DocKladd_properties_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_min_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_min_fields, R> | undefined)>}),
    stddev: (DocKladd_properties_stddev_fieldsObservableChain & {get: <R extends DocKladd_properties_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_stddev_fields, R> | undefined)>}),
    stddev_pop: (DocKladd_properties_stddev_pop_fieldsObservableChain & {get: <R extends DocKladd_properties_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (DocKladd_properties_stddev_samp_fieldsObservableChain & {get: <R extends DocKladd_properties_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_stddev_samp_fields, R> | undefined)>}),
    sum: (DocKladd_properties_sum_fieldsObservableChain & {get: <R extends DocKladd_properties_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_sum_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_sum_fields, R> | undefined)>}),
    var_pop: (DocKladd_properties_var_pop_fieldsObservableChain & {get: <R extends DocKladd_properties_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_var_pop_fields, R> | undefined)>}),
    var_samp: (DocKladd_properties_var_samp_fieldsObservableChain & {get: <R extends DocKladd_properties_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_var_samp_fields, R> | undefined)>}),
    variance: (DocKladd_properties_variance_fieldsObservableChain & {get: <R extends DocKladd_properties_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_variance_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface DocKladd_properties_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface DocKladd_properties_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface DocKladd_properties_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate max on columns */
export interface DocKladd_properties_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface DocKladd_properties_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface DocKladd_properties_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** response of any mutation on the table "DocKladd_properties" */
export interface DocKladd_properties_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>})
}


/** response of any mutation on the table "DocKladd_properties" */
export interface DocKladd_properties_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>})
}


/** aggregate stddev on columns */
export interface DocKladd_properties_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface DocKladd_properties_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface DocKladd_properties_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface DocKladd_properties_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface DocKladd_properties_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface DocKladd_properties_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface DocKladd_properties_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface DocKladd_properties_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface DocKladd_properties_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface DocKladd_properties_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface DocKladd_properties_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface DocKladd_properties_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface DocKladd_properties_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface DocKladd_properties_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "DocKladd_questions" */
export interface DocKladd_questionsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>) => Promise<FieldsSelection<queries, R>>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "DocKladd_questions" */
export interface DocKladd_questionsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>) => Observable<FieldsSelection<queries, R>>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "DocKladd_questions" */
export interface DocKladd_questions_aggregatePromiseChain{
    aggregate: (DocKladd_questions_aggregate_fieldsPromiseChain & {get: <R extends DocKladd_questions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>})
}


/** aggregated selection of "DocKladd_questions" */
export interface DocKladd_questions_aggregateObservableChain{
    aggregate: (DocKladd_questions_aggregate_fieldsObservableChain & {get: <R extends DocKladd_questions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>})
}


/** aggregate fields of "DocKladd_questions" */
export interface DocKladd_questions_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (DocKladd_questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (DocKladd_questions_max_fieldsPromiseChain & {get: <R extends DocKladd_questions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_max_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_max_fields, R> | undefined)>}),
    min: (DocKladd_questions_min_fieldsPromiseChain & {get: <R extends DocKladd_questions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_min_fields, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_min_fields, R> | undefined)>})
}


/** aggregate fields of "DocKladd_questions" */
export interface DocKladd_questions_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (DocKladd_questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (DocKladd_questions_max_fieldsObservableChain & {get: <R extends DocKladd_questions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_max_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_max_fields, R> | undefined)>}),
    min: (DocKladd_questions_min_fieldsObservableChain & {get: <R extends DocKladd_questions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_min_fields, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface DocKladd_questions_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface DocKladd_questions_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface DocKladd_questions_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface DocKladd_questions_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "DocKladd_questions" */
export interface DocKladd_questions_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>})
}


/** response of any mutation on the table "DocKladd_questions" */
export interface DocKladd_questions_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>})
}

export interface NotificationOutputPromiseChain{
    ids: ({get: (request?: boolean|number, defaultValue?: Scalars['String'][]) => Promise<Scalars['String'][]>}),
    message: ({get: (request?: boolean|number, defaultValue?: ((Scalars['String'] | undefined)[] | undefined)) => Promise<((Scalars['String'] | undefined)[] | undefined)>})
}

export interface NotificationOutputObservableChain{
    ids: ({get: (request?: boolean|number, defaultValue?: Scalars['String'][]) => Observable<Scalars['String'][]>}),
    message: ({get: (request?: boolean|number, defaultValue?: ((Scalars['String'] | undefined)[] | undefined)) => Observable<((Scalars['String'] | undefined)[] | undefined)>})
}

export interface SmsOutputPromiseChain{
    success: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}

export interface SmsOutputObservableChain{
    success: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** columns and relationships of "accessible" */
export interface accessiblePromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>})&(templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>})
}


/** columns and relationships of "accessible" */
export interface accessibleObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>})&(templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>})
}


/** aggregated selection of "accessible" */
export interface accessible_aggregatePromiseChain{
    aggregate: (accessible_aggregate_fieldsPromiseChain & {get: <R extends accessible_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<accessible_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>})
}


/** aggregated selection of "accessible" */
export interface accessible_aggregateObservableChain{
    aggregate: (accessible_aggregate_fieldsObservableChain & {get: <R extends accessible_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<accessible_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>})
}


/** aggregate fields of "accessible" */
export interface accessible_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (accessible_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (accessible_max_fieldsPromiseChain & {get: <R extends accessible_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_max_fields, R> | undefined)) => Promise<(FieldsSelection<accessible_max_fields, R> | undefined)>}),
    min: (accessible_min_fieldsPromiseChain & {get: <R extends accessible_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_min_fields, R> | undefined)) => Promise<(FieldsSelection<accessible_min_fields, R> | undefined)>})
}


/** aggregate fields of "accessible" */
export interface accessible_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (accessible_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (accessible_max_fieldsObservableChain & {get: <R extends accessible_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_max_fields, R> | undefined)) => Observable<(FieldsSelection<accessible_max_fields, R> | undefined)>}),
    min: (accessible_min_fieldsObservableChain & {get: <R extends accessible_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<accessible_min_fields, R> | undefined)) => Observable<(FieldsSelection<accessible_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface accessible_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface accessible_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface accessible_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface accessible_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "accessible" */
export interface accessible_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>})
}


/** response of any mutation on the table "accessible" */
export interface accessible_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>})
}


/** permissions for therapist to access recipient */
export interface adopus_AdgangLinjerPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Promise<Scalars['smallint']>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** permissions for therapist to access recipient */
export interface adopus_AdgangLinjerObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Observable<Scalars['smallint']>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregatePromiseChain{
    aggregate: (adopus_AdgangLinjer_aggregate_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})
}


/** aggregated selection of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregateObservableChain{
    aggregate: (adopus_AdgangLinjer_aggregate_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})
}


/** aggregate fields of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate_fieldsPromiseChain{
    avg: (adopus_AdgangLinjer_avg_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_avg_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (adopus_AdgangLinjer_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (adopus_AdgangLinjer_max_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_max_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_max_fields, R> | undefined)>}),
    min: (adopus_AdgangLinjer_min_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_min_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_min_fields, R> | undefined)>}),
    stddev: (adopus_AdgangLinjer_stddev_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_stddev_fields, R> | undefined)>}),
    stddev_pop: (adopus_AdgangLinjer_stddev_pop_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (adopus_AdgangLinjer_stddev_samp_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_stddev_samp_fields, R> | undefined)>}),
    sum: (adopus_AdgangLinjer_sum_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_sum_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_sum_fields, R> | undefined)>}),
    var_pop: (adopus_AdgangLinjer_var_pop_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_var_pop_fields, R> | undefined)>}),
    var_samp: (adopus_AdgangLinjer_var_samp_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_var_samp_fields, R> | undefined)>}),
    variance: (adopus_AdgangLinjer_variance_fieldsPromiseChain & {get: <R extends adopus_AdgangLinjer_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_variance_fields, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_variance_fields, R> | undefined)>})
}


/** aggregate fields of "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_aggregate_fieldsObservableChain{
    avg: (adopus_AdgangLinjer_avg_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_avg_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (adopus_AdgangLinjer_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (adopus_AdgangLinjer_max_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_max_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_max_fields, R> | undefined)>}),
    min: (adopus_AdgangLinjer_min_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_min_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_min_fields, R> | undefined)>}),
    stddev: (adopus_AdgangLinjer_stddev_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_stddev_fields, R> | undefined)>}),
    stddev_pop: (adopus_AdgangLinjer_stddev_pop_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (adopus_AdgangLinjer_stddev_samp_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_stddev_samp_fields, R> | undefined)>}),
    sum: (adopus_AdgangLinjer_sum_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_sum_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_sum_fields, R> | undefined)>}),
    var_pop: (adopus_AdgangLinjer_var_pop_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_var_pop_fields, R> | undefined)>}),
    var_samp: (adopus_AdgangLinjer_var_samp_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_var_samp_fields, R> | undefined)>}),
    variance: (adopus_AdgangLinjer_variance_fieldsObservableChain & {get: <R extends adopus_AdgangLinjer_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_variance_fields, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface adopus_AdgangLinjer_avg_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface adopus_AdgangLinjer_avg_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface adopus_AdgangLinjer_max_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface adopus_AdgangLinjer_max_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface adopus_AdgangLinjer_min_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface adopus_AdgangLinjer_min_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    BrukerNavn: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    Fradato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    SoknadId: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    Tildato: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})
}


/** response of any mutation on the table "adopus_AdgangLinjer" */
export interface adopus_AdgangLinjer_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})
}


/** aggregate stddev on columns */
export interface adopus_AdgangLinjer_stddev_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface adopus_AdgangLinjer_stddev_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface adopus_AdgangLinjer_stddev_pop_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface adopus_AdgangLinjer_stddev_pop_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface adopus_AdgangLinjer_stddev_samp_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface adopus_AdgangLinjer_stddev_samp_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface adopus_AdgangLinjer_sum_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>})
}


/** aggregate sum on columns */
export interface adopus_AdgangLinjer_sum_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface adopus_AdgangLinjer_var_pop_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface adopus_AdgangLinjer_var_pop_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface adopus_AdgangLinjer_var_samp_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface adopus_AdgangLinjer_var_samp_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface adopus_AdgangLinjer_variance_fieldsPromiseChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface adopus_AdgangLinjer_variance_fieldsObservableChain{
    Adgangkode: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_answers" */
export interface anonymous_answersPromiseChain{
    
/** An object relationship */
anonymous_invitation: (anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
anonymous_query: (anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>) => Promise<FieldsSelection<anonymous_queries, R>>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "anonymous_answers" */
export interface anonymous_answersObservableChain{
    
/** An object relationship */
anonymous_invitation: (anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
anonymous_query: (anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>) => Observable<FieldsSelection<anonymous_queries, R>>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "anonymous_answers" */
export interface anonymous_answers_aggregatePromiseChain{
    aggregate: (anonymous_answers_aggregate_fieldsPromiseChain & {get: <R extends anonymous_answers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})
}


/** aggregated selection of "anonymous_answers" */
export interface anonymous_answers_aggregateObservableChain{
    aggregate: (anonymous_answers_aggregate_fieldsObservableChain & {get: <R extends anonymous_answers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})
}


/** aggregate fields of "anonymous_answers" */
export interface anonymous_answers_aggregate_fieldsPromiseChain{
    avg: (anonymous_answers_avg_fieldsPromiseChain & {get: <R extends anonymous_answers_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_answers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_answers_max_fieldsPromiseChain & {get: <R extends anonymous_answers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_max_fields, R> | undefined)>}),
    min: (anonymous_answers_min_fieldsPromiseChain & {get: <R extends anonymous_answers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_min_fields, R> | undefined)>}),
    stddev: (anonymous_answers_stddev_fieldsPromiseChain & {get: <R extends anonymous_answers_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_answers_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_answers_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_answers_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_answers_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_answers_sum_fieldsPromiseChain & {get: <R extends anonymous_answers_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_answers_var_pop_fieldsPromiseChain & {get: <R extends anonymous_answers_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_answers_var_samp_fieldsPromiseChain & {get: <R extends anonymous_answers_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_answers_variance_fieldsPromiseChain & {get: <R extends anonymous_answers_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_answers" */
export interface anonymous_answers_aggregate_fieldsObservableChain{
    avg: (anonymous_answers_avg_fieldsObservableChain & {get: <R extends anonymous_answers_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_answers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_answers_max_fieldsObservableChain & {get: <R extends anonymous_answers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_max_fields, R> | undefined)>}),
    min: (anonymous_answers_min_fieldsObservableChain & {get: <R extends anonymous_answers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_min_fields, R> | undefined)>}),
    stddev: (anonymous_answers_stddev_fieldsObservableChain & {get: <R extends anonymous_answers_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_answers_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_answers_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_answers_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_answers_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_answers_sum_fieldsObservableChain & {get: <R extends anonymous_answers_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_answers_var_pop_fieldsObservableChain & {get: <R extends anonymous_answers_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_answers_var_samp_fieldsObservableChain & {get: <R extends anonymous_answers_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_answers_variance_fieldsObservableChain & {get: <R extends anonymous_answers_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_answers_avg_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_answers_avg_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_answers_max_fieldsPromiseChain{
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_answers_max_fieldsObservableChain{
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_answers_min_fieldsPromiseChain{
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_answers_min_fieldsObservableChain{
    anonymous_invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "anonymous_answers" */
export interface anonymous_answers_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})
}


/** response of any mutation on the table "anonymous_answers" */
export interface anonymous_answers_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_answers_stddev_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_answers_stddev_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_answers_stddev_pop_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_answers_stddev_pop_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_answers_stddev_samp_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_answers_stddev_samp_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_answers_sum_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_answers_sum_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_answers_var_pop_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_answers_var_pop_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_answers_var_samp_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_answers_var_samp_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_answers_variance_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_answers_variance_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_invitations" */
export interface anonymous_invitationsPromiseChain{
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** An object relationship */
anonymous_template: (anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>) => Promise<FieldsSelection<anonymous_templates, R>>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "anonymous_invitations" */
export interface anonymous_invitationsObservableChain{
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** An object relationship */
anonymous_template: (anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>) => Observable<FieldsSelection<anonymous_templates, R>>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "anonymous_invitations" */
export interface anonymous_invitations_aggregatePromiseChain{
    aggregate: (anonymous_invitations_aggregate_fieldsPromiseChain & {get: <R extends anonymous_invitations_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>})
}


/** aggregated selection of "anonymous_invitations" */
export interface anonymous_invitations_aggregateObservableChain{
    aggregate: (anonymous_invitations_aggregate_fieldsObservableChain & {get: <R extends anonymous_invitations_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>})
}


/** aggregate fields of "anonymous_invitations" */
export interface anonymous_invitations_aggregate_fieldsPromiseChain{
    avg: (anonymous_invitations_avg_fieldsPromiseChain & {get: <R extends anonymous_invitations_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_invitations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_invitations_max_fieldsPromiseChain & {get: <R extends anonymous_invitations_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_max_fields, R> | undefined)>}),
    min: (anonymous_invitations_min_fieldsPromiseChain & {get: <R extends anonymous_invitations_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_min_fields, R> | undefined)>}),
    stddev: (anonymous_invitations_stddev_fieldsPromiseChain & {get: <R extends anonymous_invitations_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_invitations_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_invitations_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_invitations_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_invitations_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_invitations_sum_fieldsPromiseChain & {get: <R extends anonymous_invitations_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_invitations_var_pop_fieldsPromiseChain & {get: <R extends anonymous_invitations_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_invitations_var_samp_fieldsPromiseChain & {get: <R extends anonymous_invitations_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_invitations_variance_fieldsPromiseChain & {get: <R extends anonymous_invitations_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_invitations" */
export interface anonymous_invitations_aggregate_fieldsObservableChain{
    avg: (anonymous_invitations_avg_fieldsObservableChain & {get: <R extends anonymous_invitations_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_invitations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_invitations_max_fieldsObservableChain & {get: <R extends anonymous_invitations_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_max_fields, R> | undefined)>}),
    min: (anonymous_invitations_min_fieldsObservableChain & {get: <R extends anonymous_invitations_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_min_fields, R> | undefined)>}),
    stddev: (anonymous_invitations_stddev_fieldsObservableChain & {get: <R extends anonymous_invitations_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_invitations_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_invitations_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_invitations_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_invitations_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_invitations_sum_fieldsObservableChain & {get: <R extends anonymous_invitations_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_invitations_var_pop_fieldsObservableChain & {get: <R extends anonymous_invitations_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_invitations_var_samp_fieldsObservableChain & {get: <R extends anonymous_invitations_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_invitations_variance_fieldsObservableChain & {get: <R extends anonymous_invitations_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_invitations_avg_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_invitations_avg_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_invitations_max_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_invitations_max_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_invitations_min_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_invitations_min_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    invitation_code: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "anonymous_invitations" */
export interface anonymous_invitations_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>})
}


/** response of any mutation on the table "anonymous_invitations" */
export interface anonymous_invitations_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_invitations_stddev_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_invitations_stddev_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_invitations_stddev_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_invitations_stddev_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_invitations_stddev_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_invitations_stddev_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_invitations_sum_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_invitations_sum_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_invitations_var_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_invitations_var_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_invitations_var_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_invitations_var_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_invitations_variance_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_invitations_variance_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_queries" */
export interface anonymous_queriesPromiseChain{
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** An object relationship */
anonymous_template: (anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "anonymous_queries" */
export interface anonymous_queriesObservableChain{
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** An object relationship */
anonymous_template: (anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "anonymous_queries" */
export interface anonymous_queries_aggregatePromiseChain{
    aggregate: (anonymous_queries_aggregate_fieldsPromiseChain & {get: <R extends anonymous_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>})
}


/** aggregated selection of "anonymous_queries" */
export interface anonymous_queries_aggregateObservableChain{
    aggregate: (anonymous_queries_aggregate_fieldsObservableChain & {get: <R extends anonymous_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>})
}


/** aggregate fields of "anonymous_queries" */
export interface anonymous_queries_aggregate_fieldsPromiseChain{
    avg: (anonymous_queries_avg_fieldsPromiseChain & {get: <R extends anonymous_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_queries_max_fieldsPromiseChain & {get: <R extends anonymous_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_max_fields, R> | undefined)>}),
    min: (anonymous_queries_min_fieldsPromiseChain & {get: <R extends anonymous_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_min_fields, R> | undefined)>}),
    stddev: (anonymous_queries_stddev_fieldsPromiseChain & {get: <R extends anonymous_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_queries_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_queries_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_queries_sum_fieldsPromiseChain & {get: <R extends anonymous_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_queries_var_pop_fieldsPromiseChain & {get: <R extends anonymous_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_queries_var_samp_fieldsPromiseChain & {get: <R extends anonymous_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_queries_variance_fieldsPromiseChain & {get: <R extends anonymous_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_queries" */
export interface anonymous_queries_aggregate_fieldsObservableChain{
    avg: (anonymous_queries_avg_fieldsObservableChain & {get: <R extends anonymous_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_queries_max_fieldsObservableChain & {get: <R extends anonymous_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_max_fields, R> | undefined)>}),
    min: (anonymous_queries_min_fieldsObservableChain & {get: <R extends anonymous_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_min_fields, R> | undefined)>}),
    stddev: (anonymous_queries_stddev_fieldsObservableChain & {get: <R extends anonymous_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_queries_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_queries_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_queries_sum_fieldsObservableChain & {get: <R extends anonymous_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_queries_var_pop_fieldsObservableChain & {get: <R extends anonymous_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_queries_var_samp_fieldsObservableChain & {get: <R extends anonymous_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_queries_variance_fieldsObservableChain & {get: <R extends anonymous_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_queries_avg_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_queries_avg_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_queries_max_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_queries_max_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_queries_min_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_queries_min_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "anonymous_queries" */
export interface anonymous_queries_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>})
}


/** response of any mutation on the table "anonymous_queries" */
export interface anonymous_queries_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_queries_stddev_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_queries_stddev_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_queries_stddev_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_queries_stddev_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_queries_stddev_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_queries_stddev_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_queries_sum_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_queries_sum_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_queries_var_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_queries_var_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_queries_var_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_queries_var_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_queries_variance_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_queries_variance_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_sms" */
export interface anonymous_smsPromiseChain{
    
/** An object relationship */
anonymous_query: (anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    uid: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "anonymous_sms" */
export interface anonymous_smsObservableChain{
    
/** An object relationship */
anonymous_query: (anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    uid: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "anonymous_sms" */
export interface anonymous_sms_aggregatePromiseChain{
    aggregate: (anonymous_sms_aggregate_fieldsPromiseChain & {get: <R extends anonymous_sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>})
}


/** aggregated selection of "anonymous_sms" */
export interface anonymous_sms_aggregateObservableChain{
    aggregate: (anonymous_sms_aggregate_fieldsObservableChain & {get: <R extends anonymous_sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>})
}


/** aggregate fields of "anonymous_sms" */
export interface anonymous_sms_aggregate_fieldsPromiseChain{
    avg: (anonymous_sms_avg_fieldsPromiseChain & {get: <R extends anonymous_sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_sms_max_fieldsPromiseChain & {get: <R extends anonymous_sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_max_fields, R> | undefined)>}),
    min: (anonymous_sms_min_fieldsPromiseChain & {get: <R extends anonymous_sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_min_fields, R> | undefined)>}),
    stddev: (anonymous_sms_stddev_fieldsPromiseChain & {get: <R extends anonymous_sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_sms_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_sms_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_sms_sum_fieldsPromiseChain & {get: <R extends anonymous_sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_sms_var_pop_fieldsPromiseChain & {get: <R extends anonymous_sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_sms_var_samp_fieldsPromiseChain & {get: <R extends anonymous_sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_sms_variance_fieldsPromiseChain & {get: <R extends anonymous_sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_sms" */
export interface anonymous_sms_aggregate_fieldsObservableChain{
    avg: (anonymous_sms_avg_fieldsObservableChain & {get: <R extends anonymous_sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_sms_max_fieldsObservableChain & {get: <R extends anonymous_sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_max_fields, R> | undefined)>}),
    min: (anonymous_sms_min_fieldsObservableChain & {get: <R extends anonymous_sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_min_fields, R> | undefined)>}),
    stddev: (anonymous_sms_stddev_fieldsObservableChain & {get: <R extends anonymous_sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_sms_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_sms_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_sms_sum_fieldsObservableChain & {get: <R extends anonymous_sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_sms_var_pop_fieldsObservableChain & {get: <R extends anonymous_sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_sms_var_samp_fieldsObservableChain & {get: <R extends anonymous_sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_sms_variance_fieldsObservableChain & {get: <R extends anonymous_sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_sms_avg_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_sms_avg_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_sms_max_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_sms_max_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_sms_min_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_sms_min_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "anonymous_sms" */
export interface anonymous_sms_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>})
}


/** response of any mutation on the table "anonymous_sms" */
export interface anonymous_sms_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_sms_stddev_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_sms_stddev_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_sms_stddev_pop_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_sms_stddev_pop_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_sms_stddev_samp_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_sms_stddev_samp_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_sms_sum_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_sms_sum_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_sms_var_pop_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_sms_var_pop_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_sms_var_samp_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_sms_var_samp_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_sms_variance_fieldsPromiseChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_sms_variance_fieldsObservableChain{
    anonymous_query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_template_question" */
export interface anonymous_template_questionPromiseChain{
    
/** An object relationship */
anonymous_template: (anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>) => Promise<FieldsSelection<anonymous_templates, R>>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    narrative: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
question: (questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Promise<FieldsSelection<questions, R>>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "anonymous_template_question" */
export interface anonymous_template_questionObservableChain{
    
/** An object relationship */
anonymous_template: (anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>) => Observable<FieldsSelection<anonymous_templates, R>>}),
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    narrative: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
question: (questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Observable<FieldsSelection<questions, R>>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "anonymous_template_question" */
export interface anonymous_template_question_aggregatePromiseChain{
    aggregate: (anonymous_template_question_aggregate_fieldsPromiseChain & {get: <R extends anonymous_template_question_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})
}


/** aggregated selection of "anonymous_template_question" */
export interface anonymous_template_question_aggregateObservableChain{
    aggregate: (anonymous_template_question_aggregate_fieldsObservableChain & {get: <R extends anonymous_template_question_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})
}


/** aggregate fields of "anonymous_template_question" */
export interface anonymous_template_question_aggregate_fieldsPromiseChain{
    avg: (anonymous_template_question_avg_fieldsPromiseChain & {get: <R extends anonymous_template_question_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_template_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_template_question_max_fieldsPromiseChain & {get: <R extends anonymous_template_question_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_max_fields, R> | undefined)>}),
    min: (anonymous_template_question_min_fieldsPromiseChain & {get: <R extends anonymous_template_question_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_min_fields, R> | undefined)>}),
    stddev: (anonymous_template_question_stddev_fieldsPromiseChain & {get: <R extends anonymous_template_question_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_template_question_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_template_question_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_template_question_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_template_question_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_template_question_sum_fieldsPromiseChain & {get: <R extends anonymous_template_question_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_template_question_var_pop_fieldsPromiseChain & {get: <R extends anonymous_template_question_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_template_question_var_samp_fieldsPromiseChain & {get: <R extends anonymous_template_question_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_template_question_variance_fieldsPromiseChain & {get: <R extends anonymous_template_question_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_template_question" */
export interface anonymous_template_question_aggregate_fieldsObservableChain{
    avg: (anonymous_template_question_avg_fieldsObservableChain & {get: <R extends anonymous_template_question_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_template_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_template_question_max_fieldsObservableChain & {get: <R extends anonymous_template_question_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_max_fields, R> | undefined)>}),
    min: (anonymous_template_question_min_fieldsObservableChain & {get: <R extends anonymous_template_question_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_min_fields, R> | undefined)>}),
    stddev: (anonymous_template_question_stddev_fieldsObservableChain & {get: <R extends anonymous_template_question_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_template_question_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_template_question_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_template_question_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_template_question_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_template_question_sum_fieldsObservableChain & {get: <R extends anonymous_template_question_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_template_question_var_pop_fieldsObservableChain & {get: <R extends anonymous_template_question_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_template_question_var_samp_fieldsObservableChain & {get: <R extends anonymous_template_question_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_template_question_variance_fieldsObservableChain & {get: <R extends anonymous_template_question_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_template_question_avg_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_template_question_avg_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_template_question_max_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_template_question_max_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_template_question_min_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_template_question_min_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "anonymous_template_question" */
export interface anonymous_template_question_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})
}


/** response of any mutation on the table "anonymous_template_question" */
export interface anonymous_template_question_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_template_question_stddev_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_template_question_stddev_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_template_question_stddev_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_template_question_stddev_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_template_question_stddev_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_template_question_stddev_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_template_question_sum_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_template_question_sum_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_template_question_var_pop_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_template_question_var_pop_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_template_question_var_samp_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_template_question_var_samp_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_template_question_variance_fieldsPromiseChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_template_question_variance_fieldsObservableChain{
    anonymous_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "anonymous_templates" */
export interface anonymous_templatesPromiseChain{
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** An array relationship */
anonymous_template_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** An aggregate relationship */
anonymous_template_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    attributes: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_customer: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An array relationship */
invitation_codes: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** An aggregate relationship */
invitation_codes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "anonymous_templates" */
export interface anonymous_templatesObservableChain{
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** An array relationship */
anonymous_template_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** An aggregate relationship */
anonymous_template_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    attributes: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_customer: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An array relationship */
invitation_codes: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** An aggregate relationship */
invitation_codes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "anonymous_templates" */
export interface anonymous_templates_aggregatePromiseChain{
    aggregate: (anonymous_templates_aggregate_fieldsPromiseChain & {get: <R extends anonymous_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>})
}


/** aggregated selection of "anonymous_templates" */
export interface anonymous_templates_aggregateObservableChain{
    aggregate: (anonymous_templates_aggregate_fieldsObservableChain & {get: <R extends anonymous_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>})
}


/** aggregate fields of "anonymous_templates" */
export interface anonymous_templates_aggregate_fieldsPromiseChain{
    avg: (anonymous_templates_avg_fieldsPromiseChain & {get: <R extends anonymous_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (anonymous_templates_max_fieldsPromiseChain & {get: <R extends anonymous_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_max_fields, R> | undefined)>}),
    min: (anonymous_templates_min_fieldsPromiseChain & {get: <R extends anonymous_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_min_fields, R> | undefined)>}),
    stddev: (anonymous_templates_stddev_fieldsPromiseChain & {get: <R extends anonymous_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_templates_stddev_pop_fieldsPromiseChain & {get: <R extends anonymous_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_templates_stddev_samp_fieldsPromiseChain & {get: <R extends anonymous_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_templates_sum_fieldsPromiseChain & {get: <R extends anonymous_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_templates_var_pop_fieldsPromiseChain & {get: <R extends anonymous_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_templates_var_samp_fieldsPromiseChain & {get: <R extends anonymous_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_templates_variance_fieldsPromiseChain & {get: <R extends anonymous_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "anonymous_templates" */
export interface anonymous_templates_aggregate_fieldsObservableChain{
    avg: (anonymous_templates_avg_fieldsObservableChain & {get: <R extends anonymous_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (anonymous_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (anonymous_templates_max_fieldsObservableChain & {get: <R extends anonymous_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_max_fields, R> | undefined)>}),
    min: (anonymous_templates_min_fieldsObservableChain & {get: <R extends anonymous_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_min_fields, R> | undefined)>}),
    stddev: (anonymous_templates_stddev_fieldsObservableChain & {get: <R extends anonymous_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (anonymous_templates_stddev_pop_fieldsObservableChain & {get: <R extends anonymous_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (anonymous_templates_stddev_samp_fieldsObservableChain & {get: <R extends anonymous_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (anonymous_templates_sum_fieldsObservableChain & {get: <R extends anonymous_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_sum_fields, R> | undefined)>}),
    var_pop: (anonymous_templates_var_pop_fieldsObservableChain & {get: <R extends anonymous_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (anonymous_templates_var_samp_fieldsObservableChain & {get: <R extends anonymous_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_var_samp_fields, R> | undefined)>}),
    variance: (anonymous_templates_variance_fieldsObservableChain & {get: <R extends anonymous_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_templates_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface anonymous_templates_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_templates_max_fieldsPromiseChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface anonymous_templates_max_fieldsObservableChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_templates_min_fieldsPromiseChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface anonymous_templates_min_fieldsObservableChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "anonymous_templates" */
export interface anonymous_templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>})
}


/** response of any mutation on the table "anonymous_templates" */
export interface anonymous_templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>})
}


/** aggregate stddev on columns */
export interface anonymous_templates_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface anonymous_templates_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_templates_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface anonymous_templates_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_templates_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface anonymous_templates_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_templates_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface anonymous_templates_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_templates_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface anonymous_templates_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_templates_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface anonymous_templates_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_templates_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface anonymous_templates_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}

export interface artifactPackagePromiseChain{
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}

export interface artifactPackageObservableChain{
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** columns and relationships of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcelPromiseChain{
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>) => Promise<FieldsSelection<artifact_packages, R>>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
artifact_parcel: (artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>) => Promise<FieldsSelection<artifact_parcels, R>>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcelObservableChain{
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>) => Observable<FieldsSelection<artifact_packages, R>>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
artifact_parcel: (artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>) => Observable<FieldsSelection<artifact_parcels, R>>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregatePromiseChain{
    aggregate: (artifact_package_artifact_parcel_aggregate_fieldsPromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})
}


/** aggregated selection of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregateObservableChain{
    aggregate: (artifact_package_artifact_parcel_aggregate_fieldsObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})
}


/** aggregate fields of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (artifact_package_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (artifact_package_artifact_parcel_max_fieldsPromiseChain & {get: <R extends artifact_package_artifact_parcel_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_max_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_max_fields, R> | undefined)>}),
    min: (artifact_package_artifact_parcel_min_fieldsPromiseChain & {get: <R extends artifact_package_artifact_parcel_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_min_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_min_fields, R> | undefined)>})
}


/** aggregate fields of "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (artifact_package_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (artifact_package_artifact_parcel_max_fieldsObservableChain & {get: <R extends artifact_package_artifact_parcel_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_max_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_max_fields, R> | undefined)>}),
    min: (artifact_package_artifact_parcel_min_fieldsObservableChain & {get: <R extends artifact_package_artifact_parcel_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_min_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_artifact_parcel_max_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_artifact_parcel_max_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_artifact_parcel_min_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_artifact_parcel_min_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})
}


/** response of any mutation on the table "artifact_package_artifact_parcel" */
export interface artifact_package_artifact_parcel_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})
}


/** columns and relationships of "artifact_package_cron" */
export interface artifact_package_cronPromiseChain{
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>) => Promise<FieldsSelection<artifact_packages, R>>}),
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "artifact_package_cron" */
export interface artifact_package_cronObservableChain{
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>) => Observable<FieldsSelection<artifact_packages, R>>}),
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "artifact_package_cron" */
export interface artifact_package_cron_aggregatePromiseChain{
    aggregate: (artifact_package_cron_aggregate_fieldsPromiseChain & {get: <R extends artifact_package_cron_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>})
}


/** aggregated selection of "artifact_package_cron" */
export interface artifact_package_cron_aggregateObservableChain{
    aggregate: (artifact_package_cron_aggregate_fieldsObservableChain & {get: <R extends artifact_package_cron_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>})
}


/** aggregate fields of "artifact_package_cron" */
export interface artifact_package_cron_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (artifact_package_cron_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (artifact_package_cron_max_fieldsPromiseChain & {get: <R extends artifact_package_cron_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_max_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_max_fields, R> | undefined)>}),
    min: (artifact_package_cron_min_fieldsPromiseChain & {get: <R extends artifact_package_cron_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_min_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_min_fields, R> | undefined)>})
}


/** aggregate fields of "artifact_package_cron" */
export interface artifact_package_cron_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (artifact_package_cron_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (artifact_package_cron_max_fieldsObservableChain & {get: <R extends artifact_package_cron_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_max_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_max_fields, R> | undefined)>}),
    min: (artifact_package_cron_min_fieldsObservableChain & {get: <R extends artifact_package_cron_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_min_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_cron_max_fieldsPromiseChain{
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_cron_max_fieldsObservableChain{
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_cron_min_fieldsPromiseChain{
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_cron_min_fieldsObservableChain{
    artifact_packages_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cron_end_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cron_start_schedule_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "artifact_package_cron" */
export interface artifact_package_cron_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>})
}


/** response of any mutation on the table "artifact_package_cron" */
export interface artifact_package_cron_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>})
}


/** A table that store all documents, queries and artifact packages for outbox page */
export interface artifact_package_groupsPromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    title_changed: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})
}


/** A table that store all documents, queries and artifact packages for outbox page */
export interface artifact_package_groupsObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    title_changed: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})
}


/** aggregated selection of "artifact_package_groups" */
export interface artifact_package_groups_aggregatePromiseChain{
    aggregate: (artifact_package_groups_aggregate_fieldsPromiseChain & {get: <R extends artifact_package_groups_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>})
}


/** aggregated selection of "artifact_package_groups" */
export interface artifact_package_groups_aggregateObservableChain{
    aggregate: (artifact_package_groups_aggregate_fieldsObservableChain & {get: <R extends artifact_package_groups_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>})
}


/** aggregate fields of "artifact_package_groups" */
export interface artifact_package_groups_aggregate_fieldsPromiseChain{
    avg: (artifact_package_groups_avg_fieldsPromiseChain & {get: <R extends artifact_package_groups_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_avg_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (artifact_package_groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (artifact_package_groups_max_fieldsPromiseChain & {get: <R extends artifact_package_groups_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_max_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_max_fields, R> | undefined)>}),
    min: (artifact_package_groups_min_fieldsPromiseChain & {get: <R extends artifact_package_groups_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_min_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_min_fields, R> | undefined)>}),
    stddev: (artifact_package_groups_stddev_fieldsPromiseChain & {get: <R extends artifact_package_groups_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_stddev_fields, R> | undefined)>}),
    stddev_pop: (artifact_package_groups_stddev_pop_fieldsPromiseChain & {get: <R extends artifact_package_groups_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (artifact_package_groups_stddev_samp_fieldsPromiseChain & {get: <R extends artifact_package_groups_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_stddev_samp_fields, R> | undefined)>}),
    sum: (artifact_package_groups_sum_fieldsPromiseChain & {get: <R extends artifact_package_groups_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_sum_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_sum_fields, R> | undefined)>}),
    var_pop: (artifact_package_groups_var_pop_fieldsPromiseChain & {get: <R extends artifact_package_groups_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_var_pop_fields, R> | undefined)>}),
    var_samp: (artifact_package_groups_var_samp_fieldsPromiseChain & {get: <R extends artifact_package_groups_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_var_samp_fields, R> | undefined)>}),
    variance: (artifact_package_groups_variance_fieldsPromiseChain & {get: <R extends artifact_package_groups_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_variance_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_variance_fields, R> | undefined)>})
}


/** aggregate fields of "artifact_package_groups" */
export interface artifact_package_groups_aggregate_fieldsObservableChain{
    avg: (artifact_package_groups_avg_fieldsObservableChain & {get: <R extends artifact_package_groups_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_avg_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (artifact_package_groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (artifact_package_groups_max_fieldsObservableChain & {get: <R extends artifact_package_groups_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_max_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_max_fields, R> | undefined)>}),
    min: (artifact_package_groups_min_fieldsObservableChain & {get: <R extends artifact_package_groups_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_min_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_min_fields, R> | undefined)>}),
    stddev: (artifact_package_groups_stddev_fieldsObservableChain & {get: <R extends artifact_package_groups_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_stddev_fields, R> | undefined)>}),
    stddev_pop: (artifact_package_groups_stddev_pop_fieldsObservableChain & {get: <R extends artifact_package_groups_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (artifact_package_groups_stddev_samp_fieldsObservableChain & {get: <R extends artifact_package_groups_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_stddev_samp_fields, R> | undefined)>}),
    sum: (artifact_package_groups_sum_fieldsObservableChain & {get: <R extends artifact_package_groups_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_sum_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_sum_fields, R> | undefined)>}),
    var_pop: (artifact_package_groups_var_pop_fieldsObservableChain & {get: <R extends artifact_package_groups_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_var_pop_fields, R> | undefined)>}),
    var_samp: (artifact_package_groups_var_samp_fieldsObservableChain & {get: <R extends artifact_package_groups_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_var_samp_fields, R> | undefined)>}),
    variance: (artifact_package_groups_variance_fieldsObservableChain & {get: <R extends artifact_package_groups_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_variance_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface artifact_package_groups_avg_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface artifact_package_groups_avg_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_groups_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_package_groups_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_groups_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_package_groups_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** response of any mutation on the table "artifact_package_groups" */
export interface artifact_package_groups_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>})
}


/** response of any mutation on the table "artifact_package_groups" */
export interface artifact_package_groups_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>})
}


/** aggregate stddev on columns */
export interface artifact_package_groups_stddev_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface artifact_package_groups_stddev_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface artifact_package_groups_stddev_pop_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface artifact_package_groups_stddev_pop_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface artifact_package_groups_stddev_samp_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface artifact_package_groups_stddev_samp_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface artifact_package_groups_sum_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface artifact_package_groups_sum_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface artifact_package_groups_var_pop_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface artifact_package_groups_var_pop_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface artifact_package_groups_var_samp_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface artifact_package_groups_var_samp_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface artifact_package_groups_variance_fieldsPromiseChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface artifact_package_groups_variance_fieldsObservableChain{
    file_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    user_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** a instance of all artifacts (qnrs,documents,consents) which one shall send to recipient */
export interface artifact_packagesPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
artifact_package_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
artifact_package_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** An object relationship */
artifact_package_cron: (artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name: (directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>}),
    
/** An array relationship */
events: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>}),
    
/** An aggregate relationship */
events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    is_blueprint: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** a instance of all artifacts (qnrs,documents,consents) which one shall send to recipient */
export interface artifact_packagesObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
artifact_package_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
artifact_package_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** An object relationship */
artifact_package_cron: (artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name: (directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>}),
    
/** An array relationship */
events: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>}),
    
/** An aggregate relationship */
events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    is_blueprint: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "artifact_packages" */
export interface artifact_packages_aggregatePromiseChain{
    aggregate: (artifact_packages_aggregate_fieldsPromiseChain & {get: <R extends artifact_packages_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>})
}


/** aggregated selection of "artifact_packages" */
export interface artifact_packages_aggregateObservableChain{
    aggregate: (artifact_packages_aggregate_fieldsObservableChain & {get: <R extends artifact_packages_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>})
}


/** aggregate fields of "artifact_packages" */
export interface artifact_packages_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (artifact_packages_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (artifact_packages_max_fieldsPromiseChain & {get: <R extends artifact_packages_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_max_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_max_fields, R> | undefined)>}),
    min: (artifact_packages_min_fieldsPromiseChain & {get: <R extends artifact_packages_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_min_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_min_fields, R> | undefined)>})
}


/** aggregate fields of "artifact_packages" */
export interface artifact_packages_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (artifact_packages_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (artifact_packages_max_fieldsObservableChain & {get: <R extends artifact_packages_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_max_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_max_fields, R> | undefined)>}),
    min: (artifact_packages_min_fieldsObservableChain & {get: <R extends artifact_packages_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_min_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface artifact_packages_max_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_packages_max_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_packages_min_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_packages_min_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    group_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    recipient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    rruleset: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "artifact_packages" */
export interface artifact_packages_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>})
}


/** response of any mutation on the table "artifact_packages" */
export interface artifact_packages_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>})
}


/** columns and relationships of "artifact_parcels" */
export interface artifact_parcelsPromiseChain{
    
/** An array relationship */
artifact_package_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
artifact_package_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>})&(documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An array relationship */
template_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
template_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "artifact_parcels" */
export interface artifact_parcelsObservableChain{
    
/** An array relationship */
artifact_package_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
artifact_package_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>})&(documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An array relationship */
template_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
template_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "artifact_parcels" */
export interface artifact_parcels_aggregatePromiseChain{
    aggregate: (artifact_parcels_aggregate_fieldsPromiseChain & {get: <R extends artifact_parcels_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>})
}


/** aggregated selection of "artifact_parcels" */
export interface artifact_parcels_aggregateObservableChain{
    aggregate: (artifact_parcels_aggregate_fieldsObservableChain & {get: <R extends artifact_parcels_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>})
}


/** aggregate fields of "artifact_parcels" */
export interface artifact_parcels_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (artifact_parcels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (artifact_parcels_max_fieldsPromiseChain & {get: <R extends artifact_parcels_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_max_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_max_fields, R> | undefined)>}),
    min: (artifact_parcels_min_fieldsPromiseChain & {get: <R extends artifact_parcels_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_min_fields, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_min_fields, R> | undefined)>})
}


/** aggregate fields of "artifact_parcels" */
export interface artifact_parcels_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (artifact_parcels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (artifact_parcels_max_fieldsObservableChain & {get: <R extends artifact_parcels_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_max_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_max_fields, R> | undefined)>}),
    min: (artifact_parcels_min_fieldsObservableChain & {get: <R extends artifact_parcels_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_min_fields, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface artifact_parcels_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface artifact_parcels_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_parcels_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface artifact_parcels_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "artifact_parcels" */
export interface artifact_parcels_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>})
}


/** response of any mutation on the table "artifact_parcels" */
export interface artifact_parcels_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>})
}


/** columns and relationships of "categories" */
export interface categoriesPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>})
}


/** columns and relationships of "categories" */
export interface categoriesObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>})
}


/** aggregated selection of "categories" */
export interface categories_aggregatePromiseChain{
    aggregate: (categories_aggregate_fieldsPromiseChain & {get: <R extends categories_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<categories_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>})
}


/** aggregated selection of "categories" */
export interface categories_aggregateObservableChain{
    aggregate: (categories_aggregate_fieldsObservableChain & {get: <R extends categories_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<categories_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>})
}


/** aggregate fields of "categories" */
export interface categories_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (categories_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (categories_max_fieldsPromiseChain & {get: <R extends categories_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_max_fields, R> | undefined)) => Promise<(FieldsSelection<categories_max_fields, R> | undefined)>}),
    min: (categories_min_fieldsPromiseChain & {get: <R extends categories_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_min_fields, R> | undefined)) => Promise<(FieldsSelection<categories_min_fields, R> | undefined)>})
}


/** aggregate fields of "categories" */
export interface categories_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (categories_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (categories_max_fieldsObservableChain & {get: <R extends categories_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_max_fields, R> | undefined)) => Observable<(FieldsSelection<categories_max_fields, R> | undefined)>}),
    min: (categories_min_fieldsObservableChain & {get: <R extends categories_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<categories_min_fields, R> | undefined)) => Observable<(FieldsSelection<categories_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface categories_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface categories_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface categories_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface categories_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "categories" */
export interface categories_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>})
}


/** response of any mutation on the table "categories" */
export interface categories_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>})
}


/** columns and relationships of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasonsPromiseChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
consent_patient: (consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasonsObservableChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
consent_patient: (consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregatePromiseChain{
    aggregate: (consent_approval_rejection_reasons_aggregate_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>})
}


/** aggregated selection of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregateObservableChain{
    aggregate: (consent_approval_rejection_reasons_aggregate_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>})
}


/** aggregate fields of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate_fieldsPromiseChain{
    avg: (consent_approval_rejection_reasons_avg_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_avg_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_approval_rejection_reasons_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consent_approval_rejection_reasons_max_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_max_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_max_fields, R> | undefined)>}),
    min: (consent_approval_rejection_reasons_min_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_min_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_min_fields, R> | undefined)>}),
    stddev: (consent_approval_rejection_reasons_stddev_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_approval_rejection_reasons_stddev_pop_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_approval_rejection_reasons_stddev_samp_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_approval_rejection_reasons_sum_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_sum_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_sum_fields, R> | undefined)>}),
    var_pop: (consent_approval_rejection_reasons_var_pop_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_approval_rejection_reasons_var_samp_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_var_samp_fields, R> | undefined)>}),
    variance: (consent_approval_rejection_reasons_variance_fieldsPromiseChain & {get: <R extends consent_approval_rejection_reasons_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_variance_fields, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_variance_fields, R> | undefined)>})
}


/** aggregate fields of "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_aggregate_fieldsObservableChain{
    avg: (consent_approval_rejection_reasons_avg_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_avg_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_approval_rejection_reasons_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consent_approval_rejection_reasons_max_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_max_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_max_fields, R> | undefined)>}),
    min: (consent_approval_rejection_reasons_min_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_min_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_min_fields, R> | undefined)>}),
    stddev: (consent_approval_rejection_reasons_stddev_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_approval_rejection_reasons_stddev_pop_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_approval_rejection_reasons_stddev_samp_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_approval_rejection_reasons_sum_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_sum_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_sum_fields, R> | undefined)>}),
    var_pop: (consent_approval_rejection_reasons_var_pop_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_approval_rejection_reasons_var_samp_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_var_samp_fields, R> | undefined)>}),
    variance: (consent_approval_rejection_reasons_variance_fieldsObservableChain & {get: <R extends consent_approval_rejection_reasons_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_variance_fields, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface consent_approval_rejection_reasons_avg_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface consent_approval_rejection_reasons_avg_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_approval_rejection_reasons_max_fieldsPromiseChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_approval_rejection_reasons_max_fieldsObservableChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_approval_rejection_reasons_min_fieldsPromiseChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_approval_rejection_reasons_min_fieldsObservableChain{
    accept_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    reject_reason: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>})
}


/** response of any mutation on the table "consent_approval_rejection_reasons" */
export interface consent_approval_rejection_reasons_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>})
}


/** aggregate stddev on columns */
export interface consent_approval_rejection_reasons_stddev_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface consent_approval_rejection_reasons_stddev_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_approval_rejection_reasons_stddev_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_approval_rejection_reasons_stddev_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_approval_rejection_reasons_stddev_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_approval_rejection_reasons_stddev_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_approval_rejection_reasons_sum_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_approval_rejection_reasons_sum_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_approval_rejection_reasons_var_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_approval_rejection_reasons_var_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_approval_rejection_reasons_var_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_approval_rejection_reasons_var_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_approval_rejection_reasons_variance_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_approval_rejection_reasons_variance_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "consent_patient" */
export interface consent_patientPromiseChain{
    accepted: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
consent: (consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>) => Promise<FieldsSelection<consents, R>>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
consent_status: (consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>) => Promise<FieldsSelection<consent_status, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    status: ({get: (request?: boolean|number, defaultValue?: consent_status_enum) => Promise<consent_status_enum>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "consent_patient" */
export interface consent_patientObservableChain{
    accepted: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
consent: (consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>) => Observable<FieldsSelection<consents, R>>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
consent_status: (consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>) => Observable<FieldsSelection<consent_status, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    status: ({get: (request?: boolean|number, defaultValue?: consent_status_enum) => Observable<consent_status_enum>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "consent_patient" */
export interface consent_patient_aggregatePromiseChain{
    aggregate: (consent_patient_aggregate_fieldsPromiseChain & {get: <R extends consent_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})
}


/** aggregated selection of "consent_patient" */
export interface consent_patient_aggregateObservableChain{
    aggregate: (consent_patient_aggregate_fieldsObservableChain & {get: <R extends consent_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})
}


/** aggregate fields of "consent_patient" */
export interface consent_patient_aggregate_fieldsPromiseChain{
    avg: (consent_patient_avg_fieldsPromiseChain & {get: <R extends consent_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_avg_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consent_patient_max_fieldsPromiseChain & {get: <R extends consent_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_max_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_max_fields, R> | undefined)>}),
    min: (consent_patient_min_fieldsPromiseChain & {get: <R extends consent_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_min_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_min_fields, R> | undefined)>}),
    stddev: (consent_patient_stddev_fieldsPromiseChain & {get: <R extends consent_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_patient_stddev_pop_fieldsPromiseChain & {get: <R extends consent_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_patient_stddev_samp_fieldsPromiseChain & {get: <R extends consent_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_patient_sum_fieldsPromiseChain & {get: <R extends consent_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_sum_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_sum_fields, R> | undefined)>}),
    var_pop: (consent_patient_var_pop_fieldsPromiseChain & {get: <R extends consent_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_patient_var_samp_fieldsPromiseChain & {get: <R extends consent_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_var_samp_fields, R> | undefined)>}),
    variance: (consent_patient_variance_fieldsPromiseChain & {get: <R extends consent_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_variance_fields, R> | undefined)) => Promise<(FieldsSelection<consent_patient_variance_fields, R> | undefined)>})
}


/** aggregate fields of "consent_patient" */
export interface consent_patient_aggregate_fieldsObservableChain{
    avg: (consent_patient_avg_fieldsObservableChain & {get: <R extends consent_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_avg_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consent_patient_max_fieldsObservableChain & {get: <R extends consent_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_max_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_max_fields, R> | undefined)>}),
    min: (consent_patient_min_fieldsObservableChain & {get: <R extends consent_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_min_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_min_fields, R> | undefined)>}),
    stddev: (consent_patient_stddev_fieldsObservableChain & {get: <R extends consent_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_patient_stddev_pop_fieldsObservableChain & {get: <R extends consent_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_patient_stddev_samp_fieldsObservableChain & {get: <R extends consent_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_patient_sum_fieldsObservableChain & {get: <R extends consent_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_sum_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_sum_fields, R> | undefined)>}),
    var_pop: (consent_patient_var_pop_fieldsObservableChain & {get: <R extends consent_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_patient_var_samp_fieldsObservableChain & {get: <R extends consent_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_var_samp_fields, R> | undefined)>}),
    variance: (consent_patient_variance_fieldsObservableChain & {get: <R extends consent_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_variance_fields, R> | undefined)) => Observable<(FieldsSelection<consent_patient_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface consent_patient_avg_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface consent_patient_avg_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_patient_max_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_patient_max_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_patient_min_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_patient_min_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    expiry_date: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "consent_patient" */
export interface consent_patient_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})
}


/** response of any mutation on the table "consent_patient" */
export interface consent_patient_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})
}


/** aggregate stddev on columns */
export interface consent_patient_stddev_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface consent_patient_stddev_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_patient_stddev_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_patient_stddev_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_patient_stddev_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_patient_stddev_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_patient_sum_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_patient_sum_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_patient_var_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_patient_var_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_patient_var_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_patient_var_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_patient_variance_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_patient_variance_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "consent_status" */
export interface consent_statusPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "consent_status" */
export interface consent_statusObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "consent_status" */
export interface consent_status_aggregatePromiseChain{
    aggregate: (consent_status_aggregate_fieldsPromiseChain & {get: <R extends consent_status_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consent_status_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>})
}


/** aggregated selection of "consent_status" */
export interface consent_status_aggregateObservableChain{
    aggregate: (consent_status_aggregate_fieldsObservableChain & {get: <R extends consent_status_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consent_status_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>})
}


/** aggregate fields of "consent_status" */
export interface consent_status_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (consent_status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consent_status_max_fieldsPromiseChain & {get: <R extends consent_status_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_max_fields, R> | undefined)) => Promise<(FieldsSelection<consent_status_max_fields, R> | undefined)>}),
    min: (consent_status_min_fieldsPromiseChain & {get: <R extends consent_status_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_min_fields, R> | undefined)) => Promise<(FieldsSelection<consent_status_min_fields, R> | undefined)>})
}


/** aggregate fields of "consent_status" */
export interface consent_status_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (consent_status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consent_status_max_fieldsObservableChain & {get: <R extends consent_status_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_max_fields, R> | undefined)) => Observable<(FieldsSelection<consent_status_max_fields, R> | undefined)>}),
    min: (consent_status_min_fieldsObservableChain & {get: <R extends consent_status_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_min_fields, R> | undefined)) => Observable<(FieldsSelection<consent_status_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface consent_status_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_status_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_status_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_status_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "consent_status" */
export interface consent_status_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>})
}


/** response of any mutation on the table "consent_status" */
export interface consent_status_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>})
}


/** columns and relationships of "consent_template_to_template" */
export interface consent_template_to_templatePromiseChain{
    
/** An object relationship */
consent_template: (consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>) => Promise<FieldsSelection<consent_templates, R>>}),
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>})
}


/** columns and relationships of "consent_template_to_template" */
export interface consent_template_to_templateObservableChain{
    
/** An object relationship */
consent_template: (consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>) => Observable<FieldsSelection<consent_templates, R>>}),
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>})
}


/** aggregated selection of "consent_template_to_template" */
export interface consent_template_to_template_aggregatePromiseChain{
    aggregate: (consent_template_to_template_aggregate_fieldsPromiseChain & {get: <R extends consent_template_to_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})
}


/** aggregated selection of "consent_template_to_template" */
export interface consent_template_to_template_aggregateObservableChain{
    aggregate: (consent_template_to_template_aggregate_fieldsObservableChain & {get: <R extends consent_template_to_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})
}


/** aggregate fields of "consent_template_to_template" */
export interface consent_template_to_template_aggregate_fieldsPromiseChain{
    avg: (consent_template_to_template_avg_fieldsPromiseChain & {get: <R extends consent_template_to_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_avg_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_template_to_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consent_template_to_template_max_fieldsPromiseChain & {get: <R extends consent_template_to_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_max_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_max_fields, R> | undefined)>}),
    min: (consent_template_to_template_min_fieldsPromiseChain & {get: <R extends consent_template_to_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_min_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_min_fields, R> | undefined)>}),
    stddev: (consent_template_to_template_stddev_fieldsPromiseChain & {get: <R extends consent_template_to_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_template_to_template_stddev_pop_fieldsPromiseChain & {get: <R extends consent_template_to_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_template_to_template_stddev_samp_fieldsPromiseChain & {get: <R extends consent_template_to_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_template_to_template_sum_fieldsPromiseChain & {get: <R extends consent_template_to_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_sum_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_sum_fields, R> | undefined)>}),
    var_pop: (consent_template_to_template_var_pop_fieldsPromiseChain & {get: <R extends consent_template_to_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_template_to_template_var_samp_fieldsPromiseChain & {get: <R extends consent_template_to_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_var_samp_fields, R> | undefined)>}),
    variance: (consent_template_to_template_variance_fieldsPromiseChain & {get: <R extends consent_template_to_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_variance_fields, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_variance_fields, R> | undefined)>})
}


/** aggregate fields of "consent_template_to_template" */
export interface consent_template_to_template_aggregate_fieldsObservableChain{
    avg: (consent_template_to_template_avg_fieldsObservableChain & {get: <R extends consent_template_to_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_avg_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_template_to_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consent_template_to_template_max_fieldsObservableChain & {get: <R extends consent_template_to_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_max_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_max_fields, R> | undefined)>}),
    min: (consent_template_to_template_min_fieldsObservableChain & {get: <R extends consent_template_to_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_min_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_min_fields, R> | undefined)>}),
    stddev: (consent_template_to_template_stddev_fieldsObservableChain & {get: <R extends consent_template_to_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_template_to_template_stddev_pop_fieldsObservableChain & {get: <R extends consent_template_to_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_template_to_template_stddev_samp_fieldsObservableChain & {get: <R extends consent_template_to_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_template_to_template_sum_fieldsObservableChain & {get: <R extends consent_template_to_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_sum_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_sum_fields, R> | undefined)>}),
    var_pop: (consent_template_to_template_var_pop_fieldsObservableChain & {get: <R extends consent_template_to_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_template_to_template_var_samp_fieldsObservableChain & {get: <R extends consent_template_to_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_var_samp_fields, R> | undefined)>}),
    variance: (consent_template_to_template_variance_fieldsObservableChain & {get: <R extends consent_template_to_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_variance_fields, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface consent_template_to_template_avg_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface consent_template_to_template_avg_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_template_to_template_max_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_template_to_template_max_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_template_to_template_min_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_template_to_template_min_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "consent_template_to_template" */
export interface consent_template_to_template_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})
}


/** response of any mutation on the table "consent_template_to_template" */
export interface consent_template_to_template_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})
}


/** aggregate stddev on columns */
export interface consent_template_to_template_stddev_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface consent_template_to_template_stddev_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_template_to_template_stddev_pop_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_template_to_template_stddev_pop_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_template_to_template_stddev_samp_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_template_to_template_stddev_samp_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_template_to_template_sum_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_template_to_template_sum_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_template_to_template_var_pop_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_template_to_template_var_pop_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_template_to_template_var_samp_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_template_to_template_var_samp_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_template_to_template_variance_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_template_to_template_variance_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "consent_templates" */
export interface consent_templatesPromiseChain{
    
/** An array relationship */
consent_template_to_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An aggregate relationship */
consent_template_to_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    group: ({get: (request?: boolean|number, defaultValue?: groups_enum) => Promise<groups_enum>}),
    
/** An object relationship */
groupByGroup: (groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>) => Promise<FieldsSelection<groups, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    renew_consent: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    type: ({get: (request?: boolean|number, defaultValue?: types_enum) => Promise<types_enum>}),
    
/** An object relationship */
typeByType: (typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>) => Promise<FieldsSelection<types, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** columns and relationships of "consent_templates" */
export interface consent_templatesObservableChain{
    
/** An array relationship */
consent_template_to_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An aggregate relationship */
consent_template_to_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    group: ({get: (request?: boolean|number, defaultValue?: groups_enum) => Observable<groups_enum>}),
    
/** An object relationship */
groupByGroup: (groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>) => Observable<FieldsSelection<groups, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    renew_consent: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    type: ({get: (request?: boolean|number, defaultValue?: types_enum) => Observable<types_enum>}),
    
/** An object relationship */
typeByType: (typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>) => Observable<FieldsSelection<types, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregated selection of "consent_templates" */
export interface consent_templates_aggregatePromiseChain{
    aggregate: (consent_templates_aggregate_fieldsPromiseChain & {get: <R extends consent_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})
}


/** aggregated selection of "consent_templates" */
export interface consent_templates_aggregateObservableChain{
    aggregate: (consent_templates_aggregate_fieldsObservableChain & {get: <R extends consent_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})
}


/** aggregate fields of "consent_templates" */
export interface consent_templates_aggregate_fieldsPromiseChain{
    avg: (consent_templates_avg_fieldsPromiseChain & {get: <R extends consent_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consent_templates_max_fieldsPromiseChain & {get: <R extends consent_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_max_fields, R> | undefined)>}),
    min: (consent_templates_min_fieldsPromiseChain & {get: <R extends consent_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_min_fields, R> | undefined)>}),
    stddev: (consent_templates_stddev_fieldsPromiseChain & {get: <R extends consent_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_templates_stddev_pop_fieldsPromiseChain & {get: <R extends consent_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_templates_stddev_samp_fieldsPromiseChain & {get: <R extends consent_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_templates_sum_fieldsPromiseChain & {get: <R extends consent_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_sum_fields, R> | undefined)>}),
    var_pop: (consent_templates_var_pop_fieldsPromiseChain & {get: <R extends consent_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_templates_var_samp_fieldsPromiseChain & {get: <R extends consent_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_var_samp_fields, R> | undefined)>}),
    variance: (consent_templates_variance_fieldsPromiseChain & {get: <R extends consent_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<consent_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "consent_templates" */
export interface consent_templates_aggregate_fieldsObservableChain{
    avg: (consent_templates_avg_fieldsObservableChain & {get: <R extends consent_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consent_templates_max_fieldsObservableChain & {get: <R extends consent_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_max_fields, R> | undefined)>}),
    min: (consent_templates_min_fieldsObservableChain & {get: <R extends consent_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_min_fields, R> | undefined)>}),
    stddev: (consent_templates_stddev_fieldsObservableChain & {get: <R extends consent_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (consent_templates_stddev_pop_fieldsObservableChain & {get: <R extends consent_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consent_templates_stddev_samp_fieldsObservableChain & {get: <R extends consent_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (consent_templates_sum_fieldsObservableChain & {get: <R extends consent_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_sum_fields, R> | undefined)>}),
    var_pop: (consent_templates_var_pop_fieldsObservableChain & {get: <R extends consent_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (consent_templates_var_samp_fieldsObservableChain & {get: <R extends consent_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_var_samp_fields, R> | undefined)>}),
    variance: (consent_templates_variance_fieldsObservableChain & {get: <R extends consent_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<consent_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface consent_templates_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface consent_templates_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_templates_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate max on columns */
export interface consent_templates_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_templates_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface consent_templates_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** response of any mutation on the table "consent_templates" */
export interface consent_templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})
}


/** response of any mutation on the table "consent_templates" */
export interface consent_templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})
}


/** aggregate stddev on columns */
export interface consent_templates_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface consent_templates_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_templates_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consent_templates_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_templates_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consent_templates_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_templates_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface consent_templates_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_templates_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consent_templates_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_templates_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consent_templates_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_templates_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consent_templates_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "consents" */
export interface consentsPromiseChain{
    accepted: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_parcel: (artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** An object relationship */
consent_status: (consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>) => Promise<FieldsSelection<consent_status, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    group: ({get: (request?: boolean|number, defaultValue?: groups_enum) => Promise<groups_enum>}),
    
/** An object relationship */
groupByGroup: (groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>) => Promise<FieldsSelection<groups, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    renew_consent: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    status: ({get: (request?: boolean|number, defaultValue?: consent_status_enum) => Promise<consent_status_enum>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    type: ({get: (request?: boolean|number, defaultValue?: types_enum) => Promise<types_enum>}),
    
/** An object relationship */
typeByType: (typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>) => Promise<FieldsSelection<types, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** columns and relationships of "consents" */
export interface consentsObservableChain{
    accepted: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_parcel: (artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
consent_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** An aggregate relationship */
consent_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** An object relationship */
consent_status: (consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>) => Observable<FieldsSelection<consent_status, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    group: ({get: (request?: boolean|number, defaultValue?: groups_enum) => Observable<groups_enum>}),
    
/** An object relationship */
groupByGroup: (groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>) => Observable<FieldsSelection<groups, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    renew_consent: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    status: ({get: (request?: boolean|number, defaultValue?: consent_status_enum) => Observable<consent_status_enum>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    type: ({get: (request?: boolean|number, defaultValue?: types_enum) => Observable<types_enum>}),
    
/** An object relationship */
typeByType: (typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>) => Observable<FieldsSelection<types, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregated selection of "consents" */
export interface consents_aggregatePromiseChain{
    aggregate: (consents_aggregate_fieldsPromiseChain & {get: <R extends consents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<consents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})
}


/** aggregated selection of "consents" */
export interface consents_aggregateObservableChain{
    aggregate: (consents_aggregate_fieldsObservableChain & {get: <R extends consents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<consents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})
}


/** aggregate fields of "consents" */
export interface consents_aggregate_fieldsPromiseChain{
    avg: (consents_avg_fieldsPromiseChain & {get: <R extends consents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_avg_fields, R> | undefined)) => Promise<(FieldsSelection<consents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (consents_max_fieldsPromiseChain & {get: <R extends consents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_max_fields, R> | undefined)) => Promise<(FieldsSelection<consents_max_fields, R> | undefined)>}),
    min: (consents_min_fieldsPromiseChain & {get: <R extends consents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_min_fields, R> | undefined)) => Promise<(FieldsSelection<consents_min_fields, R> | undefined)>}),
    stddev: (consents_stddev_fieldsPromiseChain & {get: <R extends consents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<consents_stddev_fields, R> | undefined)>}),
    stddev_pop: (consents_stddev_pop_fieldsPromiseChain & {get: <R extends consents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consents_stddev_samp_fieldsPromiseChain & {get: <R extends consents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consents_stddev_samp_fields, R> | undefined)>}),
    sum: (consents_sum_fieldsPromiseChain & {get: <R extends consents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_sum_fields, R> | undefined)) => Promise<(FieldsSelection<consents_sum_fields, R> | undefined)>}),
    var_pop: (consents_var_pop_fieldsPromiseChain & {get: <R extends consents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<consents_var_pop_fields, R> | undefined)>}),
    var_samp: (consents_var_samp_fieldsPromiseChain & {get: <R extends consents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<consents_var_samp_fields, R> | undefined)>}),
    variance: (consents_variance_fieldsPromiseChain & {get: <R extends consents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_variance_fields, R> | undefined)) => Promise<(FieldsSelection<consents_variance_fields, R> | undefined)>})
}


/** aggregate fields of "consents" */
export interface consents_aggregate_fieldsObservableChain{
    avg: (consents_avg_fieldsObservableChain & {get: <R extends consents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_avg_fields, R> | undefined)) => Observable<(FieldsSelection<consents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (consents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (consents_max_fieldsObservableChain & {get: <R extends consents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_max_fields, R> | undefined)) => Observable<(FieldsSelection<consents_max_fields, R> | undefined)>}),
    min: (consents_min_fieldsObservableChain & {get: <R extends consents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_min_fields, R> | undefined)) => Observable<(FieldsSelection<consents_min_fields, R> | undefined)>}),
    stddev: (consents_stddev_fieldsObservableChain & {get: <R extends consents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<consents_stddev_fields, R> | undefined)>}),
    stddev_pop: (consents_stddev_pop_fieldsObservableChain & {get: <R extends consents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (consents_stddev_samp_fieldsObservableChain & {get: <R extends consents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consents_stddev_samp_fields, R> | undefined)>}),
    sum: (consents_sum_fieldsObservableChain & {get: <R extends consents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_sum_fields, R> | undefined)) => Observable<(FieldsSelection<consents_sum_fields, R> | undefined)>}),
    var_pop: (consents_var_pop_fieldsObservableChain & {get: <R extends consents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<consents_var_pop_fields, R> | undefined)>}),
    var_samp: (consents_var_samp_fieldsObservableChain & {get: <R extends consents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<consents_var_samp_fields, R> | undefined)>}),
    variance: (consents_variance_fieldsObservableChain & {get: <R extends consents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<consents_variance_fields, R> | undefined)) => Observable<(FieldsSelection<consents_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface consents_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface consents_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface consents_max_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate max on columns */
export interface consents_max_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface consents_min_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface consents_min_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** response of any mutation on the table "consents" */
export interface consents_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})
}


/** response of any mutation on the table "consents" */
export interface consents_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})
}


/** aggregate stddev on columns */
export interface consents_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface consents_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consents_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface consents_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consents_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface consents_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface consents_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>})
}


/** aggregate sum on columns */
export interface consents_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consents_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface consents_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consents_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface consents_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consents_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface consents_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "context_group_context" */
export interface context_group_contextPromiseChain{
    
/** An object relationship */
context: (contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>) => Promise<FieldsSelection<contexts, R>>}),
    context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An object relationship */
group_context: (group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>) => Promise<FieldsSelection<group_context, R>>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "context_group_context" */
export interface context_group_contextObservableChain{
    
/** An object relationship */
context: (contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>) => Observable<FieldsSelection<contexts, R>>}),
    context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An object relationship */
group_context: (group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>) => Observable<FieldsSelection<group_context, R>>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "context_group_context" */
export interface context_group_context_aggregatePromiseChain{
    aggregate: (context_group_context_aggregate_fieldsPromiseChain & {get: <R extends context_group_context_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<context_group_context_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})
}


/** aggregated selection of "context_group_context" */
export interface context_group_context_aggregateObservableChain{
    aggregate: (context_group_context_aggregate_fieldsObservableChain & {get: <R extends context_group_context_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<context_group_context_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})
}


/** aggregate fields of "context_group_context" */
export interface context_group_context_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (context_group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (context_group_context_max_fieldsPromiseChain & {get: <R extends context_group_context_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_max_fields, R> | undefined)) => Promise<(FieldsSelection<context_group_context_max_fields, R> | undefined)>}),
    min: (context_group_context_min_fieldsPromiseChain & {get: <R extends context_group_context_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_min_fields, R> | undefined)) => Promise<(FieldsSelection<context_group_context_min_fields, R> | undefined)>})
}


/** aggregate fields of "context_group_context" */
export interface context_group_context_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (context_group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (context_group_context_max_fieldsObservableChain & {get: <R extends context_group_context_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_max_fields, R> | undefined)) => Observable<(FieldsSelection<context_group_context_max_fields, R> | undefined)>}),
    min: (context_group_context_min_fieldsObservableChain & {get: <R extends context_group_context_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_min_fields, R> | undefined)) => Observable<(FieldsSelection<context_group_context_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface context_group_context_max_fieldsPromiseChain{
    context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface context_group_context_max_fieldsObservableChain{
    context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface context_group_context_min_fieldsPromiseChain{
    context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface context_group_context_min_fieldsObservableChain{
    context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "context_group_context" */
export interface context_group_context_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})
}


/** response of any mutation on the table "context_group_context" */
export interface context_group_context_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})
}


/** columns and relationships of "contexts" */
export interface contextsPromiseChain{
    
/** An array relationship */
context_group_contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>}),
    
/** An aggregate relationship */
context_group_contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** [deprecated] checks whether exists at least one template of given context with flag user_context_me */
is_user_context_me: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>})&(templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "contexts" */
export interface contextsObservableChain{
    
/** An array relationship */
context_group_contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>}),
    
/** An aggregate relationship */
context_group_contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** [deprecated] checks whether exists at least one template of given context with flag user_context_me */
is_user_context_me: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>})&(templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregated selection of "contexts" */
export interface contexts_aggregatePromiseChain{
    aggregate: (contexts_aggregate_fieldsPromiseChain & {get: <R extends contexts_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>})
}


/** aggregated selection of "contexts" */
export interface contexts_aggregateObservableChain{
    aggregate: (contexts_aggregate_fieldsObservableChain & {get: <R extends contexts_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>})
}


/** aggregate fields of "contexts" */
export interface contexts_aggregate_fieldsPromiseChain{
    avg: (contexts_avg_fieldsPromiseChain & {get: <R extends contexts_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_avg_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (contexts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (contexts_max_fieldsPromiseChain & {get: <R extends contexts_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_max_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_max_fields, R> | undefined)>}),
    min: (contexts_min_fieldsPromiseChain & {get: <R extends contexts_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_min_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_min_fields, R> | undefined)>}),
    stddev: (contexts_stddev_fieldsPromiseChain & {get: <R extends contexts_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_stddev_fields, R> | undefined)>}),
    stddev_pop: (contexts_stddev_pop_fieldsPromiseChain & {get: <R extends contexts_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (contexts_stddev_samp_fieldsPromiseChain & {get: <R extends contexts_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_stddev_samp_fields, R> | undefined)>}),
    sum: (contexts_sum_fieldsPromiseChain & {get: <R extends contexts_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_sum_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_sum_fields, R> | undefined)>}),
    var_pop: (contexts_var_pop_fieldsPromiseChain & {get: <R extends contexts_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_var_pop_fields, R> | undefined)>}),
    var_samp: (contexts_var_samp_fieldsPromiseChain & {get: <R extends contexts_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_var_samp_fields, R> | undefined)>}),
    variance: (contexts_variance_fieldsPromiseChain & {get: <R extends contexts_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_variance_fields, R> | undefined)) => Promise<(FieldsSelection<contexts_variance_fields, R> | undefined)>})
}


/** aggregate fields of "contexts" */
export interface contexts_aggregate_fieldsObservableChain{
    avg: (contexts_avg_fieldsObservableChain & {get: <R extends contexts_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_avg_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (contexts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (contexts_max_fieldsObservableChain & {get: <R extends contexts_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_max_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_max_fields, R> | undefined)>}),
    min: (contexts_min_fieldsObservableChain & {get: <R extends contexts_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_min_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_min_fields, R> | undefined)>}),
    stddev: (contexts_stddev_fieldsObservableChain & {get: <R extends contexts_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_stddev_fields, R> | undefined)>}),
    stddev_pop: (contexts_stddev_pop_fieldsObservableChain & {get: <R extends contexts_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (contexts_stddev_samp_fieldsObservableChain & {get: <R extends contexts_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_stddev_samp_fields, R> | undefined)>}),
    sum: (contexts_sum_fieldsObservableChain & {get: <R extends contexts_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_sum_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_sum_fields, R> | undefined)>}),
    var_pop: (contexts_var_pop_fieldsObservableChain & {get: <R extends contexts_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_var_pop_fields, R> | undefined)>}),
    var_samp: (contexts_var_samp_fieldsObservableChain & {get: <R extends contexts_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_var_samp_fields, R> | undefined)>}),
    variance: (contexts_variance_fieldsObservableChain & {get: <R extends contexts_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<contexts_variance_fields, R> | undefined)) => Observable<(FieldsSelection<contexts_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface contexts_avg_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate avg on columns */
export interface contexts_avg_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface contexts_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface contexts_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface contexts_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface contexts_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "contexts" */
export interface contexts_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>})
}


/** response of any mutation on the table "contexts" */
export interface contexts_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>})
}


/** aggregate stddev on columns */
export interface contexts_stddev_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev on columns */
export interface contexts_stddev_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface contexts_stddev_pop_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface contexts_stddev_pop_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface contexts_stddev_samp_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface contexts_stddev_samp_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface contexts_sum_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface contexts_sum_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface contexts_var_pop_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface contexts_var_pop_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface contexts_var_samp_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface contexts_var_samp_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate variance on columns */
export interface contexts_variance_fieldsPromiseChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate variance on columns */
export interface contexts_variance_fieldsObservableChain{
    
/** A computed field, executes function "templates_count" */
templates_count: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "custom_db_nodes" */
export interface custom_db_nodesPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    value: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "custom_db_nodes" */
export interface custom_db_nodesObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    value: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "custom_db_nodes" */
export interface custom_db_nodes_aggregatePromiseChain{
    aggregate: (custom_db_nodes_aggregate_fieldsPromiseChain & {get: <R extends custom_db_nodes_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>})
}


/** aggregated selection of "custom_db_nodes" */
export interface custom_db_nodes_aggregateObservableChain{
    aggregate: (custom_db_nodes_aggregate_fieldsObservableChain & {get: <R extends custom_db_nodes_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>})
}


/** aggregate fields of "custom_db_nodes" */
export interface custom_db_nodes_aggregate_fieldsPromiseChain{
    avg: (custom_db_nodes_avg_fieldsPromiseChain & {get: <R extends custom_db_nodes_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_avg_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (custom_db_nodes_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (custom_db_nodes_max_fieldsPromiseChain & {get: <R extends custom_db_nodes_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_max_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_max_fields, R> | undefined)>}),
    min: (custom_db_nodes_min_fieldsPromiseChain & {get: <R extends custom_db_nodes_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_min_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_min_fields, R> | undefined)>}),
    stddev: (custom_db_nodes_stddev_fieldsPromiseChain & {get: <R extends custom_db_nodes_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_stddev_fields, R> | undefined)>}),
    stddev_pop: (custom_db_nodes_stddev_pop_fieldsPromiseChain & {get: <R extends custom_db_nodes_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (custom_db_nodes_stddev_samp_fieldsPromiseChain & {get: <R extends custom_db_nodes_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_stddev_samp_fields, R> | undefined)>}),
    sum: (custom_db_nodes_sum_fieldsPromiseChain & {get: <R extends custom_db_nodes_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_sum_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_sum_fields, R> | undefined)>}),
    var_pop: (custom_db_nodes_var_pop_fieldsPromiseChain & {get: <R extends custom_db_nodes_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_var_pop_fields, R> | undefined)>}),
    var_samp: (custom_db_nodes_var_samp_fieldsPromiseChain & {get: <R extends custom_db_nodes_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_var_samp_fields, R> | undefined)>}),
    variance: (custom_db_nodes_variance_fieldsPromiseChain & {get: <R extends custom_db_nodes_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_variance_fields, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_variance_fields, R> | undefined)>})
}


/** aggregate fields of "custom_db_nodes" */
export interface custom_db_nodes_aggregate_fieldsObservableChain{
    avg: (custom_db_nodes_avg_fieldsObservableChain & {get: <R extends custom_db_nodes_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_avg_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (custom_db_nodes_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (custom_db_nodes_max_fieldsObservableChain & {get: <R extends custom_db_nodes_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_max_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_max_fields, R> | undefined)>}),
    min: (custom_db_nodes_min_fieldsObservableChain & {get: <R extends custom_db_nodes_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_min_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_min_fields, R> | undefined)>}),
    stddev: (custom_db_nodes_stddev_fieldsObservableChain & {get: <R extends custom_db_nodes_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_stddev_fields, R> | undefined)>}),
    stddev_pop: (custom_db_nodes_stddev_pop_fieldsObservableChain & {get: <R extends custom_db_nodes_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (custom_db_nodes_stddev_samp_fieldsObservableChain & {get: <R extends custom_db_nodes_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_stddev_samp_fields, R> | undefined)>}),
    sum: (custom_db_nodes_sum_fieldsObservableChain & {get: <R extends custom_db_nodes_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_sum_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_sum_fields, R> | undefined)>}),
    var_pop: (custom_db_nodes_var_pop_fieldsObservableChain & {get: <R extends custom_db_nodes_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_var_pop_fields, R> | undefined)>}),
    var_samp: (custom_db_nodes_var_samp_fieldsObservableChain & {get: <R extends custom_db_nodes_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_var_samp_fields, R> | undefined)>}),
    variance: (custom_db_nodes_variance_fieldsObservableChain & {get: <R extends custom_db_nodes_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_variance_fields, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface custom_db_nodes_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface custom_db_nodes_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface custom_db_nodes_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface custom_db_nodes_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface custom_db_nodes_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface custom_db_nodes_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    value_old: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "custom_db_nodes" */
export interface custom_db_nodes_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>})
}


/** response of any mutation on the table "custom_db_nodes" */
export interface custom_db_nodes_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>})
}


/** aggregate stddev on columns */
export interface custom_db_nodes_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface custom_db_nodes_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface custom_db_nodes_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface custom_db_nodes_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface custom_db_nodes_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface custom_db_nodes_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface custom_db_nodes_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface custom_db_nodes_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface custom_db_nodes_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface custom_db_nodes_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface custom_db_nodes_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface custom_db_nodes_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface custom_db_nodes_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface custom_db_nodes_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "directory_customers" */
export interface directory_customersPromiseChain{
    connector: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "directory_customers" */
export interface directory_customersObservableChain{
    connector: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "directory_customers" */
export interface directory_customers_aggregatePromiseChain{
    aggregate: (directory_customers_aggregate_fieldsPromiseChain & {get: <R extends directory_customers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_customers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>})
}


/** aggregated selection of "directory_customers" */
export interface directory_customers_aggregateObservableChain{
    aggregate: (directory_customers_aggregate_fieldsObservableChain & {get: <R extends directory_customers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_customers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>})
}


/** aggregate fields of "directory_customers" */
export interface directory_customers_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_customers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (directory_customers_max_fieldsPromiseChain & {get: <R extends directory_customers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_customers_max_fields, R> | undefined)>}),
    min: (directory_customers_min_fieldsPromiseChain & {get: <R extends directory_customers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_customers_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_customers" */
export interface directory_customers_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_customers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (directory_customers_max_fieldsObservableChain & {get: <R extends directory_customers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_customers_max_fields, R> | undefined)>}),
    min: (directory_customers_min_fieldsObservableChain & {get: <R extends directory_customers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_customers_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface directory_customers_max_fieldsPromiseChain{
    connector: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface directory_customers_max_fieldsObservableChain{
    connector: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_customers_min_fieldsPromiseChain{
    connector: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_customers_min_fieldsObservableChain{
    connector: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "directory_customers" */
export interface directory_customers_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>})
}


/** response of any mutation on the table "directory_customers" */
export interface directory_customers_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>})
}


/** columns and relationships of "directory_user_name" */
export interface directory_user_namePromiseChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "directory_user_name" */
export interface directory_user_nameObservableChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "directory_user_name" */
export interface directory_user_name_aggregatePromiseChain{
    aggregate: (directory_user_name_aggregate_fieldsPromiseChain & {get: <R extends directory_user_name_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>})
}


/** aggregated selection of "directory_user_name" */
export interface directory_user_name_aggregateObservableChain{
    aggregate: (directory_user_name_aggregate_fieldsObservableChain & {get: <R extends directory_user_name_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>})
}


/** aggregate fields of "directory_user_name" */
export interface directory_user_name_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_user_name_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (directory_user_name_max_fieldsPromiseChain & {get: <R extends directory_user_name_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_max_fields, R> | undefined)>}),
    min: (directory_user_name_min_fieldsPromiseChain & {get: <R extends directory_user_name_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_user_name" */
export interface directory_user_name_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_user_name_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (directory_user_name_max_fieldsObservableChain & {get: <R extends directory_user_name_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_max_fields, R> | undefined)>}),
    min: (directory_user_name_min_fieldsObservableChain & {get: <R extends directory_user_name_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface directory_user_name_max_fieldsPromiseChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface directory_user_name_max_fieldsObservableChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_user_name_min_fieldsPromiseChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_user_name_min_fieldsObservableChain{
    first_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    last_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    middle_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "directory_user_name" */
export interface directory_user_name_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>})
}


/** response of any mutation on the table "directory_user_name" */
export interface directory_user_name_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>})
}


/** columns and relationships of "document_patient" */
export interface document_patientPromiseChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directory_user_name_patient_id: (directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An object relationship */
document: (documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>) => Promise<FieldsSelection<documents, R>>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    imported_to_epr: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    scroll_mode: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
securityLevelBySecurityLevel: (security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen_by_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "document_patient" */
export interface document_patientObservableChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directory_user_name_patient_id: (directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An object relationship */
document: (documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>) => Observable<FieldsSelection<documents, R>>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    imported_to_epr: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    scroll_mode: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
securityLevelBySecurityLevel: (security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen_by_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "document_patient" */
export interface document_patient_aggregatePromiseChain{
    aggregate: (document_patient_aggregate_fieldsPromiseChain & {get: <R extends document_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})
}


/** aggregated selection of "document_patient" */
export interface document_patient_aggregateObservableChain{
    aggregate: (document_patient_aggregate_fieldsObservableChain & {get: <R extends document_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})
}


/** aggregate fields of "document_patient" */
export interface document_patient_aggregate_fieldsPromiseChain{
    avg: (document_patient_avg_fieldsPromiseChain & {get: <R extends document_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_avg_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (document_patient_max_fieldsPromiseChain & {get: <R extends document_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_max_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_max_fields, R> | undefined)>}),
    min: (document_patient_min_fieldsPromiseChain & {get: <R extends document_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_min_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_min_fields, R> | undefined)>}),
    stddev: (document_patient_stddev_fieldsPromiseChain & {get: <R extends document_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (document_patient_stddev_pop_fieldsPromiseChain & {get: <R extends document_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (document_patient_stddev_samp_fieldsPromiseChain & {get: <R extends document_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (document_patient_sum_fieldsPromiseChain & {get: <R extends document_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_sum_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_sum_fields, R> | undefined)>}),
    var_pop: (document_patient_var_pop_fieldsPromiseChain & {get: <R extends document_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (document_patient_var_samp_fieldsPromiseChain & {get: <R extends document_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_var_samp_fields, R> | undefined)>}),
    variance: (document_patient_variance_fieldsPromiseChain & {get: <R extends document_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_variance_fields, R> | undefined)) => Promise<(FieldsSelection<document_patient_variance_fields, R> | undefined)>})
}


/** aggregate fields of "document_patient" */
export interface document_patient_aggregate_fieldsObservableChain{
    avg: (document_patient_avg_fieldsObservableChain & {get: <R extends document_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_avg_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (document_patient_max_fieldsObservableChain & {get: <R extends document_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_max_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_max_fields, R> | undefined)>}),
    min: (document_patient_min_fieldsObservableChain & {get: <R extends document_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_min_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_min_fields, R> | undefined)>}),
    stddev: (document_patient_stddev_fieldsObservableChain & {get: <R extends document_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (document_patient_stddev_pop_fieldsObservableChain & {get: <R extends document_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (document_patient_stddev_samp_fieldsObservableChain & {get: <R extends document_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (document_patient_sum_fieldsObservableChain & {get: <R extends document_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_sum_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_sum_fields, R> | undefined)>}),
    var_pop: (document_patient_var_pop_fieldsObservableChain & {get: <R extends document_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (document_patient_var_samp_fieldsObservableChain & {get: <R extends document_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_var_samp_fields, R> | undefined)>}),
    variance: (document_patient_variance_fieldsObservableChain & {get: <R extends document_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_variance_fields, R> | undefined)) => Observable<(FieldsSelection<document_patient_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface document_patient_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface document_patient_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface document_patient_max_fieldsPromiseChain{
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface document_patient_max_fieldsObservableChain{
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface document_patient_min_fieldsPromiseChain{
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface document_patient_min_fieldsObservableChain{
    actno: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    category: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    delete_comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    pades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_request_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signicat_task_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    xades_path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "document_patient" */
export interface document_patient_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})
}


/** response of any mutation on the table "document_patient" */
export interface document_patient_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})
}


/** aggregate stddev on columns */
export interface document_patient_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface document_patient_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface document_patient_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface document_patient_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface document_patient_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface document_patient_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface document_patient_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface document_patient_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface document_patient_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface document_patient_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface document_patient_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface document_patient_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface document_patient_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface document_patient_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "document_sms" */
export interface document_smsPromiseChain{
    
/** An object relationship */
document: (documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>) => Promise<FieldsSelection<documents, R>>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
sm: (smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>) => Promise<FieldsSelection<sms, R>>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>})
}


/** columns and relationships of "document_sms" */
export interface document_smsObservableChain{
    
/** An object relationship */
document: (documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>) => Observable<FieldsSelection<documents, R>>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
sm: (smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>) => Observable<FieldsSelection<sms, R>>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>})
}


/** aggregated selection of "document_sms" */
export interface document_sms_aggregatePromiseChain{
    aggregate: (document_sms_aggregate_fieldsPromiseChain & {get: <R extends document_sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})
}


/** aggregated selection of "document_sms" */
export interface document_sms_aggregateObservableChain{
    aggregate: (document_sms_aggregate_fieldsObservableChain & {get: <R extends document_sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})
}


/** aggregate fields of "document_sms" */
export interface document_sms_aggregate_fieldsPromiseChain{
    avg: (document_sms_avg_fieldsPromiseChain & {get: <R extends document_sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_avg_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (document_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (document_sms_max_fieldsPromiseChain & {get: <R extends document_sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_max_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_max_fields, R> | undefined)>}),
    min: (document_sms_min_fieldsPromiseChain & {get: <R extends document_sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_min_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_min_fields, R> | undefined)>}),
    stddev: (document_sms_stddev_fieldsPromiseChain & {get: <R extends document_sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (document_sms_stddev_pop_fieldsPromiseChain & {get: <R extends document_sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (document_sms_stddev_samp_fieldsPromiseChain & {get: <R extends document_sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_stddev_samp_fields, R> | undefined)>}),
    sum: (document_sms_sum_fieldsPromiseChain & {get: <R extends document_sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_sum_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_sum_fields, R> | undefined)>}),
    var_pop: (document_sms_var_pop_fieldsPromiseChain & {get: <R extends document_sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_var_pop_fields, R> | undefined)>}),
    var_samp: (document_sms_var_samp_fieldsPromiseChain & {get: <R extends document_sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_var_samp_fields, R> | undefined)>}),
    variance: (document_sms_variance_fieldsPromiseChain & {get: <R extends document_sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_variance_fields, R> | undefined)) => Promise<(FieldsSelection<document_sms_variance_fields, R> | undefined)>})
}


/** aggregate fields of "document_sms" */
export interface document_sms_aggregate_fieldsObservableChain{
    avg: (document_sms_avg_fieldsObservableChain & {get: <R extends document_sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_avg_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (document_sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (document_sms_max_fieldsObservableChain & {get: <R extends document_sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_max_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_max_fields, R> | undefined)>}),
    min: (document_sms_min_fieldsObservableChain & {get: <R extends document_sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_min_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_min_fields, R> | undefined)>}),
    stddev: (document_sms_stddev_fieldsObservableChain & {get: <R extends document_sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (document_sms_stddev_pop_fieldsObservableChain & {get: <R extends document_sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (document_sms_stddev_samp_fieldsObservableChain & {get: <R extends document_sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_stddev_samp_fields, R> | undefined)>}),
    sum: (document_sms_sum_fieldsObservableChain & {get: <R extends document_sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_sum_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_sum_fields, R> | undefined)>}),
    var_pop: (document_sms_var_pop_fieldsObservableChain & {get: <R extends document_sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_var_pop_fields, R> | undefined)>}),
    var_samp: (document_sms_var_samp_fieldsObservableChain & {get: <R extends document_sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_var_samp_fields, R> | undefined)>}),
    variance: (document_sms_variance_fieldsObservableChain & {get: <R extends document_sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_variance_fields, R> | undefined)) => Observable<(FieldsSelection<document_sms_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface document_sms_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface document_sms_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface document_sms_max_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface document_sms_max_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface document_sms_min_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface document_sms_min_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "document_sms" */
export interface document_sms_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})
}


/** response of any mutation on the table "document_sms" */
export interface document_sms_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})
}


/** aggregate stddev on columns */
export interface document_sms_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface document_sms_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface document_sms_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface document_sms_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface document_sms_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface document_sms_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface document_sms_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface document_sms_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface document_sms_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface document_sms_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface document_sms_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface document_sms_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface document_sms_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface document_sms_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "documents" */
export interface documentsPromiseChain{
    
/** An object relationship */
artifact_parcel: (artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    combine_signatures: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name_upload_patient_id: (directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
queries: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** An object relationship */
queries_log: (queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    signed_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "documents" */
export interface documentsObservableChain{
    
/** An object relationship */
artifact_parcel: (artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    combine_signatures: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name_upload_patient_id: (directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
queries: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** An object relationship */
queries_log: (queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    signed_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "documents" */
export interface documents_aggregatePromiseChain{
    aggregate: (documents_aggregate_fieldsPromiseChain & {get: <R extends documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>})
}


/** aggregated selection of "documents" */
export interface documents_aggregateObservableChain{
    aggregate: (documents_aggregate_fieldsObservableChain & {get: <R extends documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>})
}


/** aggregate fields of "documents" */
export interface documents_aggregate_fieldsPromiseChain{
    avg: (documents_avg_fieldsPromiseChain & {get: <R extends documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_avg_fields, R> | undefined)) => Promise<(FieldsSelection<documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (documents_max_fieldsPromiseChain & {get: <R extends documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_max_fields, R> | undefined)) => Promise<(FieldsSelection<documents_max_fields, R> | undefined)>}),
    min: (documents_min_fieldsPromiseChain & {get: <R extends documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_min_fields, R> | undefined)) => Promise<(FieldsSelection<documents_min_fields, R> | undefined)>}),
    stddev: (documents_stddev_fieldsPromiseChain & {get: <R extends documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (documents_stddev_pop_fieldsPromiseChain & {get: <R extends documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (documents_stddev_samp_fieldsPromiseChain & {get: <R extends documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<documents_stddev_samp_fields, R> | undefined)>}),
    sum: (documents_sum_fieldsPromiseChain & {get: <R extends documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_sum_fields, R> | undefined)) => Promise<(FieldsSelection<documents_sum_fields, R> | undefined)>}),
    var_pop: (documents_var_pop_fieldsPromiseChain & {get: <R extends documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<documents_var_pop_fields, R> | undefined)>}),
    var_samp: (documents_var_samp_fieldsPromiseChain & {get: <R extends documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<documents_var_samp_fields, R> | undefined)>}),
    variance: (documents_variance_fieldsPromiseChain & {get: <R extends documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_variance_fields, R> | undefined)) => Promise<(FieldsSelection<documents_variance_fields, R> | undefined)>})
}


/** aggregate fields of "documents" */
export interface documents_aggregate_fieldsObservableChain{
    avg: (documents_avg_fieldsObservableChain & {get: <R extends documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_avg_fields, R> | undefined)) => Observable<(FieldsSelection<documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (documents_max_fieldsObservableChain & {get: <R extends documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_max_fields, R> | undefined)) => Observable<(FieldsSelection<documents_max_fields, R> | undefined)>}),
    min: (documents_min_fieldsObservableChain & {get: <R extends documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_min_fields, R> | undefined)) => Observable<(FieldsSelection<documents_min_fields, R> | undefined)>}),
    stddev: (documents_stddev_fieldsObservableChain & {get: <R extends documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (documents_stddev_pop_fieldsObservableChain & {get: <R extends documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (documents_stddev_samp_fieldsObservableChain & {get: <R extends documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<documents_stddev_samp_fields, R> | undefined)>}),
    sum: (documents_sum_fieldsObservableChain & {get: <R extends documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_sum_fields, R> | undefined)) => Observable<(FieldsSelection<documents_sum_fields, R> | undefined)>}),
    var_pop: (documents_var_pop_fieldsObservableChain & {get: <R extends documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<documents_var_pop_fields, R> | undefined)>}),
    var_samp: (documents_var_samp_fieldsObservableChain & {get: <R extends documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<documents_var_samp_fields, R> | undefined)>}),
    variance: (documents_variance_fieldsObservableChain & {get: <R extends documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_variance_fields, R> | undefined)) => Observable<(FieldsSelection<documents_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface documents_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface documents_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface documents_max_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface documents_max_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface documents_min_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface documents_min_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "documents" */
export interface documents_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>})
}


/** response of any mutation on the table "documents" */
export interface documents_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>})
}


/** columns and relationships of "documents_overview" */
export interface documents_overviewPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "documents_overview" */
export interface documents_overviewObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregated selection of "documents_overview" */
export interface documents_overview_aggregatePromiseChain{
    aggregate: (documents_overview_aggregate_fieldsPromiseChain & {get: <R extends documents_overview_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>})
}


/** aggregated selection of "documents_overview" */
export interface documents_overview_aggregateObservableChain{
    aggregate: (documents_overview_aggregate_fieldsObservableChain & {get: <R extends documents_overview_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>})
}


/** aggregate fields of "documents_overview" */
export interface documents_overview_aggregate_fieldsPromiseChain{
    avg: (documents_overview_avg_fieldsPromiseChain & {get: <R extends documents_overview_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_avg_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (documents_overview_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (documents_overview_max_fieldsPromiseChain & {get: <R extends documents_overview_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_max_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_max_fields, R> | undefined)>}),
    min: (documents_overview_min_fieldsPromiseChain & {get: <R extends documents_overview_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_min_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_min_fields, R> | undefined)>}),
    stddev: (documents_overview_stddev_fieldsPromiseChain & {get: <R extends documents_overview_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_stddev_fields, R> | undefined)>}),
    stddev_pop: (documents_overview_stddev_pop_fieldsPromiseChain & {get: <R extends documents_overview_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (documents_overview_stddev_samp_fieldsPromiseChain & {get: <R extends documents_overview_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_stddev_samp_fields, R> | undefined)>}),
    sum: (documents_overview_sum_fieldsPromiseChain & {get: <R extends documents_overview_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_sum_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_sum_fields, R> | undefined)>}),
    var_pop: (documents_overview_var_pop_fieldsPromiseChain & {get: <R extends documents_overview_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_var_pop_fields, R> | undefined)>}),
    var_samp: (documents_overview_var_samp_fieldsPromiseChain & {get: <R extends documents_overview_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_var_samp_fields, R> | undefined)>}),
    variance: (documents_overview_variance_fieldsPromiseChain & {get: <R extends documents_overview_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_variance_fields, R> | undefined)) => Promise<(FieldsSelection<documents_overview_variance_fields, R> | undefined)>})
}


/** aggregate fields of "documents_overview" */
export interface documents_overview_aggregate_fieldsObservableChain{
    avg: (documents_overview_avg_fieldsObservableChain & {get: <R extends documents_overview_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_avg_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (documents_overview_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (documents_overview_max_fieldsObservableChain & {get: <R extends documents_overview_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_max_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_max_fields, R> | undefined)>}),
    min: (documents_overview_min_fieldsObservableChain & {get: <R extends documents_overview_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_min_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_min_fields, R> | undefined)>}),
    stddev: (documents_overview_stddev_fieldsObservableChain & {get: <R extends documents_overview_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_stddev_fields, R> | undefined)>}),
    stddev_pop: (documents_overview_stddev_pop_fieldsObservableChain & {get: <R extends documents_overview_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (documents_overview_stddev_samp_fieldsObservableChain & {get: <R extends documents_overview_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_stddev_samp_fields, R> | undefined)>}),
    sum: (documents_overview_sum_fieldsObservableChain & {get: <R extends documents_overview_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_sum_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_sum_fields, R> | undefined)>}),
    var_pop: (documents_overview_var_pop_fieldsObservableChain & {get: <R extends documents_overview_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_var_pop_fields, R> | undefined)>}),
    var_samp: (documents_overview_var_samp_fieldsObservableChain & {get: <R extends documents_overview_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_var_samp_fields, R> | undefined)>}),
    variance: (documents_overview_variance_fieldsObservableChain & {get: <R extends documents_overview_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<documents_overview_variance_fields, R> | undefined)) => Observable<(FieldsSelection<documents_overview_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface documents_overview_avg_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface documents_overview_avg_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface documents_overview_max_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface documents_overview_max_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface documents_overview_min_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface documents_overview_min_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev on columns */
export interface documents_overview_stddev_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface documents_overview_stddev_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface documents_overview_stddev_pop_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface documents_overview_stddev_pop_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface documents_overview_stddev_samp_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface documents_overview_stddev_samp_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface documents_overview_sum_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface documents_overview_sum_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface documents_overview_var_pop_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface documents_overview_var_pop_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface documents_overview_var_samp_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface documents_overview_var_samp_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface documents_overview_variance_fieldsPromiseChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface documents_overview_variance_fieldsObservableChain{
    completed: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    shared_docs: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    waiting: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface documents_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface documents_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface documents_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface documents_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface documents_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface documents_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface documents_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface documents_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface documents_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface documents_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface documents_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface documents_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface documents_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface documents_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "event_artifact_package" */
export interface event_artifact_packagePromiseChain{
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "event_artifact_package" */
export interface event_artifact_packageObservableChain{
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "event_artifact_package" */
export interface event_artifact_package_aggregatePromiseChain{
    aggregate: (event_artifact_package_aggregate_fieldsPromiseChain & {get: <R extends event_artifact_package_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>})
}


/** aggregated selection of "event_artifact_package" */
export interface event_artifact_package_aggregateObservableChain{
    aggregate: (event_artifact_package_aggregate_fieldsObservableChain & {get: <R extends event_artifact_package_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>})
}


/** aggregate fields of "event_artifact_package" */
export interface event_artifact_package_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (event_artifact_package_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (event_artifact_package_max_fieldsPromiseChain & {get: <R extends event_artifact_package_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_max_fields, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_max_fields, R> | undefined)>}),
    min: (event_artifact_package_min_fieldsPromiseChain & {get: <R extends event_artifact_package_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_min_fields, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_min_fields, R> | undefined)>})
}


/** aggregate fields of "event_artifact_package" */
export interface event_artifact_package_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (event_artifact_package_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (event_artifact_package_max_fieldsObservableChain & {get: <R extends event_artifact_package_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_max_fields, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_max_fields, R> | undefined)>}),
    min: (event_artifact_package_min_fieldsObservableChain & {get: <R extends event_artifact_package_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_min_fields, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface event_artifact_package_max_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface event_artifact_package_max_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface event_artifact_package_min_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface event_artifact_package_min_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "event_artifact_package" */
export interface event_artifact_package_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>})
}


/** response of any mutation on the table "event_artifact_package" */
export interface event_artifact_package_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>})
}


/** deprecated use favorites table instead */
export interface favorite_templates_orderPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    order: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** deprecated use favorites table instead */
export interface favorite_templates_orderObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    order: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "favorite_templates_order" */
export interface favorite_templates_order_aggregatePromiseChain{
    aggregate: (favorite_templates_order_aggregate_fieldsPromiseChain & {get: <R extends favorite_templates_order_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>})
}


/** aggregated selection of "favorite_templates_order" */
export interface favorite_templates_order_aggregateObservableChain{
    aggregate: (favorite_templates_order_aggregate_fieldsObservableChain & {get: <R extends favorite_templates_order_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>})
}


/** aggregate fields of "favorite_templates_order" */
export interface favorite_templates_order_aggregate_fieldsPromiseChain{
    avg: (favorite_templates_order_avg_fieldsPromiseChain & {get: <R extends favorite_templates_order_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_avg_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (favorite_templates_order_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (favorite_templates_order_max_fieldsPromiseChain & {get: <R extends favorite_templates_order_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_max_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_max_fields, R> | undefined)>}),
    min: (favorite_templates_order_min_fieldsPromiseChain & {get: <R extends favorite_templates_order_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_min_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_min_fields, R> | undefined)>}),
    stddev: (favorite_templates_order_stddev_fieldsPromiseChain & {get: <R extends favorite_templates_order_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_stddev_fields, R> | undefined)>}),
    stddev_pop: (favorite_templates_order_stddev_pop_fieldsPromiseChain & {get: <R extends favorite_templates_order_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (favorite_templates_order_stddev_samp_fieldsPromiseChain & {get: <R extends favorite_templates_order_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_stddev_samp_fields, R> | undefined)>}),
    sum: (favorite_templates_order_sum_fieldsPromiseChain & {get: <R extends favorite_templates_order_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_sum_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_sum_fields, R> | undefined)>}),
    var_pop: (favorite_templates_order_var_pop_fieldsPromiseChain & {get: <R extends favorite_templates_order_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_var_pop_fields, R> | undefined)>}),
    var_samp: (favorite_templates_order_var_samp_fieldsPromiseChain & {get: <R extends favorite_templates_order_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_var_samp_fields, R> | undefined)>}),
    variance: (favorite_templates_order_variance_fieldsPromiseChain & {get: <R extends favorite_templates_order_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_variance_fields, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_variance_fields, R> | undefined)>})
}


/** aggregate fields of "favorite_templates_order" */
export interface favorite_templates_order_aggregate_fieldsObservableChain{
    avg: (favorite_templates_order_avg_fieldsObservableChain & {get: <R extends favorite_templates_order_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_avg_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (favorite_templates_order_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (favorite_templates_order_max_fieldsObservableChain & {get: <R extends favorite_templates_order_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_max_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_max_fields, R> | undefined)>}),
    min: (favorite_templates_order_min_fieldsObservableChain & {get: <R extends favorite_templates_order_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_min_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_min_fields, R> | undefined)>}),
    stddev: (favorite_templates_order_stddev_fieldsObservableChain & {get: <R extends favorite_templates_order_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_stddev_fields, R> | undefined)>}),
    stddev_pop: (favorite_templates_order_stddev_pop_fieldsObservableChain & {get: <R extends favorite_templates_order_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (favorite_templates_order_stddev_samp_fieldsObservableChain & {get: <R extends favorite_templates_order_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_stddev_samp_fields, R> | undefined)>}),
    sum: (favorite_templates_order_sum_fieldsObservableChain & {get: <R extends favorite_templates_order_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_sum_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_sum_fields, R> | undefined)>}),
    var_pop: (favorite_templates_order_var_pop_fieldsObservableChain & {get: <R extends favorite_templates_order_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_var_pop_fields, R> | undefined)>}),
    var_samp: (favorite_templates_order_var_samp_fieldsObservableChain & {get: <R extends favorite_templates_order_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_var_samp_fields, R> | undefined)>}),
    variance: (favorite_templates_order_variance_fieldsObservableChain & {get: <R extends favorite_templates_order_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_variance_fields, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface favorite_templates_order_avg_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface favorite_templates_order_avg_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface favorite_templates_order_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface favorite_templates_order_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface favorite_templates_order_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface favorite_templates_order_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "favorite_templates_order" */
export interface favorite_templates_order_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>})
}


/** response of any mutation on the table "favorite_templates_order" */
export interface favorite_templates_order_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>})
}


/** aggregate stddev on columns */
export interface favorite_templates_order_stddev_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface favorite_templates_order_stddev_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface favorite_templates_order_stddev_pop_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface favorite_templates_order_stddev_pop_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface favorite_templates_order_stddev_samp_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface favorite_templates_order_stddev_samp_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface favorite_templates_order_sum_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface favorite_templates_order_sum_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface favorite_templates_order_var_pop_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface favorite_templates_order_var_pop_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface favorite_templates_order_var_samp_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface favorite_templates_order_var_samp_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface favorite_templates_order_variance_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface favorite_templates_order_variance_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "favorites" */
export interface favoritesPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    order: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** An object relationship */
tableNameByTableName: (table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>) => Promise<FieldsSelection<table_names, R>>}),
    table_name: ({get: (request?: boolean|number, defaultValue?: table_names_enum) => Promise<table_names_enum>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "favorites" */
export interface favoritesObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    order: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** An object relationship */
tableNameByTableName: (table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>) => Observable<FieldsSelection<table_names, R>>}),
    table_name: ({get: (request?: boolean|number, defaultValue?: table_names_enum) => Observable<table_names_enum>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "favorites" */
export interface favorites_aggregatePromiseChain{
    aggregate: (favorites_aggregate_fieldsPromiseChain & {get: <R extends favorites_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>})
}


/** aggregated selection of "favorites" */
export interface favorites_aggregateObservableChain{
    aggregate: (favorites_aggregate_fieldsObservableChain & {get: <R extends favorites_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>})
}


/** aggregate fields of "favorites" */
export interface favorites_aggregate_fieldsPromiseChain{
    avg: (favorites_avg_fieldsPromiseChain & {get: <R extends favorites_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_avg_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (favorites_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (favorites_max_fieldsPromiseChain & {get: <R extends favorites_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_max_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_max_fields, R> | undefined)>}),
    min: (favorites_min_fieldsPromiseChain & {get: <R extends favorites_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_min_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_min_fields, R> | undefined)>}),
    stddev: (favorites_stddev_fieldsPromiseChain & {get: <R extends favorites_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_stddev_fields, R> | undefined)>}),
    stddev_pop: (favorites_stddev_pop_fieldsPromiseChain & {get: <R extends favorites_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (favorites_stddev_samp_fieldsPromiseChain & {get: <R extends favorites_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_stddev_samp_fields, R> | undefined)>}),
    sum: (favorites_sum_fieldsPromiseChain & {get: <R extends favorites_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_sum_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_sum_fields, R> | undefined)>}),
    var_pop: (favorites_var_pop_fieldsPromiseChain & {get: <R extends favorites_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_var_pop_fields, R> | undefined)>}),
    var_samp: (favorites_var_samp_fieldsPromiseChain & {get: <R extends favorites_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_var_samp_fields, R> | undefined)>}),
    variance: (favorites_variance_fieldsPromiseChain & {get: <R extends favorites_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_variance_fields, R> | undefined)) => Promise<(FieldsSelection<favorites_variance_fields, R> | undefined)>})
}


/** aggregate fields of "favorites" */
export interface favorites_aggregate_fieldsObservableChain{
    avg: (favorites_avg_fieldsObservableChain & {get: <R extends favorites_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_avg_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (favorites_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (favorites_max_fieldsObservableChain & {get: <R extends favorites_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_max_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_max_fields, R> | undefined)>}),
    min: (favorites_min_fieldsObservableChain & {get: <R extends favorites_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_min_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_min_fields, R> | undefined)>}),
    stddev: (favorites_stddev_fieldsObservableChain & {get: <R extends favorites_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_stddev_fields, R> | undefined)>}),
    stddev_pop: (favorites_stddev_pop_fieldsObservableChain & {get: <R extends favorites_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (favorites_stddev_samp_fieldsObservableChain & {get: <R extends favorites_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_stddev_samp_fields, R> | undefined)>}),
    sum: (favorites_sum_fieldsObservableChain & {get: <R extends favorites_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_sum_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_sum_fields, R> | undefined)>}),
    var_pop: (favorites_var_pop_fieldsObservableChain & {get: <R extends favorites_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_var_pop_fields, R> | undefined)>}),
    var_samp: (favorites_var_samp_fieldsObservableChain & {get: <R extends favorites_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_var_samp_fields, R> | undefined)>}),
    variance: (favorites_variance_fieldsObservableChain & {get: <R extends favorites_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<favorites_variance_fields, R> | undefined)) => Observable<(FieldsSelection<favorites_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface favorites_avg_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface favorites_avg_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface favorites_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface favorites_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface favorites_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface favorites_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    entity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "favorites" */
export interface favorites_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>})
}


/** response of any mutation on the table "favorites" */
export interface favorites_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>})
}


/** aggregate stddev on columns */
export interface favorites_stddev_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface favorites_stddev_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface favorites_stddev_pop_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface favorites_stddev_pop_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface favorites_stddev_samp_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface favorites_stddev_samp_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface favorites_sum_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface favorites_sum_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface favorites_var_pop_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface favorites_var_pop_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface favorites_var_samp_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface favorites_var_samp_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface favorites_variance_fieldsPromiseChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface favorites_variance_fieldsObservableChain{
    order: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "filter_names" */
export interface filter_namesPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "filter_names" */
export interface filter_namesObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "filter_names" */
export interface filter_names_aggregatePromiseChain{
    aggregate: (filter_names_aggregate_fieldsPromiseChain & {get: <R extends filter_names_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<filter_names_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>})
}


/** aggregated selection of "filter_names" */
export interface filter_names_aggregateObservableChain{
    aggregate: (filter_names_aggregate_fieldsObservableChain & {get: <R extends filter_names_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<filter_names_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>})
}


/** aggregate fields of "filter_names" */
export interface filter_names_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (filter_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (filter_names_max_fieldsPromiseChain & {get: <R extends filter_names_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_max_fields, R> | undefined)) => Promise<(FieldsSelection<filter_names_max_fields, R> | undefined)>}),
    min: (filter_names_min_fieldsPromiseChain & {get: <R extends filter_names_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_min_fields, R> | undefined)) => Promise<(FieldsSelection<filter_names_min_fields, R> | undefined)>})
}


/** aggregate fields of "filter_names" */
export interface filter_names_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (filter_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (filter_names_max_fieldsObservableChain & {get: <R extends filter_names_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_max_fields, R> | undefined)) => Observable<(FieldsSelection<filter_names_max_fields, R> | undefined)>}),
    min: (filter_names_min_fieldsObservableChain & {get: <R extends filter_names_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_min_fields, R> | undefined)) => Observable<(FieldsSelection<filter_names_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface filter_names_max_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface filter_names_max_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface filter_names_min_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface filter_names_min_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "filter_names" */
export interface filter_names_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>})
}


/** response of any mutation on the table "filter_names" */
export interface filter_names_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>})
}


/** columns and relationships of "genesis_consent_permissions" */
export interface genesis_consent_permissionsPromiseChain{
    
/** An object relationship */
consent: (consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>) => Promise<FieldsSelection<consents, R>>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "genesis_consent_permissions" */
export interface genesis_consent_permissionsObservableChain{
    
/** An object relationship */
consent: (consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>) => Observable<FieldsSelection<consents, R>>}),
    consent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregatePromiseChain{
    aggregate: (genesis_consent_permissions_aggregate_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>})
}


/** aggregated selection of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregateObservableChain{
    aggregate: (genesis_consent_permissions_aggregate_fieldsObservableChain & {get: <R extends genesis_consent_permissions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>})
}


/** aggregate fields of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate_fieldsPromiseChain{
    avg: (genesis_consent_permissions_avg_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_avg_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_consent_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (genesis_consent_permissions_max_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_max_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_max_fields, R> | undefined)>}),
    min: (genesis_consent_permissions_min_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_min_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_min_fields, R> | undefined)>}),
    stddev: (genesis_consent_permissions_stddev_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_consent_permissions_stddev_pop_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_consent_permissions_stddev_samp_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_consent_permissions_sum_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_sum_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_sum_fields, R> | undefined)>}),
    var_pop: (genesis_consent_permissions_var_pop_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_consent_permissions_var_samp_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_var_samp_fields, R> | undefined)>}),
    variance: (genesis_consent_permissions_variance_fieldsPromiseChain & {get: <R extends genesis_consent_permissions_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_variance_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_variance_fields, R> | undefined)>})
}


/** aggregate fields of "genesis_consent_permissions" */
export interface genesis_consent_permissions_aggregate_fieldsObservableChain{
    avg: (genesis_consent_permissions_avg_fieldsObservableChain & {get: <R extends genesis_consent_permissions_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_avg_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_consent_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (genesis_consent_permissions_max_fieldsObservableChain & {get: <R extends genesis_consent_permissions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_max_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_max_fields, R> | undefined)>}),
    min: (genesis_consent_permissions_min_fieldsObservableChain & {get: <R extends genesis_consent_permissions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_min_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_min_fields, R> | undefined)>}),
    stddev: (genesis_consent_permissions_stddev_fieldsObservableChain & {get: <R extends genesis_consent_permissions_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_consent_permissions_stddev_pop_fieldsObservableChain & {get: <R extends genesis_consent_permissions_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_consent_permissions_stddev_samp_fieldsObservableChain & {get: <R extends genesis_consent_permissions_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_consent_permissions_sum_fieldsObservableChain & {get: <R extends genesis_consent_permissions_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_sum_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_sum_fields, R> | undefined)>}),
    var_pop: (genesis_consent_permissions_var_pop_fieldsObservableChain & {get: <R extends genesis_consent_permissions_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_consent_permissions_var_samp_fieldsObservableChain & {get: <R extends genesis_consent_permissions_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_var_samp_fields, R> | undefined)>}),
    variance: (genesis_consent_permissions_variance_fieldsObservableChain & {get: <R extends genesis_consent_permissions_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_variance_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_consent_permissions_avg_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_consent_permissions_avg_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_consent_permissions_max_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_consent_permissions_max_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_consent_permissions_min_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_consent_permissions_min_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "genesis_consent_permissions" */
export interface genesis_consent_permissions_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>})
}


/** response of any mutation on the table "genesis_consent_permissions" */
export interface genesis_consent_permissions_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>})
}


/** aggregate stddev on columns */
export interface genesis_consent_permissions_stddev_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface genesis_consent_permissions_stddev_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_permissions_stddev_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_permissions_stddev_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_permissions_stddev_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_permissions_stddev_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_consent_permissions_sum_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_consent_permissions_sum_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_consent_permissions_var_pop_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_consent_permissions_var_pop_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_consent_permissions_var_samp_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_consent_permissions_var_samp_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_consent_permissions_variance_fieldsPromiseChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_consent_permissions_variance_fieldsObservableChain{
    consent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "genesis_consent_templates" */
export interface genesis_consent_templatesPromiseChain{
    
/** An object relationship */
consent_template: (consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>) => Promise<FieldsSelection<consent_templates, R>>}),
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "genesis_consent_templates" */
export interface genesis_consent_templatesObservableChain{
    
/** An object relationship */
consent_template: (consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>) => Observable<FieldsSelection<consent_templates, R>>}),
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregatePromiseChain{
    aggregate: (genesis_consent_templates_aggregate_fieldsPromiseChain & {get: <R extends genesis_consent_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>})
}


/** aggregated selection of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregateObservableChain{
    aggregate: (genesis_consent_templates_aggregate_fieldsObservableChain & {get: <R extends genesis_consent_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>})
}


/** aggregate fields of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate_fieldsPromiseChain{
    avg: (genesis_consent_templates_avg_fieldsPromiseChain & {get: <R extends genesis_consent_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (genesis_consent_templates_max_fieldsPromiseChain & {get: <R extends genesis_consent_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_max_fields, R> | undefined)>}),
    min: (genesis_consent_templates_min_fieldsPromiseChain & {get: <R extends genesis_consent_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_min_fields, R> | undefined)>}),
    stddev: (genesis_consent_templates_stddev_fieldsPromiseChain & {get: <R extends genesis_consent_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_consent_templates_stddev_pop_fieldsPromiseChain & {get: <R extends genesis_consent_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_consent_templates_stddev_samp_fieldsPromiseChain & {get: <R extends genesis_consent_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_consent_templates_sum_fieldsPromiseChain & {get: <R extends genesis_consent_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_sum_fields, R> | undefined)>}),
    var_pop: (genesis_consent_templates_var_pop_fieldsPromiseChain & {get: <R extends genesis_consent_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_consent_templates_var_samp_fieldsPromiseChain & {get: <R extends genesis_consent_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_var_samp_fields, R> | undefined)>}),
    variance: (genesis_consent_templates_variance_fieldsPromiseChain & {get: <R extends genesis_consent_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "genesis_consent_templates" */
export interface genesis_consent_templates_aggregate_fieldsObservableChain{
    avg: (genesis_consent_templates_avg_fieldsObservableChain & {get: <R extends genesis_consent_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_consent_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (genesis_consent_templates_max_fieldsObservableChain & {get: <R extends genesis_consent_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_max_fields, R> | undefined)>}),
    min: (genesis_consent_templates_min_fieldsObservableChain & {get: <R extends genesis_consent_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_min_fields, R> | undefined)>}),
    stddev: (genesis_consent_templates_stddev_fieldsObservableChain & {get: <R extends genesis_consent_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_consent_templates_stddev_pop_fieldsObservableChain & {get: <R extends genesis_consent_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_consent_templates_stddev_samp_fieldsObservableChain & {get: <R extends genesis_consent_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_consent_templates_sum_fieldsObservableChain & {get: <R extends genesis_consent_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_sum_fields, R> | undefined)>}),
    var_pop: (genesis_consent_templates_var_pop_fieldsObservableChain & {get: <R extends genesis_consent_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_consent_templates_var_samp_fieldsObservableChain & {get: <R extends genesis_consent_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_var_samp_fields, R> | undefined)>}),
    variance: (genesis_consent_templates_variance_fieldsObservableChain & {get: <R extends genesis_consent_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_consent_templates_avg_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_consent_templates_avg_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_consent_templates_max_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_consent_templates_max_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_consent_templates_min_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_consent_templates_min_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "genesis_consent_templates" */
export interface genesis_consent_templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>})
}


/** response of any mutation on the table "genesis_consent_templates" */
export interface genesis_consent_templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>})
}


/** aggregate stddev on columns */
export interface genesis_consent_templates_stddev_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface genesis_consent_templates_stddev_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_templates_stddev_pop_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_consent_templates_stddev_pop_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_templates_stddev_samp_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_consent_templates_stddev_samp_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_consent_templates_sum_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_consent_templates_sum_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_consent_templates_var_pop_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_consent_templates_var_pop_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_consent_templates_var_samp_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_consent_templates_var_samp_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_consent_templates_variance_fieldsPromiseChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_consent_templates_variance_fieldsObservableChain{
    consent_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "genesis_denied_permissions" */
export interface genesis_denied_permissionsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "genesis_denied_permissions" */
export interface genesis_denied_permissionsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregatePromiseChain{
    aggregate: (genesis_denied_permissions_aggregate_fieldsPromiseChain & {get: <R extends genesis_denied_permissions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})
}


/** aggregated selection of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregateObservableChain{
    aggregate: (genesis_denied_permissions_aggregate_fieldsObservableChain & {get: <R extends genesis_denied_permissions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})
}


/** aggregate fields of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (genesis_denied_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (genesis_denied_permissions_max_fieldsPromiseChain & {get: <R extends genesis_denied_permissions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_max_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_max_fields, R> | undefined)>}),
    min: (genesis_denied_permissions_min_fieldsPromiseChain & {get: <R extends genesis_denied_permissions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_min_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_min_fields, R> | undefined)>})
}


/** aggregate fields of "genesis_denied_permissions" */
export interface genesis_denied_permissions_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (genesis_denied_permissions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (genesis_denied_permissions_max_fieldsObservableChain & {get: <R extends genesis_denied_permissions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_max_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_max_fields, R> | undefined)>}),
    min: (genesis_denied_permissions_min_fieldsObservableChain & {get: <R extends genesis_denied_permissions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_min_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface genesis_denied_permissions_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_denied_permissions_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_denied_permissions_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_denied_permissions_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "genesis_denied_permissions" */
export interface genesis_denied_permissions_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})
}


/** response of any mutation on the table "genesis_denied_permissions" */
export interface genesis_denied_permissions_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})
}


/** columns and relationships of "genesis_templates" */
export interface genesis_templatesPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "genesis_templates" */
export interface genesis_templatesObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "genesis_templates" */
export interface genesis_templates_aggregatePromiseChain{
    aggregate: (genesis_templates_aggregate_fieldsPromiseChain & {get: <R extends genesis_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>})
}


/** aggregated selection of "genesis_templates" */
export interface genesis_templates_aggregateObservableChain{
    aggregate: (genesis_templates_aggregate_fieldsObservableChain & {get: <R extends genesis_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>})
}


/** aggregate fields of "genesis_templates" */
export interface genesis_templates_aggregate_fieldsPromiseChain{
    avg: (genesis_templates_avg_fieldsPromiseChain & {get: <R extends genesis_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (genesis_templates_max_fieldsPromiseChain & {get: <R extends genesis_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_max_fields, R> | undefined)>}),
    min: (genesis_templates_min_fieldsPromiseChain & {get: <R extends genesis_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_min_fields, R> | undefined)>}),
    stddev: (genesis_templates_stddev_fieldsPromiseChain & {get: <R extends genesis_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_templates_stddev_pop_fieldsPromiseChain & {get: <R extends genesis_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_templates_stddev_samp_fieldsPromiseChain & {get: <R extends genesis_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_templates_sum_fieldsPromiseChain & {get: <R extends genesis_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_sum_fields, R> | undefined)>}),
    var_pop: (genesis_templates_var_pop_fieldsPromiseChain & {get: <R extends genesis_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_templates_var_samp_fieldsPromiseChain & {get: <R extends genesis_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_var_samp_fields, R> | undefined)>}),
    variance: (genesis_templates_variance_fieldsPromiseChain & {get: <R extends genesis_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "genesis_templates" */
export interface genesis_templates_aggregate_fieldsObservableChain{
    avg: (genesis_templates_avg_fieldsObservableChain & {get: <R extends genesis_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (genesis_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (genesis_templates_max_fieldsObservableChain & {get: <R extends genesis_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_max_fields, R> | undefined)>}),
    min: (genesis_templates_min_fieldsObservableChain & {get: <R extends genesis_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_min_fields, R> | undefined)>}),
    stddev: (genesis_templates_stddev_fieldsObservableChain & {get: <R extends genesis_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (genesis_templates_stddev_pop_fieldsObservableChain & {get: <R extends genesis_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (genesis_templates_stddev_samp_fieldsObservableChain & {get: <R extends genesis_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (genesis_templates_sum_fieldsObservableChain & {get: <R extends genesis_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_sum_fields, R> | undefined)>}),
    var_pop: (genesis_templates_var_pop_fieldsObservableChain & {get: <R extends genesis_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (genesis_templates_var_samp_fieldsObservableChain & {get: <R extends genesis_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_var_samp_fields, R> | undefined)>}),
    variance: (genesis_templates_variance_fieldsObservableChain & {get: <R extends genesis_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_templates_avg_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface genesis_templates_avg_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_templates_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface genesis_templates_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_templates_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface genesis_templates_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    genesis_set: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "genesis_templates" */
export interface genesis_templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>})
}


/** response of any mutation on the table "genesis_templates" */
export interface genesis_templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>})
}


/** aggregate stddev on columns */
export interface genesis_templates_stddev_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface genesis_templates_stddev_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_templates_stddev_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface genesis_templates_stddev_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_templates_stddev_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface genesis_templates_stddev_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_templates_sum_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface genesis_templates_sum_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_templates_var_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface genesis_templates_var_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_templates_var_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface genesis_templates_var_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_templates_variance_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface genesis_templates_variance_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "group_context" */
export interface group_contextPromiseChain{
    
/** An array relationship */
context_group_contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>}),
    
/** An aggregate relationship */
context_group_contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "group_context" */
export interface group_contextObservableChain{
    
/** An array relationship */
context_group_contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>}),
    
/** An aggregate relationship */
context_group_contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    label: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "group_context" */
export interface group_context_aggregatePromiseChain{
    aggregate: (group_context_aggregate_fieldsPromiseChain & {get: <R extends group_context_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>})
}


/** aggregated selection of "group_context" */
export interface group_context_aggregateObservableChain{
    aggregate: (group_context_aggregate_fieldsObservableChain & {get: <R extends group_context_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>})
}


/** aggregate fields of "group_context" */
export interface group_context_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (group_context_max_fieldsPromiseChain & {get: <R extends group_context_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_max_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_max_fields, R> | undefined)>}),
    min: (group_context_min_fieldsPromiseChain & {get: <R extends group_context_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_min_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_min_fields, R> | undefined)>})
}


/** aggregate fields of "group_context" */
export interface group_context_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (group_context_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (group_context_max_fieldsObservableChain & {get: <R extends group_context_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_max_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_max_fields, R> | undefined)>}),
    min: (group_context_min_fieldsObservableChain & {get: <R extends group_context_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_min_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_min_fields, R> | undefined)>})
}


/** columns and relationships of "group_context_filters" */
export interface group_context_filtersPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    filter: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
filterNameByFilterName: (filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>) => Promise<FieldsSelection<filter_names, R>>}),
    filter_name: ({get: (request?: boolean|number, defaultValue?: filter_names_enum) => Promise<filter_names_enum>}),
    
/** An object relationship */
group_context: (group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>) => Promise<FieldsSelection<group_context, R>>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "group_context_filters" */
export interface group_context_filtersObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    filter: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
filterNameByFilterName: (filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>) => Observable<FieldsSelection<filter_names, R>>}),
    filter_name: ({get: (request?: boolean|number, defaultValue?: filter_names_enum) => Observable<filter_names_enum>}),
    
/** An object relationship */
group_context: (group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>) => Observable<FieldsSelection<group_context, R>>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "group_context_filters" */
export interface group_context_filters_aggregatePromiseChain{
    aggregate: (group_context_filters_aggregate_fieldsPromiseChain & {get: <R extends group_context_filters_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})
}


/** aggregated selection of "group_context_filters" */
export interface group_context_filters_aggregateObservableChain{
    aggregate: (group_context_filters_aggregate_fieldsObservableChain & {get: <R extends group_context_filters_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})
}


/** aggregate fields of "group_context_filters" */
export interface group_context_filters_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (group_context_filters_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (group_context_filters_max_fieldsPromiseChain & {get: <R extends group_context_filters_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_max_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_max_fields, R> | undefined)>}),
    min: (group_context_filters_min_fieldsPromiseChain & {get: <R extends group_context_filters_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_min_fields, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_min_fields, R> | undefined)>})
}


/** aggregate fields of "group_context_filters" */
export interface group_context_filters_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (group_context_filters_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (group_context_filters_max_fieldsObservableChain & {get: <R extends group_context_filters_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_max_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_max_fields, R> | undefined)>}),
    min: (group_context_filters_min_fieldsObservableChain & {get: <R extends group_context_filters_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_min_fields, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface group_context_filters_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    filter: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface group_context_filters_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    filter: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface group_context_filters_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    filter: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface group_context_filters_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    filter: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    group_context_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "group_context_filters" */
export interface group_context_filters_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})
}


/** response of any mutation on the table "group_context_filters" */
export interface group_context_filters_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})
}


/** aggregate max on columns */
export interface group_context_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface group_context_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface group_context_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface group_context_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    label: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "group_context" */
export interface group_context_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>})
}


/** response of any mutation on the table "group_context" */
export interface group_context_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>})
}


/** columns and relationships of "groups" */
export interface groupsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "groups" */
export interface groupsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "groups" */
export interface groups_aggregatePromiseChain{
    aggregate: (groups_aggregate_fieldsPromiseChain & {get: <R extends groups_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<groups_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>})
}


/** aggregated selection of "groups" */
export interface groups_aggregateObservableChain{
    aggregate: (groups_aggregate_fieldsObservableChain & {get: <R extends groups_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<groups_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>})
}


/** aggregate fields of "groups" */
export interface groups_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (groups_max_fieldsPromiseChain & {get: <R extends groups_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_max_fields, R> | undefined)) => Promise<(FieldsSelection<groups_max_fields, R> | undefined)>}),
    min: (groups_min_fieldsPromiseChain & {get: <R extends groups_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_min_fields, R> | undefined)) => Promise<(FieldsSelection<groups_min_fields, R> | undefined)>})
}


/** aggregate fields of "groups" */
export interface groups_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (groups_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (groups_max_fieldsObservableChain & {get: <R extends groups_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_max_fields, R> | undefined)) => Observable<(FieldsSelection<groups_max_fields, R> | undefined)>}),
    min: (groups_min_fieldsObservableChain & {get: <R extends groups_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<groups_min_fields, R> | undefined)) => Observable<(FieldsSelection<groups_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface groups_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface groups_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface groups_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface groups_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "groups" */
export interface groups_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>})
}


/** response of any mutation on the table "groups" */
export interface groups_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>})
}


/** columns and relationships of "initiators" */
export interface initiatorsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})
}


/** columns and relationships of "initiators" */
export interface initiatorsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})
}


/** aggregated selection of "initiators" */
export interface initiators_aggregatePromiseChain{
    aggregate: (initiators_aggregate_fieldsPromiseChain & {get: <R extends initiators_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<initiators_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>})
}


/** aggregated selection of "initiators" */
export interface initiators_aggregateObservableChain{
    aggregate: (initiators_aggregate_fieldsObservableChain & {get: <R extends initiators_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<initiators_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>})
}


/** aggregate fields of "initiators" */
export interface initiators_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (initiators_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (initiators_max_fieldsPromiseChain & {get: <R extends initiators_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_max_fields, R> | undefined)) => Promise<(FieldsSelection<initiators_max_fields, R> | undefined)>}),
    min: (initiators_min_fieldsPromiseChain & {get: <R extends initiators_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_min_fields, R> | undefined)) => Promise<(FieldsSelection<initiators_min_fields, R> | undefined)>})
}


/** aggregate fields of "initiators" */
export interface initiators_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (initiators_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (initiators_max_fieldsObservableChain & {get: <R extends initiators_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_max_fields, R> | undefined)) => Observable<(FieldsSelection<initiators_max_fields, R> | undefined)>}),
    min: (initiators_min_fieldsObservableChain & {get: <R extends initiators_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<initiators_min_fields, R> | undefined)) => Observable<(FieldsSelection<initiators_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface initiators_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface initiators_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface initiators_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface initiators_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "initiators" */
export interface initiators_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>})
}


/** response of any mutation on the table "initiators" */
export interface initiators_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>})
}


/** columns and relationships of "migrations" */
export interface migrationsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    migration: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "migrations" */
export interface migrationsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    migration: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "migrations" */
export interface migrations_aggregatePromiseChain{
    aggregate: (migrations_aggregate_fieldsPromiseChain & {get: <R extends migrations_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>})
}


/** aggregated selection of "migrations" */
export interface migrations_aggregateObservableChain{
    aggregate: (migrations_aggregate_fieldsObservableChain & {get: <R extends migrations_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>})
}


/** aggregate fields of "migrations" */
export interface migrations_aggregate_fieldsPromiseChain{
    avg: (migrations_avg_fieldsPromiseChain & {get: <R extends migrations_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_avg_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (migrations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (migrations_max_fieldsPromiseChain & {get: <R extends migrations_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_max_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_max_fields, R> | undefined)>}),
    min: (migrations_min_fieldsPromiseChain & {get: <R extends migrations_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_min_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_min_fields, R> | undefined)>}),
    stddev: (migrations_stddev_fieldsPromiseChain & {get: <R extends migrations_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_stddev_fields, R> | undefined)>}),
    stddev_pop: (migrations_stddev_pop_fieldsPromiseChain & {get: <R extends migrations_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (migrations_stddev_samp_fieldsPromiseChain & {get: <R extends migrations_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_stddev_samp_fields, R> | undefined)>}),
    sum: (migrations_sum_fieldsPromiseChain & {get: <R extends migrations_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_sum_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_sum_fields, R> | undefined)>}),
    var_pop: (migrations_var_pop_fieldsPromiseChain & {get: <R extends migrations_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_var_pop_fields, R> | undefined)>}),
    var_samp: (migrations_var_samp_fieldsPromiseChain & {get: <R extends migrations_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_var_samp_fields, R> | undefined)>}),
    variance: (migrations_variance_fieldsPromiseChain & {get: <R extends migrations_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_variance_fields, R> | undefined)) => Promise<(FieldsSelection<migrations_variance_fields, R> | undefined)>})
}


/** aggregate fields of "migrations" */
export interface migrations_aggregate_fieldsObservableChain{
    avg: (migrations_avg_fieldsObservableChain & {get: <R extends migrations_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_avg_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (migrations_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (migrations_max_fieldsObservableChain & {get: <R extends migrations_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_max_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_max_fields, R> | undefined)>}),
    min: (migrations_min_fieldsObservableChain & {get: <R extends migrations_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_min_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_min_fields, R> | undefined)>}),
    stddev: (migrations_stddev_fieldsObservableChain & {get: <R extends migrations_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_stddev_fields, R> | undefined)>}),
    stddev_pop: (migrations_stddev_pop_fieldsObservableChain & {get: <R extends migrations_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (migrations_stddev_samp_fieldsObservableChain & {get: <R extends migrations_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_stddev_samp_fields, R> | undefined)>}),
    sum: (migrations_sum_fieldsObservableChain & {get: <R extends migrations_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_sum_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_sum_fields, R> | undefined)>}),
    var_pop: (migrations_var_pop_fieldsObservableChain & {get: <R extends migrations_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_var_pop_fields, R> | undefined)>}),
    var_samp: (migrations_var_samp_fieldsObservableChain & {get: <R extends migrations_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_var_samp_fields, R> | undefined)>}),
    variance: (migrations_variance_fieldsObservableChain & {get: <R extends migrations_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<migrations_variance_fields, R> | undefined)) => Observable<(FieldsSelection<migrations_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface migrations_avg_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface migrations_avg_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface migrations_max_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    migration: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface migrations_max_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    migration: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface migrations_min_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    migration: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface migrations_min_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    migration: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "migrations" */
export interface migrations_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>})
}


/** response of any mutation on the table "migrations" */
export interface migrations_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>})
}


/** aggregate stddev on columns */
export interface migrations_stddev_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface migrations_stddev_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface migrations_stddev_pop_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface migrations_stddev_pop_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface migrations_stddev_samp_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface migrations_stddev_samp_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface migrations_sum_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface migrations_sum_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface migrations_var_pop_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface migrations_var_pop_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface migrations_var_samp_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface migrations_var_samp_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface migrations_variance_fieldsPromiseChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface migrations_variance_fieldsObservableChain{
    batch: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** mutation root */
export interface mutation_rootPromiseChain{
    
/** delete data from the table: "DocKladd_properties" */
delete_DocKladd_properties: ((args: {
/** filter the rows which have to be deleted */
where: DocKladd_properties_bool_exp}) => DocKladd_properties_mutation_responsePromiseChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "DocKladd_properties" */
delete_DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesPromiseChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** delete data from the table: "DocKladd_questions" */
delete_DocKladd_questions: ((args: {
/** filter the rows which have to be deleted */
where: DocKladd_questions_bool_exp}) => DocKladd_questions_mutation_responsePromiseChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "DocKladd_questions" */
delete_DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsPromiseChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** delete data from the table: "accessible" */
delete_accessible: ((args: {
/** filter the rows which have to be deleted */
where: accessible_bool_exp}) => accessible_mutation_responsePromiseChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Promise<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "accessible" */
delete_accessible_by_pk: ((args: {name: Scalars['String']}) => accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    
/** delete data from the table: "adopus_AdgangLinjer" */
delete_adopus_AdgangLinjer: ((args: {
/** filter the rows which have to be deleted */
where: adopus_AdgangLinjer_bool_exp}) => adopus_AdgangLinjer_mutation_responsePromiseChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "adopus_AdgangLinjer" */
delete_adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerPromiseChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** delete data from the table: "anonymous_answers" */
delete_anonymous_answers: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_answers_bool_exp}) => anonymous_answers_mutation_responsePromiseChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_answers" */
delete_anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersPromiseChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** delete data from the table: "anonymous_invitations" */
delete_anonymous_invitations: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_invitations_bool_exp}) => anonymous_invitations_mutation_responsePromiseChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_invitations" */
delete_anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** delete data from the table: "anonymous_queries" */
delete_anonymous_queries: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_queries_bool_exp}) => anonymous_queries_mutation_responsePromiseChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_queries" */
delete_anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** delete data from the table: "anonymous_sms" */
delete_anonymous_sms: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_sms_bool_exp}) => anonymous_sms_mutation_responsePromiseChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_sms" */
delete_anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsPromiseChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** delete data from the table: "anonymous_template_question" */
delete_anonymous_template_question: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_template_question_bool_exp}) => anonymous_template_question_mutation_responsePromiseChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "anonymous_templates" */
delete_anonymous_templates: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_templates_bool_exp}) => anonymous_templates_mutation_responsePromiseChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_templates" */
delete_anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_artifact_parcel" */
delete_artifact_package_artifact_parcel: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_artifact_parcel_bool_exp}) => artifact_package_artifact_parcel_mutation_responsePromiseChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_artifact_parcel" */
delete_artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelPromiseChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_cron" */
delete_artifact_package_cron: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_cron_bool_exp}) => artifact_package_cron_mutation_responsePromiseChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_cron" */
delete_artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_groups" */
delete_artifact_package_groups: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_groups_bool_exp}) => artifact_package_groups_mutation_responsePromiseChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_groups" */
delete_artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsPromiseChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** delete data from the table: "artifact_packages" */
delete_artifact_packages: ((args: {
/** filter the rows which have to be deleted */
where: artifact_packages_bool_exp}) => artifact_packages_mutation_responsePromiseChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_packages" */
delete_artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** delete data from the table: "artifact_parcels" */
delete_artifact_parcels: ((args: {
/** filter the rows which have to be deleted */
where: artifact_parcels_bool_exp}) => artifact_parcels_mutation_responsePromiseChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_parcels" */
delete_artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** delete data from the table: "categories" */
delete_categories: ((args: {
/** filter the rows which have to be deleted */
where: categories_bool_exp}) => categories_mutation_responsePromiseChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Promise<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "categories" */
delete_categories_by_pk: ((args: {name: Scalars['String']}) => categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Promise<(FieldsSelection<categories, R> | undefined)>}),
    
/** delete data from the table: "consent_approval_rejection_reasons" */
delete_consent_approval_rejection_reasons: ((args: {
/** filter the rows which have to be deleted */
where: consent_approval_rejection_reasons_bool_exp}) => consent_approval_rejection_reasons_mutation_responsePromiseChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_approval_rejection_reasons" */
delete_consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsPromiseChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** delete data from the table: "consent_patient" */
delete_consent_patient: ((args: {
/** filter the rows which have to be deleted */
where: consent_patient_bool_exp}) => consent_patient_mutation_responsePromiseChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_patient" */
delete_consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** delete data from the table: "consent_status" */
delete_consent_status: ((args: {
/** filter the rows which have to be deleted */
where: consent_status_bool_exp}) => consent_status_mutation_responsePromiseChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_status" */
delete_consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Promise<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** delete data from the table: "consent_template_to_template" */
delete_consent_template_to_template: ((args: {
/** filter the rows which have to be deleted */
where: consent_template_to_template_bool_exp}) => consent_template_to_template_mutation_responsePromiseChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "consent_templates" */
delete_consent_templates: ((args: {
/** filter the rows which have to be deleted */
where: consent_templates_bool_exp}) => consent_templates_mutation_responsePromiseChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_templates" */
delete_consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Promise<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** delete data from the table: "consents" */
delete_consents: ((args: {
/** filter the rows which have to be deleted */
where: consents_bool_exp}) => consents_mutation_responsePromiseChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consents" */
delete_consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Promise<(FieldsSelection<consents, R> | undefined)>}),
    
/** delete data from the table: "context_group_context" */
delete_context_group_context: ((args: {
/** filter the rows which have to be deleted */
where: context_group_context_bool_exp}) => context_group_context_mutation_responsePromiseChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "context_group_context" */
delete_context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextPromiseChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Promise<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** delete data from the table: "contexts" */
delete_contexts: ((args: {
/** filter the rows which have to be deleted */
where: contexts_bool_exp}) => contexts_mutation_responsePromiseChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "contexts" */
delete_contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    
/** delete data from the table: "custom_db_nodes" */
delete_custom_db_nodes: ((args: {
/** filter the rows which have to be deleted */
where: custom_db_nodes_bool_exp}) => custom_db_nodes_mutation_responsePromiseChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "custom_db_nodes" */
delete_custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesPromiseChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** delete data from the table: "directory_customers" */
delete_directory_customers: ((args: {
/** filter the rows which have to be deleted */
where: directory_customers_bool_exp}) => directory_customers_mutation_responsePromiseChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_customers" */
delete_directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** delete data from the table: "directory_user_name" */
delete_directory_user_name: ((args: {
/** filter the rows which have to be deleted */
where: directory_user_name_bool_exp}) => directory_user_name_mutation_responsePromiseChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_user_name" */
delete_directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** delete data from the table: "document_patient" */
delete_document_patient: ((args: {
/** filter the rows which have to be deleted */
where: document_patient_bool_exp}) => document_patient_mutation_responsePromiseChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "document_patient" */
delete_document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientPromiseChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Promise<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** delete data from the table: "document_sms" */
delete_document_sms: ((args: {
/** filter the rows which have to be deleted */
where: document_sms_bool_exp}) => document_sms_mutation_responsePromiseChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "documents" */
delete_documents: ((args: {
/** filter the rows which have to be deleted */
where: documents_bool_exp}) => documents_mutation_responsePromiseChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "documents" */
delete_documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    
/** delete data from the table: "event_artifact_package" */
delete_event_artifact_package: ((args: {
/** filter the rows which have to be deleted */
where: event_artifact_package_bool_exp}) => event_artifact_package_mutation_responsePromiseChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "event_artifact_package" */
delete_event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packagePromiseChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** delete data from the table: "favorite_templates_order" */
delete_favorite_templates_order: ((args: {
/** filter the rows which have to be deleted */
where: favorite_templates_order_bool_exp}) => favorite_templates_order_mutation_responsePromiseChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "favorite_templates_order" */
delete_favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderPromiseChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** delete data from the table: "favorites" */
delete_favorites: ((args: {
/** filter the rows which have to be deleted */
where: favorites_bool_exp}) => favorites_mutation_responsePromiseChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "favorites" */
delete_favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesPromiseChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Promise<(FieldsSelection<favorites, R> | undefined)>}),
    
/** delete data from the table: "filter_names" */
delete_filter_names: ((args: {
/** filter the rows which have to be deleted */
where: filter_names_bool_exp}) => filter_names_mutation_responsePromiseChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "filter_names" */
delete_filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Promise<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** delete data from the table: "genesis_consent_permissions" */
delete_genesis_consent_permissions: ((args: {
/** filter the rows which have to be deleted */
where: genesis_consent_permissions_bool_exp}) => genesis_consent_permissions_mutation_responsePromiseChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_consent_permissions" */
delete_genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsPromiseChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** delete data from the table: "genesis_consent_templates" */
delete_genesis_consent_templates: ((args: {
/** filter the rows which have to be deleted */
where: genesis_consent_templates_bool_exp}) => genesis_consent_templates_mutation_responsePromiseChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_consent_templates" */
delete_genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesPromiseChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** delete data from the table: "genesis_denied_permissions" */
delete_genesis_denied_permissions: ((args: {
/** filter the rows which have to be deleted */
where: genesis_denied_permissions_bool_exp}) => genesis_denied_permissions_mutation_responsePromiseChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_denied_permissions" */
delete_genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsPromiseChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** delete data from the table: "genesis_templates" */
delete_genesis_templates: ((args: {
/** filter the rows which have to be deleted */
where: genesis_templates_bool_exp}) => genesis_templates_mutation_responsePromiseChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_templates" */
delete_genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesPromiseChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** delete data from the table: "group_context" */
delete_group_context: ((args: {
/** filter the rows which have to be deleted */
where: group_context_bool_exp}) => group_context_mutation_responsePromiseChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "group_context" */
delete_group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Promise<(FieldsSelection<group_context, R> | undefined)>}),
    
/** delete data from the table: "group_context_filters" */
delete_group_context_filters: ((args: {
/** filter the rows which have to be deleted */
where: group_context_filters_bool_exp}) => group_context_filters_mutation_responsePromiseChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "group_context_filters" */
delete_group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersPromiseChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Promise<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** delete data from the table: "groups" */
delete_groups: ((args: {
/** filter the rows which have to be deleted */
where: groups_bool_exp}) => groups_mutation_responsePromiseChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "groups" */
delete_groups_by_pk: ((args: {name: Scalars['String']}) => groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Promise<(FieldsSelection<groups, R> | undefined)>}),
    
/** delete data from the table: "initiators" */
delete_initiators: ((args: {
/** filter the rows which have to be deleted */
where: initiators_bool_exp}) => initiators_mutation_responsePromiseChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Promise<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "initiators" */
delete_initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Promise<(FieldsSelection<initiators, R> | undefined)>}),
    
/** delete data from the table: "migrations" */
delete_migrations: ((args: {
/** filter the rows which have to be deleted */
where: migrations_bool_exp}) => migrations_mutation_responsePromiseChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "migrations" */
delete_migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsPromiseChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Promise<(FieldsSelection<migrations, R> | undefined)>}),
    
/** delete data from the table: "organization_qnr_widget" */
delete_organization_qnr_widget: ((args: {
/** filter the rows which have to be deleted */
where: organization_qnr_widget_bool_exp}) => organization_qnr_widget_mutation_responsePromiseChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "organization_qnr_widget" */
delete_organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetPromiseChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** delete data from the table: "projects" */
delete_projects: ((args: {
/** filter the rows which have to be deleted */
where: projects_bool_exp}) => projects_mutation_responsePromiseChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Promise<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "projects" */
delete_projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsPromiseChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Promise<(FieldsSelection<projects, R> | undefined)>}),
    
/** delete data from the table: "qnr_template_genesis_overrides" */
delete_qnr_template_genesis_overrides: ((args: {
/** filter the rows which have to be deleted */
where: qnr_template_genesis_overrides_bool_exp}) => qnr_template_genesis_overrides_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "qnr_template_genesis_overrides" */
delete_qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesPromiseChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** delete data from the table: "qnr_template_genesis_overrides_log" */
delete_qnr_template_genesis_overrides_log: ((args: {
/** filter the rows which have to be deleted */
where: qnr_template_genesis_overrides_log_bool_exp}) => qnr_template_genesis_overrides_log_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "qnr_template_genesis_overrides_log" */
delete_qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logPromiseChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** delete data from the table: "queries" */
delete_queries: ((args: {
/** filter the rows which have to be deleted */
where: queries_bool_exp}) => queries_mutation_responsePromiseChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries" */
delete_queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** delete data from the table: "queries_cache" */
delete_queries_cache: ((args: {
/** filter the rows which have to be deleted */
where: queries_cache_bool_exp}) => queries_cache_mutation_responsePromiseChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_cache" */
delete_queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** delete data from the table: "queries_error" */
delete_queries_error: ((args: {
/** filter the rows which have to be deleted */
where: queries_error_bool_exp}) => queries_error_mutation_responsePromiseChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_error" */
delete_queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorPromiseChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Promise<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** delete data from the table: "queries_log" */
delete_queries_log: ((args: {
/** filter the rows which have to be deleted */
where: queries_log_bool_exp}) => queries_log_mutation_responsePromiseChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_log" */
delete_queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** delete data from the table: "question_composite_question" */
delete_question_composite_question: ((args: {
/** filter the rows which have to be deleted */
where: question_composite_question_bool_exp}) => question_composite_question_mutation_responsePromiseChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "question_template" */
delete_question_template: ((args: {
/** filter the rows which have to be deleted */
where: question_template_bool_exp}) => question_template_mutation_responsePromiseChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "questions" */
delete_questions: ((args: {
/** filter the rows which have to be deleted */
where: questions_bool_exp}) => questions_mutation_responsePromiseChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "questions" */
delete_questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Promise<(FieldsSelection<questions, R> | undefined)>}),
    
/** delete data from the table: "security_levels" */
delete_security_levels: ((args: {
/** filter the rows which have to be deleted */
where: security_levels_bool_exp}) => security_levels_mutation_responsePromiseChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "security_levels" */
delete_security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** delete data from the table: "settings" */
delete_settings: ((args: {
/** filter the rows which have to be deleted */
where: settings_bool_exp}) => settings_mutation_responsePromiseChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Promise<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "settings" */
delete_settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsPromiseChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Promise<(FieldsSelection<settings, R> | undefined)>}),
    
/** delete data from the table: "shortcuts" */
delete_shortcuts: ((args: {
/** filter the rows which have to be deleted */
where: shortcuts_bool_exp}) => shortcuts_mutation_responsePromiseChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "shortcuts" */
delete_shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Promise<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** delete data from the table: "sms" */
delete_sms: ((args: {
/** filter the rows which have to be deleted */
where: sms_bool_exp}) => sms_mutation_responsePromiseChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms" */
delete_sms_by_pk: ((args: {id: Scalars['bigint']}) => smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Promise<(FieldsSelection<sms, R> | undefined)>}),
    
/** delete data from the table: "sms_template_template" */
delete_sms_template_template: ((args: {
/** filter the rows which have to be deleted */
where: sms_template_template_bool_exp}) => sms_template_template_mutation_responsePromiseChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms_template_template" */
delete_sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templatePromiseChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Promise<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** delete data from the table: "sms_templates" */
delete_sms_templates: ((args: {
/** filter the rows which have to be deleted */
where: sms_templates_bool_exp}) => sms_templates_mutation_responsePromiseChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms_templates" */
delete_sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** delete data from the table: "status" */
delete_status: ((args: {
/** filter the rows which have to be deleted */
where: status_bool_exp}) => status_mutation_responsePromiseChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "status" */
delete_status_by_pk: ((args: {name: Scalars['String']}) => statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Promise<(FieldsSelection<status, R> | undefined)>}),
    
/** delete data from the table: "table_names" */
delete_table_names: ((args: {
/** filter the rows which have to be deleted */
where: table_names_bool_exp}) => table_names_mutation_responsePromiseChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "table_names" */
delete_table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Promise<(FieldsSelection<table_names, R> | undefined)>}),
    
/** delete data from the table: "template_artifact_parcel" */
delete_template_artifact_parcel: ((args: {
/** filter the rows which have to be deleted */
where: template_artifact_parcel_bool_exp}) => template_artifact_parcel_mutation_responsePromiseChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_artifact_parcel" */
delete_template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelPromiseChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** delete data from the table: "template_cache" */
delete_template_cache: ((args: {
/** filter the rows which have to be deleted */
where: template_cache_bool_exp}) => template_cache_mutation_responsePromiseChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "template_cache_access" */
delete_template_cache_access: ((args: {
/** filter the rows which have to be deleted */
where: template_cache_access_bool_exp}) => template_cache_access_mutation_responsePromiseChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_cache_access" */
delete_template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessPromiseChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Promise<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** delete single row from the table: "template_cache" */
delete_template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** delete data from the table: "template_flags" */
delete_template_flags: ((args: {
/** filter the rows which have to be deleted */
where: template_flags_bool_exp}) => template_flags_mutation_responsePromiseChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "template_journal_roles" */
delete_template_journal_roles: ((args: {
/** filter the rows which have to be deleted */
where: template_journal_roles_bool_exp}) => template_journal_roles_mutation_responsePromiseChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_journal_roles" */
delete_template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesPromiseChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** delete data from the table: "template_offer_types" */
delete_template_offer_types: ((args: {
/** filter the rows which have to be deleted */
where: template_offer_types_bool_exp}) => template_offer_types_mutation_responsePromiseChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_offer_types" */
delete_template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesPromiseChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Promise<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** delete data from the table: "template_offers" */
delete_template_offers: ((args: {
/** filter the rows which have to be deleted */
where: template_offers_bool_exp}) => template_offers_mutation_responsePromiseChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_offers" */
delete_template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersPromiseChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Promise<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** delete data from the table: "templates" */
delete_templates: ((args: {
/** filter the rows which have to be deleted */
where: templates_bool_exp}) => templates_mutation_responsePromiseChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "templates" */
delete_templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** delete data from the table: "types" */
delete_types: ((args: {
/** filter the rows which have to be deleted */
where: types_bool_exp}) => types_mutation_responsePromiseChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "types" */
delete_types_by_pk: ((args: {name: Scalars['String']}) => typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Promise<(FieldsSelection<types, R> | undefined)>}),
    
/** create_notification */
insertNotification: ((args: {objects: NotificationInput[]}) => NotificationOutputPromiseChain & {get: <R extends NotificationOutputRequest>(request: R, defaultValue?: (FieldsSelection<NotificationOutput, R> | undefined)) => Promise<(FieldsSelection<NotificationOutput, R> | undefined)>}),
    
/** insert data into the table: "DocKladd_properties" */
insert_DocKladd_properties: ((args: {
/** the rows to be inserted */
objects: DocKladd_properties_insert_input[],
/** upsert condition */
on_conflict?: (DocKladd_properties_on_conflict | null)}) => DocKladd_properties_mutation_responsePromiseChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "DocKladd_properties" */
insert_DocKladd_properties_one: ((args: {
/** the row to be inserted */
object: DocKladd_properties_insert_input,
/** upsert condition */
on_conflict?: (DocKladd_properties_on_conflict | null)}) => DocKladd_propertiesPromiseChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** insert data into the table: "DocKladd_questions" */
insert_DocKladd_questions: ((args: {
/** the rows to be inserted */
objects: DocKladd_questions_insert_input[],
/** upsert condition */
on_conflict?: (DocKladd_questions_on_conflict | null)}) => DocKladd_questions_mutation_responsePromiseChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "DocKladd_questions" */
insert_DocKladd_questions_one: ((args: {
/** the row to be inserted */
object: DocKladd_questions_insert_input,
/** upsert condition */
on_conflict?: (DocKladd_questions_on_conflict | null)}) => DocKladd_questionsPromiseChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** insert data into the table: "accessible" */
insert_accessible: ((args: {
/** the rows to be inserted */
objects: accessible_insert_input[],
/** upsert condition */
on_conflict?: (accessible_on_conflict | null)}) => accessible_mutation_responsePromiseChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Promise<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "accessible" */
insert_accessible_one: ((args: {
/** the row to be inserted */
object: accessible_insert_input,
/** upsert condition */
on_conflict?: (accessible_on_conflict | null)}) => accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    
/** insert data into the table: "adopus_AdgangLinjer" */
insert_adopus_AdgangLinjer: ((args: {
/** the rows to be inserted */
objects: adopus_AdgangLinjer_insert_input[],
/** upsert condition */
on_conflict?: (adopus_AdgangLinjer_on_conflict | null)}) => adopus_AdgangLinjer_mutation_responsePromiseChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "adopus_AdgangLinjer" */
insert_adopus_AdgangLinjer_one: ((args: {
/** the row to be inserted */
object: adopus_AdgangLinjer_insert_input,
/** upsert condition */
on_conflict?: (adopus_AdgangLinjer_on_conflict | null)}) => adopus_AdgangLinjerPromiseChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** insert data into the table: "anonymous_answers" */
insert_anonymous_answers: ((args: {
/** the rows to be inserted */
objects: anonymous_answers_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_answers_on_conflict | null)}) => anonymous_answers_mutation_responsePromiseChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_answers" */
insert_anonymous_answers_one: ((args: {
/** the row to be inserted */
object: anonymous_answers_insert_input,
/** upsert condition */
on_conflict?: (anonymous_answers_on_conflict | null)}) => anonymous_answersPromiseChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** insert data into the table: "anonymous_invitations" */
insert_anonymous_invitations: ((args: {
/** the rows to be inserted */
objects: anonymous_invitations_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}) => anonymous_invitations_mutation_responsePromiseChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_invitations" */
insert_anonymous_invitations_one: ((args: {
/** the row to be inserted */
object: anonymous_invitations_insert_input,
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}) => anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** insert data into the table: "anonymous_queries" */
insert_anonymous_queries: ((args: {
/** the rows to be inserted */
objects: anonymous_queries_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}) => anonymous_queries_mutation_responsePromiseChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_queries" */
insert_anonymous_queries_one: ((args: {
/** the row to be inserted */
object: anonymous_queries_insert_input,
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}) => anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** insert data into the table: "anonymous_sms" */
insert_anonymous_sms: ((args: {
/** the rows to be inserted */
objects: anonymous_sms_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_sms_on_conflict | null)}) => anonymous_sms_mutation_responsePromiseChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_sms" */
insert_anonymous_sms_one: ((args: {
/** the row to be inserted */
object: anonymous_sms_insert_input,
/** upsert condition */
on_conflict?: (anonymous_sms_on_conflict | null)}) => anonymous_smsPromiseChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** insert data into the table: "anonymous_template_question" */
insert_anonymous_template_question: ((args: {
/** the rows to be inserted */
objects: anonymous_template_question_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_template_question_on_conflict | null)}) => anonymous_template_question_mutation_responsePromiseChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_template_question" */
insert_anonymous_template_question_one: ((args: {
/** the row to be inserted */
object: anonymous_template_question_insert_input,
/** upsert condition */
on_conflict?: (anonymous_template_question_on_conflict | null)}) => anonymous_template_questionPromiseChain & {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question, R> | undefined)>}),
    
/** insert data into the table: "anonymous_templates" */
insert_anonymous_templates: ((args: {
/** the rows to be inserted */
objects: anonymous_templates_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_templates_on_conflict | null)}) => anonymous_templates_mutation_responsePromiseChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_templates" */
insert_anonymous_templates_one: ((args: {
/** the row to be inserted */
object: anonymous_templates_insert_input,
/** upsert condition */
on_conflict?: (anonymous_templates_on_conflict | null)}) => anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_artifact_parcel" */
insert_artifact_package_artifact_parcel: ((args: {
/** the rows to be inserted */
objects: artifact_package_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)}) => artifact_package_artifact_parcel_mutation_responsePromiseChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_artifact_parcel" */
insert_artifact_package_artifact_parcel_one: ((args: {
/** the row to be inserted */
object: artifact_package_artifact_parcel_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)}) => artifact_package_artifact_parcelPromiseChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_cron" */
insert_artifact_package_cron: ((args: {
/** the rows to be inserted */
objects: artifact_package_cron_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_cron_on_conflict | null)}) => artifact_package_cron_mutation_responsePromiseChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_cron" */
insert_artifact_package_cron_one: ((args: {
/** the row to be inserted */
object: artifact_package_cron_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_cron_on_conflict | null)}) => artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_groups" */
insert_artifact_package_groups: ((args: {
/** the rows to be inserted */
objects: artifact_package_groups_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_groups_on_conflict | null)}) => artifact_package_groups_mutation_responsePromiseChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_groups" */
insert_artifact_package_groups_one: ((args: {
/** the row to be inserted */
object: artifact_package_groups_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_groups_on_conflict | null)}) => artifact_package_groupsPromiseChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** insert data into the table: "artifact_packages" */
insert_artifact_packages: ((args: {
/** the rows to be inserted */
objects: artifact_packages_insert_input[],
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}) => artifact_packages_mutation_responsePromiseChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_packages" */
insert_artifact_packages_one: ((args: {
/** the row to be inserted */
object: artifact_packages_insert_input,
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}) => artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** insert data into the table: "artifact_parcels" */
insert_artifact_parcels: ((args: {
/** the rows to be inserted */
objects: artifact_parcels_insert_input[],
/** upsert condition */
on_conflict?: (artifact_parcels_on_conflict | null)}) => artifact_parcels_mutation_responsePromiseChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_parcels" */
insert_artifact_parcels_one: ((args: {
/** the row to be inserted */
object: artifact_parcels_insert_input,
/** upsert condition */
on_conflict?: (artifact_parcels_on_conflict | null)}) => artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** insert data into the table: "categories" */
insert_categories: ((args: {
/** the rows to be inserted */
objects: categories_insert_input[],
/** upsert condition */
on_conflict?: (categories_on_conflict | null)}) => categories_mutation_responsePromiseChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Promise<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "categories" */
insert_categories_one: ((args: {
/** the row to be inserted */
object: categories_insert_input,
/** upsert condition */
on_conflict?: (categories_on_conflict | null)}) => categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Promise<(FieldsSelection<categories, R> | undefined)>}),
    
/** insert data into the table: "consent_approval_rejection_reasons" */
insert_consent_approval_rejection_reasons: ((args: {
/** the rows to be inserted */
objects: consent_approval_rejection_reasons_insert_input[],
/** upsert condition */
on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)}) => consent_approval_rejection_reasons_mutation_responsePromiseChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_approval_rejection_reasons" */
insert_consent_approval_rejection_reasons_one: ((args: {
/** the row to be inserted */
object: consent_approval_rejection_reasons_insert_input,
/** upsert condition */
on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)}) => consent_approval_rejection_reasonsPromiseChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** insert data into the table: "consent_patient" */
insert_consent_patient: ((args: {
/** the rows to be inserted */
objects: consent_patient_insert_input[],
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}) => consent_patient_mutation_responsePromiseChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_patient" */
insert_consent_patient_one: ((args: {
/** the row to be inserted */
object: consent_patient_insert_input,
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}) => consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** insert data into the table: "consent_status" */
insert_consent_status: ((args: {
/** the rows to be inserted */
objects: consent_status_insert_input[],
/** upsert condition */
on_conflict?: (consent_status_on_conflict | null)}) => consent_status_mutation_responsePromiseChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_status" */
insert_consent_status_one: ((args: {
/** the row to be inserted */
object: consent_status_insert_input,
/** upsert condition */
on_conflict?: (consent_status_on_conflict | null)}) => consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Promise<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** insert data into the table: "consent_template_to_template" */
insert_consent_template_to_template: ((args: {
/** the rows to be inserted */
objects: consent_template_to_template_insert_input[],
/** upsert condition */
on_conflict?: (consent_template_to_template_on_conflict | null)}) => consent_template_to_template_mutation_responsePromiseChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_template_to_template" */
insert_consent_template_to_template_one: ((args: {
/** the row to be inserted */
object: consent_template_to_template_insert_input,
/** upsert condition */
on_conflict?: (consent_template_to_template_on_conflict | null)}) => consent_template_to_templatePromiseChain & {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template, R> | undefined)>}),
    
/** insert data into the table: "consent_templates" */
insert_consent_templates: ((args: {
/** the rows to be inserted */
objects: consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}) => consent_templates_mutation_responsePromiseChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_templates" */
insert_consent_templates_one: ((args: {
/** the row to be inserted */
object: consent_templates_insert_input,
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}) => consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Promise<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** insert data into the table: "consents" */
insert_consents: ((args: {
/** the rows to be inserted */
objects: consents_insert_input[],
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}) => consents_mutation_responsePromiseChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consents" */
insert_consents_one: ((args: {
/** the row to be inserted */
object: consents_insert_input,
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}) => consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Promise<(FieldsSelection<consents, R> | undefined)>}),
    
/** insert data into the table: "context_group_context" */
insert_context_group_context: ((args: {
/** the rows to be inserted */
objects: context_group_context_insert_input[],
/** upsert condition */
on_conflict?: (context_group_context_on_conflict | null)}) => context_group_context_mutation_responsePromiseChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "context_group_context" */
insert_context_group_context_one: ((args: {
/** the row to be inserted */
object: context_group_context_insert_input,
/** upsert condition */
on_conflict?: (context_group_context_on_conflict | null)}) => context_group_contextPromiseChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Promise<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** insert data into the table: "contexts" */
insert_contexts: ((args: {
/** the rows to be inserted */
objects: contexts_insert_input[],
/** upsert condition */
on_conflict?: (contexts_on_conflict | null)}) => contexts_mutation_responsePromiseChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "contexts" */
insert_contexts_one: ((args: {
/** the row to be inserted */
object: contexts_insert_input,
/** upsert condition */
on_conflict?: (contexts_on_conflict | null)}) => contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    
/** insert data into the table: "custom_db_nodes" */
insert_custom_db_nodes: ((args: {
/** the rows to be inserted */
objects: custom_db_nodes_insert_input[],
/** upsert condition */
on_conflict?: (custom_db_nodes_on_conflict | null)}) => custom_db_nodes_mutation_responsePromiseChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "custom_db_nodes" */
insert_custom_db_nodes_one: ((args: {
/** the row to be inserted */
object: custom_db_nodes_insert_input,
/** upsert condition */
on_conflict?: (custom_db_nodes_on_conflict | null)}) => custom_db_nodesPromiseChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** insert data into the table: "directory_customers" */
insert_directory_customers: ((args: {
/** the rows to be inserted */
objects: directory_customers_insert_input[],
/** upsert condition */
on_conflict?: (directory_customers_on_conflict | null)}) => directory_customers_mutation_responsePromiseChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_customers" */
insert_directory_customers_one: ((args: {
/** the row to be inserted */
object: directory_customers_insert_input,
/** upsert condition */
on_conflict?: (directory_customers_on_conflict | null)}) => directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** insert data into the table: "directory_user_name" */
insert_directory_user_name: ((args: {
/** the rows to be inserted */
objects: directory_user_name_insert_input[],
/** upsert condition */
on_conflict?: (directory_user_name_on_conflict | null)}) => directory_user_name_mutation_responsePromiseChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_user_name" */
insert_directory_user_name_one: ((args: {
/** the row to be inserted */
object: directory_user_name_insert_input,
/** upsert condition */
on_conflict?: (directory_user_name_on_conflict | null)}) => directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** insert data into the table: "document_patient" */
insert_document_patient: ((args: {
/** the rows to be inserted */
objects: document_patient_insert_input[],
/** upsert condition */
on_conflict?: (document_patient_on_conflict | null)}) => document_patient_mutation_responsePromiseChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "document_patient" */
insert_document_patient_one: ((args: {
/** the row to be inserted */
object: document_patient_insert_input,
/** upsert condition */
on_conflict?: (document_patient_on_conflict | null)}) => document_patientPromiseChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Promise<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** insert data into the table: "document_sms" */
insert_document_sms: ((args: {
/** the rows to be inserted */
objects: document_sms_insert_input[]}) => document_sms_mutation_responsePromiseChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "document_sms" */
insert_document_sms_one: ((args: {
/** the row to be inserted */
object: document_sms_insert_input}) => document_smsPromiseChain & {get: <R extends document_smsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms, R> | undefined)) => Promise<(FieldsSelection<document_sms, R> | undefined)>}),
    
/** insert data into the table: "documents" */
insert_documents: ((args: {
/** the rows to be inserted */
objects: documents_insert_input[],
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}) => documents_mutation_responsePromiseChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "documents" */
insert_documents_one: ((args: {
/** the row to be inserted */
object: documents_insert_input,
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}) => documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    
/** insert data into the table: "event_artifact_package" */
insert_event_artifact_package: ((args: {
/** the rows to be inserted */
objects: event_artifact_package_insert_input[],
/** upsert condition */
on_conflict?: (event_artifact_package_on_conflict | null)}) => event_artifact_package_mutation_responsePromiseChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "event_artifact_package" */
insert_event_artifact_package_one: ((args: {
/** the row to be inserted */
object: event_artifact_package_insert_input,
/** upsert condition */
on_conflict?: (event_artifact_package_on_conflict | null)}) => event_artifact_packagePromiseChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** insert data into the table: "favorite_templates_order" */
insert_favorite_templates_order: ((args: {
/** the rows to be inserted */
objects: favorite_templates_order_insert_input[],
/** upsert condition */
on_conflict?: (favorite_templates_order_on_conflict | null)}) => favorite_templates_order_mutation_responsePromiseChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "favorite_templates_order" */
insert_favorite_templates_order_one: ((args: {
/** the row to be inserted */
object: favorite_templates_order_insert_input,
/** upsert condition */
on_conflict?: (favorite_templates_order_on_conflict | null)}) => favorite_templates_orderPromiseChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** insert data into the table: "favorites" */
insert_favorites: ((args: {
/** the rows to be inserted */
objects: favorites_insert_input[],
/** upsert condition */
on_conflict?: (favorites_on_conflict | null)}) => favorites_mutation_responsePromiseChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "favorites" */
insert_favorites_one: ((args: {
/** the row to be inserted */
object: favorites_insert_input,
/** upsert condition */
on_conflict?: (favorites_on_conflict | null)}) => favoritesPromiseChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Promise<(FieldsSelection<favorites, R> | undefined)>}),
    
/** insert data into the table: "filter_names" */
insert_filter_names: ((args: {
/** the rows to be inserted */
objects: filter_names_insert_input[],
/** upsert condition */
on_conflict?: (filter_names_on_conflict | null)}) => filter_names_mutation_responsePromiseChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "filter_names" */
insert_filter_names_one: ((args: {
/** the row to be inserted */
object: filter_names_insert_input,
/** upsert condition */
on_conflict?: (filter_names_on_conflict | null)}) => filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Promise<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** insert data into the table: "genesis_consent_permissions" */
insert_genesis_consent_permissions: ((args: {
/** the rows to be inserted */
objects: genesis_consent_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_permissions_on_conflict | null)}) => genesis_consent_permissions_mutation_responsePromiseChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_consent_permissions" */
insert_genesis_consent_permissions_one: ((args: {
/** the row to be inserted */
object: genesis_consent_permissions_insert_input,
/** upsert condition */
on_conflict?: (genesis_consent_permissions_on_conflict | null)}) => genesis_consent_permissionsPromiseChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** insert data into the table: "genesis_consent_templates" */
insert_genesis_consent_templates: ((args: {
/** the rows to be inserted */
objects: genesis_consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_templates_on_conflict | null)}) => genesis_consent_templates_mutation_responsePromiseChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_consent_templates" */
insert_genesis_consent_templates_one: ((args: {
/** the row to be inserted */
object: genesis_consent_templates_insert_input,
/** upsert condition */
on_conflict?: (genesis_consent_templates_on_conflict | null)}) => genesis_consent_templatesPromiseChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** insert data into the table: "genesis_denied_permissions" */
insert_genesis_denied_permissions: ((args: {
/** the rows to be inserted */
objects: genesis_denied_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_denied_permissions_on_conflict | null)}) => genesis_denied_permissions_mutation_responsePromiseChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_denied_permissions" */
insert_genesis_denied_permissions_one: ((args: {
/** the row to be inserted */
object: genesis_denied_permissions_insert_input,
/** upsert condition */
on_conflict?: (genesis_denied_permissions_on_conflict | null)}) => genesis_denied_permissionsPromiseChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** insert data into the table: "genesis_templates" */
insert_genesis_templates: ((args: {
/** the rows to be inserted */
objects: genesis_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_templates_on_conflict | null)}) => genesis_templates_mutation_responsePromiseChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_templates" */
insert_genesis_templates_one: ((args: {
/** the row to be inserted */
object: genesis_templates_insert_input,
/** upsert condition */
on_conflict?: (genesis_templates_on_conflict | null)}) => genesis_templatesPromiseChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** insert data into the table: "group_context" */
insert_group_context: ((args: {
/** the rows to be inserted */
objects: group_context_insert_input[],
/** upsert condition */
on_conflict?: (group_context_on_conflict | null)}) => group_context_mutation_responsePromiseChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "group_context_filters" */
insert_group_context_filters: ((args: {
/** the rows to be inserted */
objects: group_context_filters_insert_input[],
/** upsert condition */
on_conflict?: (group_context_filters_on_conflict | null)}) => group_context_filters_mutation_responsePromiseChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "group_context_filters" */
insert_group_context_filters_one: ((args: {
/** the row to be inserted */
object: group_context_filters_insert_input,
/** upsert condition */
on_conflict?: (group_context_filters_on_conflict | null)}) => group_context_filtersPromiseChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Promise<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** insert a single row into the table: "group_context" */
insert_group_context_one: ((args: {
/** the row to be inserted */
object: group_context_insert_input,
/** upsert condition */
on_conflict?: (group_context_on_conflict | null)}) => group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Promise<(FieldsSelection<group_context, R> | undefined)>}),
    
/** insert data into the table: "groups" */
insert_groups: ((args: {
/** the rows to be inserted */
objects: groups_insert_input[],
/** upsert condition */
on_conflict?: (groups_on_conflict | null)}) => groups_mutation_responsePromiseChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "groups" */
insert_groups_one: ((args: {
/** the row to be inserted */
object: groups_insert_input,
/** upsert condition */
on_conflict?: (groups_on_conflict | null)}) => groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Promise<(FieldsSelection<groups, R> | undefined)>}),
    
/** insert data into the table: "initiators" */
insert_initiators: ((args: {
/** the rows to be inserted */
objects: initiators_insert_input[],
/** upsert condition */
on_conflict?: (initiators_on_conflict | null)}) => initiators_mutation_responsePromiseChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Promise<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "initiators" */
insert_initiators_one: ((args: {
/** the row to be inserted */
object: initiators_insert_input,
/** upsert condition */
on_conflict?: (initiators_on_conflict | null)}) => initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Promise<(FieldsSelection<initiators, R> | undefined)>}),
    
/** insert data into the table: "migrations" */
insert_migrations: ((args: {
/** the rows to be inserted */
objects: migrations_insert_input[],
/** upsert condition */
on_conflict?: (migrations_on_conflict | null)}) => migrations_mutation_responsePromiseChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "migrations" */
insert_migrations_one: ((args: {
/** the row to be inserted */
object: migrations_insert_input,
/** upsert condition */
on_conflict?: (migrations_on_conflict | null)}) => migrationsPromiseChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Promise<(FieldsSelection<migrations, R> | undefined)>}),
    
/** insert data into the table: "organization_qnr_widget" */
insert_organization_qnr_widget: ((args: {
/** the rows to be inserted */
objects: organization_qnr_widget_insert_input[],
/** upsert condition */
on_conflict?: (organization_qnr_widget_on_conflict | null)}) => organization_qnr_widget_mutation_responsePromiseChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "organization_qnr_widget" */
insert_organization_qnr_widget_one: ((args: {
/** the row to be inserted */
object: organization_qnr_widget_insert_input,
/** upsert condition */
on_conflict?: (organization_qnr_widget_on_conflict | null)}) => organization_qnr_widgetPromiseChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** insert data into the table: "projects" */
insert_projects: ((args: {
/** the rows to be inserted */
objects: projects_insert_input[],
/** upsert condition */
on_conflict?: (projects_on_conflict | null)}) => projects_mutation_responsePromiseChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Promise<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "projects" */
insert_projects_one: ((args: {
/** the row to be inserted */
object: projects_insert_input,
/** upsert condition */
on_conflict?: (projects_on_conflict | null)}) => projectsPromiseChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Promise<(FieldsSelection<projects, R> | undefined)>}),
    
/** insert data into the table: "qnr_template_genesis_overrides" */
insert_qnr_template_genesis_overrides: ((args: {
/** the rows to be inserted */
objects: qnr_template_genesis_overrides_insert_input[],
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)}) => qnr_template_genesis_overrides_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "qnr_template_genesis_overrides_log" */
insert_qnr_template_genesis_overrides_log: ((args: {
/** the rows to be inserted */
objects: qnr_template_genesis_overrides_log_insert_input[],
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)}) => qnr_template_genesis_overrides_log_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "qnr_template_genesis_overrides_log" */
insert_qnr_template_genesis_overrides_log_one: ((args: {
/** the row to be inserted */
object: qnr_template_genesis_overrides_log_insert_input,
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)}) => qnr_template_genesis_overrides_logPromiseChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** insert a single row into the table: "qnr_template_genesis_overrides" */
insert_qnr_template_genesis_overrides_one: ((args: {
/** the row to be inserted */
object: qnr_template_genesis_overrides_insert_input,
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)}) => qnr_template_genesis_overridesPromiseChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** insert data into the table: "queries" */
insert_queries: ((args: {
/** the rows to be inserted */
objects: queries_insert_input[],
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}) => queries_mutation_responsePromiseChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "queries_cache" */
insert_queries_cache: ((args: {
/** the rows to be inserted */
objects: queries_cache_insert_input[],
/** upsert condition */
on_conflict?: (queries_cache_on_conflict | null)}) => queries_cache_mutation_responsePromiseChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_cache" */
insert_queries_cache_one: ((args: {
/** the row to be inserted */
object: queries_cache_insert_input,
/** upsert condition */
on_conflict?: (queries_cache_on_conflict | null)}) => queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** insert data into the table: "queries_error" */
insert_queries_error: ((args: {
/** the rows to be inserted */
objects: queries_error_insert_input[],
/** upsert condition */
on_conflict?: (queries_error_on_conflict | null)}) => queries_error_mutation_responsePromiseChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_error" */
insert_queries_error_one: ((args: {
/** the row to be inserted */
object: queries_error_insert_input,
/** upsert condition */
on_conflict?: (queries_error_on_conflict | null)}) => queries_errorPromiseChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Promise<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** insert data into the table: "queries_log" */
insert_queries_log: ((args: {
/** the rows to be inserted */
objects: queries_log_insert_input[],
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}) => queries_log_mutation_responsePromiseChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_log" */
insert_queries_log_one: ((args: {
/** the row to be inserted */
object: queries_log_insert_input,
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}) => queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** insert a single row into the table: "queries" */
insert_queries_one: ((args: {
/** the row to be inserted */
object: queries_insert_input,
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}) => queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** insert data into the table: "question_composite_question" */
insert_question_composite_question: ((args: {
/** the rows to be inserted */
objects: question_composite_question_insert_input[],
/** upsert condition */
on_conflict?: (question_composite_question_on_conflict | null)}) => question_composite_question_mutation_responsePromiseChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "question_composite_question" */
insert_question_composite_question_one: ((args: {
/** the row to be inserted */
object: question_composite_question_insert_input,
/** upsert condition */
on_conflict?: (question_composite_question_on_conflict | null)}) => question_composite_questionPromiseChain & {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question, R> | undefined)) => Promise<(FieldsSelection<question_composite_question, R> | undefined)>}),
    
/** insert data into the table: "question_template" */
insert_question_template: ((args: {
/** the rows to be inserted */
objects: question_template_insert_input[],
/** upsert condition */
on_conflict?: (question_template_on_conflict | null)}) => question_template_mutation_responsePromiseChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "question_template" */
insert_question_template_one: ((args: {
/** the row to be inserted */
object: question_template_insert_input,
/** upsert condition */
on_conflict?: (question_template_on_conflict | null)}) => question_templatePromiseChain & {get: <R extends question_templateRequest>(request: R, defaultValue?: (FieldsSelection<question_template, R> | undefined)) => Promise<(FieldsSelection<question_template, R> | undefined)>}),
    
/** insert data into the table: "questions" */
insert_questions: ((args: {
/** the rows to be inserted */
objects: questions_insert_input[],
/** upsert condition */
on_conflict?: (questions_on_conflict | null)}) => questions_mutation_responsePromiseChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "questions" */
insert_questions_one: ((args: {
/** the row to be inserted */
object: questions_insert_input,
/** upsert condition */
on_conflict?: (questions_on_conflict | null)}) => questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Promise<(FieldsSelection<questions, R> | undefined)>}),
    
/** insert data into the table: "security_levels" */
insert_security_levels: ((args: {
/** the rows to be inserted */
objects: security_levels_insert_input[],
/** upsert condition */
on_conflict?: (security_levels_on_conflict | null)}) => security_levels_mutation_responsePromiseChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "security_levels" */
insert_security_levels_one: ((args: {
/** the row to be inserted */
object: security_levels_insert_input,
/** upsert condition */
on_conflict?: (security_levels_on_conflict | null)}) => security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** insert data into the table: "settings" */
insert_settings: ((args: {
/** the rows to be inserted */
objects: settings_insert_input[],
/** upsert condition */
on_conflict?: (settings_on_conflict | null)}) => settings_mutation_responsePromiseChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Promise<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "settings" */
insert_settings_one: ((args: {
/** the row to be inserted */
object: settings_insert_input,
/** upsert condition */
on_conflict?: (settings_on_conflict | null)}) => settingsPromiseChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Promise<(FieldsSelection<settings, R> | undefined)>}),
    
/** insert data into the table: "shortcuts" */
insert_shortcuts: ((args: {
/** the rows to be inserted */
objects: shortcuts_insert_input[],
/** upsert condition */
on_conflict?: (shortcuts_on_conflict | null)}) => shortcuts_mutation_responsePromiseChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "shortcuts" */
insert_shortcuts_one: ((args: {
/** the row to be inserted */
object: shortcuts_insert_input,
/** upsert condition */
on_conflict?: (shortcuts_on_conflict | null)}) => shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Promise<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** insert data into the table: "sms" */
insert_sms: ((args: {
/** the rows to be inserted */
objects: sms_insert_input[],
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}) => sms_mutation_responsePromiseChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms" */
insert_sms_one: ((args: {
/** the row to be inserted */
object: sms_insert_input,
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}) => smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Promise<(FieldsSelection<sms, R> | undefined)>}),
    
/** insert data into the table: "sms_template_template" */
insert_sms_template_template: ((args: {
/** the rows to be inserted */
objects: sms_template_template_insert_input[],
/** upsert condition */
on_conflict?: (sms_template_template_on_conflict | null)}) => sms_template_template_mutation_responsePromiseChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms_template_template" */
insert_sms_template_template_one: ((args: {
/** the row to be inserted */
object: sms_template_template_insert_input,
/** upsert condition */
on_conflict?: (sms_template_template_on_conflict | null)}) => sms_template_templatePromiseChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Promise<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** insert data into the table: "sms_templates" */
insert_sms_templates: ((args: {
/** the rows to be inserted */
objects: sms_templates_insert_input[],
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}) => sms_templates_mutation_responsePromiseChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms_templates" */
insert_sms_templates_one: ((args: {
/** the row to be inserted */
object: sms_templates_insert_input,
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}) => sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** insert data into the table: "status" */
insert_status: ((args: {
/** the rows to be inserted */
objects: status_insert_input[],
/** upsert condition */
on_conflict?: (status_on_conflict | null)}) => status_mutation_responsePromiseChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "status" */
insert_status_one: ((args: {
/** the row to be inserted */
object: status_insert_input,
/** upsert condition */
on_conflict?: (status_on_conflict | null)}) => statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Promise<(FieldsSelection<status, R> | undefined)>}),
    
/** insert data into the table: "table_names" */
insert_table_names: ((args: {
/** the rows to be inserted */
objects: table_names_insert_input[],
/** upsert condition */
on_conflict?: (table_names_on_conflict | null)}) => table_names_mutation_responsePromiseChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "table_names" */
insert_table_names_one: ((args: {
/** the row to be inserted */
object: table_names_insert_input,
/** upsert condition */
on_conflict?: (table_names_on_conflict | null)}) => table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Promise<(FieldsSelection<table_names, R> | undefined)>}),
    
/** insert data into the table: "template_artifact_parcel" */
insert_template_artifact_parcel: ((args: {
/** the rows to be inserted */
objects: template_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (template_artifact_parcel_on_conflict | null)}) => template_artifact_parcel_mutation_responsePromiseChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_artifact_parcel" */
insert_template_artifact_parcel_one: ((args: {
/** the row to be inserted */
object: template_artifact_parcel_insert_input,
/** upsert condition */
on_conflict?: (template_artifact_parcel_on_conflict | null)}) => template_artifact_parcelPromiseChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** insert data into the table: "template_cache" */
insert_template_cache: ((args: {
/** the rows to be inserted */
objects: template_cache_insert_input[],
/** upsert condition */
on_conflict?: (template_cache_on_conflict | null)}) => template_cache_mutation_responsePromiseChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "template_cache_access" */
insert_template_cache_access: ((args: {
/** the rows to be inserted */
objects: template_cache_access_insert_input[],
/** upsert condition */
on_conflict?: (template_cache_access_on_conflict | null)}) => template_cache_access_mutation_responsePromiseChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_cache_access" */
insert_template_cache_access_one: ((args: {
/** the row to be inserted */
object: template_cache_access_insert_input,
/** upsert condition */
on_conflict?: (template_cache_access_on_conflict | null)}) => template_cache_accessPromiseChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Promise<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** insert a single row into the table: "template_cache" */
insert_template_cache_one: ((args: {
/** the row to be inserted */
object: template_cache_insert_input,
/** upsert condition */
on_conflict?: (template_cache_on_conflict | null)}) => template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** insert data into the table: "template_flags" */
insert_template_flags: ((args: {
/** the rows to be inserted */
objects: template_flags_insert_input[]}) => template_flags_mutation_responsePromiseChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_flags" */
insert_template_flags_one: ((args: {
/** the row to be inserted */
object: template_flags_insert_input}) => template_flagsPromiseChain & {get: <R extends template_flagsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags, R> | undefined)) => Promise<(FieldsSelection<template_flags, R> | undefined)>}),
    
/** insert data into the table: "template_journal_roles" */
insert_template_journal_roles: ((args: {
/** the rows to be inserted */
objects: template_journal_roles_insert_input[],
/** upsert condition */
on_conflict?: (template_journal_roles_on_conflict | null)}) => template_journal_roles_mutation_responsePromiseChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_journal_roles" */
insert_template_journal_roles_one: ((args: {
/** the row to be inserted */
object: template_journal_roles_insert_input,
/** upsert condition */
on_conflict?: (template_journal_roles_on_conflict | null)}) => template_journal_rolesPromiseChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** insert data into the table: "template_offer_types" */
insert_template_offer_types: ((args: {
/** the rows to be inserted */
objects: template_offer_types_insert_input[],
/** upsert condition */
on_conflict?: (template_offer_types_on_conflict | null)}) => template_offer_types_mutation_responsePromiseChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_offer_types" */
insert_template_offer_types_one: ((args: {
/** the row to be inserted */
object: template_offer_types_insert_input,
/** upsert condition */
on_conflict?: (template_offer_types_on_conflict | null)}) => template_offer_typesPromiseChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Promise<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** insert data into the table: "template_offers" */
insert_template_offers: ((args: {
/** the rows to be inserted */
objects: template_offers_insert_input[],
/** upsert condition */
on_conflict?: (template_offers_on_conflict | null)}) => template_offers_mutation_responsePromiseChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_offers" */
insert_template_offers_one: ((args: {
/** the row to be inserted */
object: template_offers_insert_input,
/** upsert condition */
on_conflict?: (template_offers_on_conflict | null)}) => template_offersPromiseChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Promise<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** insert data into the table: "templates" */
insert_templates: ((args: {
/** the rows to be inserted */
objects: templates_insert_input[],
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}) => templates_mutation_responsePromiseChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "templates" */
insert_templates_one: ((args: {
/** the row to be inserted */
object: templates_insert_input,
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}) => templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** insert data into the table: "types" */
insert_types: ((args: {
/** the rows to be inserted */
objects: types_insert_input[],
/** upsert condition */
on_conflict?: (types_on_conflict | null)}) => types_mutation_responsePromiseChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "types" */
insert_types_one: ((args: {
/** the row to be inserted */
object: types_insert_input,
/** upsert condition */
on_conflict?: (types_on_conflict | null)}) => typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Promise<(FieldsSelection<types, R> | undefined)>}),
    
/** qnrResponse */
qnrResponse: ((args: {participants: Participant[],qnrs: qnrs_ActionType[],shareQnr?: (Scalars['Boolean'] | null),withPostToConnector?: (Scalars['Boolean'] | null),withPrefillFromConnector?: (Scalars['Boolean'] | null),withPropertiesToReturn?: (Scalars['Boolean'] | null),withSave?: (Scalars['Boolean'] | null)}) => qnrs_ActionTypeResponseDataPromiseChain & {get: <R extends qnrs_ActionTypeResponseDataRequest>(request: R, defaultValue?: (FieldsSelection<qnrs_ActionTypeResponseData, R> | undefined)) => Promise<(FieldsSelection<qnrs_ActionTypeResponseData, R> | undefined)>}),
    
/** Send sms */
sendSms: ((args?: {objects?: (SmsInput[] | null)}) => SmsOutputPromiseChain & {get: <R extends SmsOutputRequest>(request: R, defaultValue?: (FieldsSelection<SmsOutput, R> | undefined)) => Promise<(FieldsSelection<SmsOutput, R> | undefined)>})&(SmsOutputPromiseChain & {get: <R extends SmsOutputRequest>(request: R, defaultValue?: (FieldsSelection<SmsOutput, R> | undefined)) => Promise<(FieldsSelection<SmsOutput, R> | undefined)>}),
    
/** update data of the table: "DocKladd_properties" */
update_DocKladd_properties: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (DocKladd_properties_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_properties_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_properties_bool_exp}) => DocKladd_properties_mutation_responsePromiseChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "DocKladd_properties" */
update_DocKladd_properties_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (DocKladd_properties_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_properties_set_input | null),pk_columns: DocKladd_properties_pk_columns_input}) => DocKladd_propertiesPromiseChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** update multiples rows of table: "DocKladd_properties" */
update_DocKladd_properties_many: ((args: {
/** updates to execute, in order */
updates: DocKladd_properties_updates[]}) => {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "DocKladd_questions" */
update_DocKladd_questions: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_questions_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_questions_bool_exp}) => DocKladd_questions_mutation_responsePromiseChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "DocKladd_questions" */
update_DocKladd_questions_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_questions_set_input | null),pk_columns: DocKladd_questions_pk_columns_input}) => DocKladd_questionsPromiseChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** update multiples rows of table: "DocKladd_questions" */
update_DocKladd_questions_many: ((args: {
/** updates to execute, in order */
updates: DocKladd_questions_updates[]}) => {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "accessible" */
update_accessible: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (accessible_set_input | null),
/** filter the rows which have to be updated */
where: accessible_bool_exp}) => accessible_mutation_responsePromiseChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Promise<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "accessible" */
update_accessible_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (accessible_set_input | null),pk_columns: accessible_pk_columns_input}) => accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    
/** update multiples rows of table: "accessible" */
update_accessible_many: ((args: {
/** updates to execute, in order */
updates: accessible_updates[]}) => {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<accessible_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<accessible_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (adopus_AdgangLinjer_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (adopus_AdgangLinjer_set_input | null),
/** filter the rows which have to be updated */
where: adopus_AdgangLinjer_bool_exp}) => adopus_AdgangLinjer_mutation_responsePromiseChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (adopus_AdgangLinjer_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (adopus_AdgangLinjer_set_input | null),pk_columns: adopus_AdgangLinjer_pk_columns_input}) => adopus_AdgangLinjerPromiseChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** update multiples rows of table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer_many: ((args: {
/** updates to execute, in order */
updates: adopus_AdgangLinjer_updates[]}) => {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_answers" */
update_anonymous_answers: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_answers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_answers_delete_at_path_input | null),
/** 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_elem?: (anonymous_answers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_answers_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_answers_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_answers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_answers_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_answers_bool_exp}) => anonymous_answers_mutation_responsePromiseChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_answers" */
update_anonymous_answers_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_answers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_answers_delete_at_path_input | null),
/** 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_elem?: (anonymous_answers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_answers_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_answers_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_answers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_answers_set_input | null),pk_columns: anonymous_answers_pk_columns_input}) => anonymous_answersPromiseChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_answers" */
update_anonymous_answers_many: ((args: {
/** updates to execute, in order */
updates: anonymous_answers_updates[]}) => {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_answers_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_answers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_invitations" */
update_anonymous_invitations: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_invitations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_invitations_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_invitations_bool_exp}) => anonymous_invitations_mutation_responsePromiseChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_invitations" */
update_anonymous_invitations_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_invitations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_invitations_set_input | null),pk_columns: anonymous_invitations_pk_columns_input}) => anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_invitations" */
update_anonymous_invitations_many: ((args: {
/** updates to execute, in order */
updates: anonymous_invitations_updates[]}) => {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_queries" */
update_anonymous_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_queries_delete_at_path_input | null),
/** 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_elem?: (anonymous_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_queries_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_queries_bool_exp}) => anonymous_queries_mutation_responsePromiseChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_queries" */
update_anonymous_queries_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_queries_delete_at_path_input | null),
/** 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_elem?: (anonymous_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_queries_set_input | null),pk_columns: anonymous_queries_pk_columns_input}) => anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_queries" */
update_anonymous_queries_many: ((args: {
/** updates to execute, in order */
updates: anonymous_queries_updates[]}) => {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_queries_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_sms" */
update_anonymous_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_sms_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_sms_bool_exp}) => anonymous_sms_mutation_responsePromiseChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_sms" */
update_anonymous_sms_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_sms_set_input | null),pk_columns: anonymous_sms_pk_columns_input}) => anonymous_smsPromiseChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_sms" */
update_anonymous_sms_many: ((args: {
/** updates to execute, in order */
updates: anonymous_sms_updates[]}) => {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_sms_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_template_question" */
update_anonymous_template_question: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_template_question_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_template_question_delete_at_path_input | null),
/** 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_elem?: (anonymous_template_question_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_template_question_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_template_question_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_template_question_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_template_question_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_template_question_bool_exp}) => anonymous_template_question_mutation_responsePromiseChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_template_question" */
update_anonymous_template_question_many: ((args: {
/** updates to execute, in order */
updates: anonymous_template_question_updates[]}) => {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_templates" */
update_anonymous_templates: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_templates_delete_at_path_input | null),
/** 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_elem?: (anonymous_templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_templates_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_templates_bool_exp}) => anonymous_templates_mutation_responsePromiseChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_templates" */
update_anonymous_templates_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_templates_delete_at_path_input | null),
/** 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_elem?: (anonymous_templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_templates_set_input | null),pk_columns: anonymous_templates_pk_columns_input}) => anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_templates" */
update_anonymous_templates_many: ((args: {
/** updates to execute, in order */
updates: anonymous_templates_updates[]}) => {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<anonymous_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_artifact_parcel_bool_exp}) => artifact_package_artifact_parcel_mutation_responsePromiseChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_artifact_parcel_set_input | null),pk_columns: artifact_package_artifact_parcel_pk_columns_input}) => artifact_package_artifact_parcelPromiseChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_artifact_parcel_updates[]}) => {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_cron" */
update_artifact_package_cron: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_cron_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_cron_bool_exp}) => artifact_package_cron_mutation_responsePromiseChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_cron" */
update_artifact_package_cron_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_cron_set_input | null),pk_columns: artifact_package_cron_pk_columns_input}) => artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_cron" */
update_artifact_package_cron_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_cron_updates[]}) => {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_groups" */
update_artifact_package_groups: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (artifact_package_groups_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_groups_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_groups_bool_exp}) => artifact_package_groups_mutation_responsePromiseChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_groups" */
update_artifact_package_groups_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (artifact_package_groups_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_groups_set_input | null),pk_columns: artifact_package_groups_pk_columns_input}) => artifact_package_groupsPromiseChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_groups" */
update_artifact_package_groups_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_groups_updates[]}) => {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_packages" */
update_artifact_packages: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_packages_set_input | null),
/** filter the rows which have to be updated */
where: artifact_packages_bool_exp}) => artifact_packages_mutation_responsePromiseChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_packages" */
update_artifact_packages_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_packages_set_input | null),pk_columns: artifact_packages_pk_columns_input}) => artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_packages" */
update_artifact_packages_many: ((args: {
/** updates to execute, in order */
updates: artifact_packages_updates[]}) => {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_packages_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<artifact_packages_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_parcels" */
update_artifact_parcels: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_parcels_set_input | null),
/** filter the rows which have to be updated */
where: artifact_parcels_bool_exp}) => artifact_parcels_mutation_responsePromiseChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_parcels" */
update_artifact_parcels_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_parcels_set_input | null),pk_columns: artifact_parcels_pk_columns_input}) => artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_parcels" */
update_artifact_parcels_many: ((args: {
/** updates to execute, in order */
updates: artifact_parcels_updates[]}) => {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_parcels_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<artifact_parcels_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "categories" */
update_categories: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (categories_set_input | null),
/** filter the rows which have to be updated */
where: categories_bool_exp}) => categories_mutation_responsePromiseChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Promise<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "categories" */
update_categories_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (categories_set_input | null),pk_columns: categories_pk_columns_input}) => categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Promise<(FieldsSelection<categories, R> | undefined)>}),
    
/** update multiples rows of table: "categories" */
update_categories_many: ((args: {
/** updates to execute, in order */
updates: categories_updates[]}) => {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<categories_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<categories_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_approval_rejection_reasons_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_approval_rejection_reasons_set_input | null),
/** filter the rows which have to be updated */
where: consent_approval_rejection_reasons_bool_exp}) => consent_approval_rejection_reasons_mutation_responsePromiseChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_approval_rejection_reasons_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_approval_rejection_reasons_set_input | null),pk_columns: consent_approval_rejection_reasons_pk_columns_input}) => consent_approval_rejection_reasonsPromiseChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** update multiples rows of table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons_many: ((args: {
/** updates to execute, in order */
updates: consent_approval_rejection_reasons_updates[]}) => {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_patient" */
update_consent_patient: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_patient_set_input | null),
/** filter the rows which have to be updated */
where: consent_patient_bool_exp}) => consent_patient_mutation_responsePromiseChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_patient" */
update_consent_patient_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_patient_set_input | null),pk_columns: consent_patient_pk_columns_input}) => consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** update multiples rows of table: "consent_patient" */
update_consent_patient_many: ((args: {
/** updates to execute, in order */
updates: consent_patient_updates[]}) => {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_patient_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consent_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_status" */
update_consent_status: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (consent_status_set_input | null),
/** filter the rows which have to be updated */
where: consent_status_bool_exp}) => consent_status_mutation_responsePromiseChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_status" */
update_consent_status_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (consent_status_set_input | null),pk_columns: consent_status_pk_columns_input}) => consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Promise<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** update multiples rows of table: "consent_status" */
update_consent_status_many: ((args: {
/** updates to execute, in order */
updates: consent_status_updates[]}) => {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_status_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consent_status_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_template_to_template" */
update_consent_template_to_template: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_template_to_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_template_to_template_set_input | null),
/** filter the rows which have to be updated */
where: consent_template_to_template_bool_exp}) => consent_template_to_template_mutation_responsePromiseChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "consent_template_to_template" */
update_consent_template_to_template_many: ((args: {
/** updates to execute, in order */
updates: consent_template_to_template_updates[]}) => {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_templates" */
update_consent_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: consent_templates_bool_exp}) => consent_templates_mutation_responsePromiseChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_templates" */
update_consent_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_templates_set_input | null),pk_columns: consent_templates_pk_columns_input}) => consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Promise<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** update multiples rows of table: "consent_templates" */
update_consent_templates_many: ((args: {
/** updates to execute, in order */
updates: consent_templates_updates[]}) => {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consent_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consents" */
update_consents: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consents_set_input | null),
/** filter the rows which have to be updated */
where: consents_bool_exp}) => consents_mutation_responsePromiseChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consents" */
update_consents_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consents_set_input | null),pk_columns: consents_pk_columns_input}) => consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Promise<(FieldsSelection<consents, R> | undefined)>}),
    
/** update multiples rows of table: "consents" */
update_consents_many: ((args: {
/** updates to execute, in order */
updates: consents_updates[]}) => {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consents_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<consents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "context_group_context" */
update_context_group_context: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (context_group_context_set_input | null),
/** filter the rows which have to be updated */
where: context_group_context_bool_exp}) => context_group_context_mutation_responsePromiseChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "context_group_context" */
update_context_group_context_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (context_group_context_set_input | null),pk_columns: context_group_context_pk_columns_input}) => context_group_contextPromiseChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Promise<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** update multiples rows of table: "context_group_context" */
update_context_group_context_many: ((args: {
/** updates to execute, in order */
updates: context_group_context_updates[]}) => {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<context_group_context_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<context_group_context_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "contexts" */
update_contexts: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (contexts_set_input | null),
/** filter the rows which have to be updated */
where: contexts_bool_exp}) => contexts_mutation_responsePromiseChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "contexts" */
update_contexts_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (contexts_set_input | null),pk_columns: contexts_pk_columns_input}) => contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    
/** update multiples rows of table: "contexts" */
update_contexts_many: ((args: {
/** updates to execute, in order */
updates: contexts_updates[]}) => {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<contexts_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<contexts_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "custom_db_nodes" */
update_custom_db_nodes: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (custom_db_nodes_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
/** 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_elem?: (custom_db_nodes_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (custom_db_nodes_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (custom_db_nodes_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (custom_db_nodes_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (custom_db_nodes_set_input | null),
/** filter the rows which have to be updated */
where: custom_db_nodes_bool_exp}) => custom_db_nodes_mutation_responsePromiseChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "custom_db_nodes" */
update_custom_db_nodes_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (custom_db_nodes_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
/** 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_elem?: (custom_db_nodes_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (custom_db_nodes_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (custom_db_nodes_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (custom_db_nodes_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (custom_db_nodes_set_input | null),pk_columns: custom_db_nodes_pk_columns_input}) => custom_db_nodesPromiseChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** update multiples rows of table: "custom_db_nodes" */
update_custom_db_nodes_many: ((args: {
/** updates to execute, in order */
updates: custom_db_nodes_updates[]}) => {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_customers" */
update_directory_customers: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_customers_set_input | null),
/** filter the rows which have to be updated */
where: directory_customers_bool_exp}) => directory_customers_mutation_responsePromiseChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_customers" */
update_directory_customers_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_customers_set_input | null),pk_columns: directory_customers_pk_columns_input}) => directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** update multiples rows of table: "directory_customers" */
update_directory_customers_many: ((args: {
/** updates to execute, in order */
updates: directory_customers_updates[]}) => {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_customers_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_customers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_user_name" */
update_directory_user_name: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_name_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_name_bool_exp}) => directory_user_name_mutation_responsePromiseChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_user_name" */
update_directory_user_name_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_name_set_input | null),pk_columns: directory_user_name_pk_columns_input}) => directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** update multiples rows of table: "directory_user_name" */
update_directory_user_name_many: ((args: {
/** updates to execute, in order */
updates: directory_user_name_updates[]}) => {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_user_name_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_user_name_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "document_patient" */
update_document_patient: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_patient_set_input | null),
/** filter the rows which have to be updated */
where: document_patient_bool_exp}) => document_patient_mutation_responsePromiseChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "document_patient" */
update_document_patient_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_patient_set_input | null),pk_columns: document_patient_pk_columns_input}) => document_patientPromiseChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Promise<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** update multiples rows of table: "document_patient" */
update_document_patient_many: ((args: {
/** updates to execute, in order */
updates: document_patient_updates[]}) => {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<document_patient_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<document_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "document_sms" */
update_document_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_sms_set_input | null),
/** filter the rows which have to be updated */
where: document_sms_bool_exp}) => document_sms_mutation_responsePromiseChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "document_sms" */
update_document_sms_many: ((args: {
/** updates to execute, in order */
updates: document_sms_updates[]}) => {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<document_sms_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<document_sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "documents" */
update_documents: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (documents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (documents_set_input | null),
/** filter the rows which have to be updated */
where: documents_bool_exp}) => documents_mutation_responsePromiseChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "documents" */
update_documents_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (documents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (documents_set_input | null),pk_columns: documents_pk_columns_input}) => documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    
/** update multiples rows of table: "documents" */
update_documents_many: ((args: {
/** updates to execute, in order */
updates: documents_updates[]}) => {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<documents_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<documents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "event_artifact_package" */
update_event_artifact_package: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (event_artifact_package_set_input | null),
/** filter the rows which have to be updated */
where: event_artifact_package_bool_exp}) => event_artifact_package_mutation_responsePromiseChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "event_artifact_package" */
update_event_artifact_package_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (event_artifact_package_set_input | null),pk_columns: event_artifact_package_pk_columns_input}) => event_artifact_packagePromiseChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** update multiples rows of table: "event_artifact_package" */
update_event_artifact_package_many: ((args: {
/** updates to execute, in order */
updates: event_artifact_package_updates[]}) => {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<event_artifact_package_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<event_artifact_package_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "favorite_templates_order" */
update_favorite_templates_order: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorite_templates_order_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorite_templates_order_set_input | null),
/** filter the rows which have to be updated */
where: favorite_templates_order_bool_exp}) => favorite_templates_order_mutation_responsePromiseChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "favorite_templates_order" */
update_favorite_templates_order_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorite_templates_order_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorite_templates_order_set_input | null),pk_columns: favorite_templates_order_pk_columns_input}) => favorite_templates_orderPromiseChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** update multiples rows of table: "favorite_templates_order" */
update_favorite_templates_order_many: ((args: {
/** updates to execute, in order */
updates: favorite_templates_order_updates[]}) => {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "favorites" */
update_favorites: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorites_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorites_set_input | null),
/** filter the rows which have to be updated */
where: favorites_bool_exp}) => favorites_mutation_responsePromiseChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Promise<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "favorites" */
update_favorites_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorites_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorites_set_input | null),pk_columns: favorites_pk_columns_input}) => favoritesPromiseChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Promise<(FieldsSelection<favorites, R> | undefined)>}),
    
/** update multiples rows of table: "favorites" */
update_favorites_many: ((args: {
/** updates to execute, in order */
updates: favorites_updates[]}) => {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<favorites_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<favorites_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "filter_names" */
update_filter_names: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (filter_names_set_input | null),
/** filter the rows which have to be updated */
where: filter_names_bool_exp}) => filter_names_mutation_responsePromiseChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "filter_names" */
update_filter_names_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (filter_names_set_input | null),pk_columns: filter_names_pk_columns_input}) => filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Promise<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** update multiples rows of table: "filter_names" */
update_filter_names_many: ((args: {
/** updates to execute, in order */
updates: filter_names_updates[]}) => {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<filter_names_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<filter_names_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_consent_permissions" */
update_genesis_consent_permissions: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_permissions_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_permissions_bool_exp}) => genesis_consent_permissions_mutation_responsePromiseChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_consent_permissions" */
update_genesis_consent_permissions_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_permissions_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_permissions_set_input | null),pk_columns: genesis_consent_permissions_pk_columns_input}) => genesis_consent_permissionsPromiseChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_consent_permissions" */
update_genesis_consent_permissions_many: ((args: {
/** updates to execute, in order */
updates: genesis_consent_permissions_updates[]}) => {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_consent_templates" */
update_genesis_consent_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_templates_bool_exp}) => genesis_consent_templates_mutation_responsePromiseChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_consent_templates" */
update_genesis_consent_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_templates_set_input | null),pk_columns: genesis_consent_templates_pk_columns_input}) => genesis_consent_templatesPromiseChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_consent_templates" */
update_genesis_consent_templates_many: ((args: {
/** updates to execute, in order */
updates: genesis_consent_templates_updates[]}) => {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_denied_permissions" */
update_genesis_denied_permissions: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_denied_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_denied_permissions_bool_exp}) => genesis_denied_permissions_mutation_responsePromiseChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_denied_permissions" */
update_genesis_denied_permissions_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_denied_permissions_set_input | null),pk_columns: genesis_denied_permissions_pk_columns_input}) => genesis_denied_permissionsPromiseChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_denied_permissions" */
update_genesis_denied_permissions_many: ((args: {
/** updates to execute, in order */
updates: genesis_denied_permissions_updates[]}) => {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_templates" */
update_genesis_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_templates_bool_exp}) => genesis_templates_mutation_responsePromiseChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_templates" */
update_genesis_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_templates_set_input | null),pk_columns: genesis_templates_pk_columns_input}) => genesis_templatesPromiseChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_templates" */
update_genesis_templates_many: ((args: {
/** updates to execute, in order */
updates: genesis_templates_updates[]}) => {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<genesis_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "group_context" */
update_group_context: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_set_input | null),
/** filter the rows which have to be updated */
where: group_context_bool_exp}) => group_context_mutation_responsePromiseChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "group_context" */
update_group_context_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_set_input | null),pk_columns: group_context_pk_columns_input}) => group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Promise<(FieldsSelection<group_context, R> | undefined)>}),
    
/** update data of the table: "group_context_filters" */
update_group_context_filters: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_filters_set_input | null),
/** filter the rows which have to be updated */
where: group_context_filters_bool_exp}) => group_context_filters_mutation_responsePromiseChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Promise<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "group_context_filters" */
update_group_context_filters_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_filters_set_input | null),pk_columns: group_context_filters_pk_columns_input}) => group_context_filtersPromiseChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Promise<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** update multiples rows of table: "group_context_filters" */
update_group_context_filters_many: ((args: {
/** updates to execute, in order */
updates: group_context_filters_updates[]}) => {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<group_context_filters_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<group_context_filters_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "group_context" */
update_group_context_many: ((args: {
/** updates to execute, in order */
updates: group_context_updates[]}) => {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<group_context_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<group_context_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "groups" */
update_groups: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (groups_set_input | null),
/** filter the rows which have to be updated */
where: groups_bool_exp}) => groups_mutation_responsePromiseChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Promise<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "groups" */
update_groups_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (groups_set_input | null),pk_columns: groups_pk_columns_input}) => groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Promise<(FieldsSelection<groups, R> | undefined)>}),
    
/** update multiples rows of table: "groups" */
update_groups_many: ((args: {
/** updates to execute, in order */
updates: groups_updates[]}) => {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<groups_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<groups_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "initiators" */
update_initiators: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (initiators_set_input | null),
/** filter the rows which have to be updated */
where: initiators_bool_exp}) => initiators_mutation_responsePromiseChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Promise<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "initiators" */
update_initiators_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (initiators_set_input | null),pk_columns: initiators_pk_columns_input}) => initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Promise<(FieldsSelection<initiators, R> | undefined)>}),
    
/** update multiples rows of table: "initiators" */
update_initiators_many: ((args: {
/** updates to execute, in order */
updates: initiators_updates[]}) => {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<initiators_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<initiators_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "migrations" */
update_migrations: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (migrations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (migrations_set_input | null),
/** filter the rows which have to be updated */
where: migrations_bool_exp}) => migrations_mutation_responsePromiseChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Promise<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "migrations" */
update_migrations_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (migrations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (migrations_set_input | null),pk_columns: migrations_pk_columns_input}) => migrationsPromiseChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Promise<(FieldsSelection<migrations, R> | undefined)>}),
    
/** update multiples rows of table: "migrations" */
update_migrations_many: ((args: {
/** updates to execute, in order */
updates: migrations_updates[]}) => {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<migrations_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<migrations_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "organization_qnr_widget" */
update_organization_qnr_widget: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (organization_qnr_widget_set_input | null),
/** filter the rows which have to be updated */
where: organization_qnr_widget_bool_exp}) => organization_qnr_widget_mutation_responsePromiseChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "organization_qnr_widget" */
update_organization_qnr_widget_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (organization_qnr_widget_set_input | null),pk_columns: organization_qnr_widget_pk_columns_input}) => organization_qnr_widgetPromiseChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** update multiples rows of table: "organization_qnr_widget" */
update_organization_qnr_widget_many: ((args: {
/** updates to execute, in order */
updates: organization_qnr_widget_updates[]}) => {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "projects" */
update_projects: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (projects_set_input | null),
/** filter the rows which have to be updated */
where: projects_bool_exp}) => projects_mutation_responsePromiseChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Promise<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "projects" */
update_projects_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (projects_set_input | null),pk_columns: projects_pk_columns_input}) => projectsPromiseChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Promise<(FieldsSelection<projects, R> | undefined)>}),
    
/** update multiples rows of table: "projects" */
update_projects_many: ((args: {
/** updates to execute, in order */
updates: projects_updates[]}) => {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<projects_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<projects_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_bool_exp}) => qnr_template_genesis_overrides_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_set_input | null),pk_columns: qnr_template_genesis_overrides_pk_columns_input}) => qnr_template_genesis_overridesPromiseChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** update data of the table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (qnr_template_genesis_overrides_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_log_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_log_bool_exp}) => qnr_template_genesis_overrides_log_mutation_responsePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (qnr_template_genesis_overrides_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_log_set_input | null),pk_columns: qnr_template_genesis_overrides_log_pk_columns_input}) => qnr_template_genesis_overrides_logPromiseChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** update multiples rows of table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log_many: ((args: {
/** updates to execute, in order */
updates: qnr_template_genesis_overrides_log_updates[]}) => {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides_many: ((args: {
/** updates to execute, in order */
updates: qnr_template_genesis_overrides_updates[]}) => {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries" */
update_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_delete_at_path_input | null),
/** 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_elem?: (queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_set_input | null),
/** filter the rows which have to be updated */
where: queries_bool_exp}) => queries_mutation_responsePromiseChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries" */
update_queries_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_delete_at_path_input | null),
/** 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_elem?: (queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_set_input | null),pk_columns: queries_pk_columns_input}) => queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** update data of the table: "queries_cache" */
update_queries_cache: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_cache_delete_at_path_input | null),
/** 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_elem?: (queries_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_cache_set_input | null),
/** filter the rows which have to be updated */
where: queries_cache_bool_exp}) => queries_cache_mutation_responsePromiseChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_cache" */
update_queries_cache_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_cache_delete_at_path_input | null),
/** 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_elem?: (queries_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_cache_set_input | null),pk_columns: queries_cache_pk_columns_input}) => queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** update multiples rows of table: "queries_cache" */
update_queries_cache_many: ((args: {
/** updates to execute, in order */
updates: queries_cache_updates[]}) => {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_cache_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<queries_cache_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries_error" */
update_queries_error: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_error_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_error_delete_at_path_input | null),
/** 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_elem?: (queries_error_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_error_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_error_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_error_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_error_set_input | null),
/** filter the rows which have to be updated */
where: queries_error_bool_exp}) => queries_error_mutation_responsePromiseChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_error" */
update_queries_error_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_error_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_error_delete_at_path_input | null),
/** 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_elem?: (queries_error_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_error_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_error_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_error_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_error_set_input | null),pk_columns: queries_error_pk_columns_input}) => queries_errorPromiseChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Promise<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** update multiples rows of table: "queries_error" */
update_queries_error_many: ((args: {
/** updates to execute, in order */
updates: queries_error_updates[]}) => {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_error_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<queries_error_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries_log" */
update_queries_log: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_log_delete_at_path_input | null),
/** 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_elem?: (queries_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_log_set_input | null),
/** filter the rows which have to be updated */
where: queries_log_bool_exp}) => queries_log_mutation_responsePromiseChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Promise<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_log" */
update_queries_log_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_log_delete_at_path_input | null),
/** 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_elem?: (queries_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_log_set_input | null),pk_columns: queries_log_pk_columns_input}) => queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** update multiples rows of table: "queries_log" */
update_queries_log_many: ((args: {
/** updates to execute, in order */
updates: queries_log_updates[]}) => {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_log_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<queries_log_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "queries" */
update_queries_many: ((args: {
/** updates to execute, in order */
updates: queries_updates[]}) => {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "question_composite_question" */
update_question_composite_question: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_composite_question_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_composite_question_set_input | null),
/** filter the rows which have to be updated */
where: question_composite_question_bool_exp}) => question_composite_question_mutation_responsePromiseChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "question_composite_question" */
update_question_composite_question_many: ((args: {
/** updates to execute, in order */
updates: question_composite_question_updates[]}) => {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<question_composite_question_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<question_composite_question_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "question_template" */
update_question_template: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (question_template_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (question_template_delete_at_path_input | null),
/** 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_elem?: (question_template_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (question_template_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_template_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (question_template_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_template_set_input | null),
/** filter the rows which have to be updated */
where: question_template_bool_exp}) => question_template_mutation_responsePromiseChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "question_template" */
update_question_template_many: ((args: {
/** updates to execute, in order */
updates: question_template_updates[]}) => {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<question_template_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<question_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "questions" */
update_questions: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (questions_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (questions_delete_at_path_input | null),
/** 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_elem?: (questions_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (questions_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (questions_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (questions_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (questions_set_input | null),
/** filter the rows which have to be updated */
where: questions_bool_exp}) => questions_mutation_responsePromiseChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Promise<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "questions" */
update_questions_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (questions_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (questions_delete_at_path_input | null),
/** 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_elem?: (questions_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (questions_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (questions_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (questions_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (questions_set_input | null),pk_columns: questions_pk_columns_input}) => questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Promise<(FieldsSelection<questions, R> | undefined)>}),
    
/** update multiples rows of table: "questions" */
update_questions_many: ((args: {
/** updates to execute, in order */
updates: questions_updates[]}) => {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<questions_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<questions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "security_levels" */
update_security_levels: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (security_levels_set_input | null),
/** filter the rows which have to be updated */
where: security_levels_bool_exp}) => security_levels_mutation_responsePromiseChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Promise<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "security_levels" */
update_security_levels_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (security_levels_set_input | null),pk_columns: security_levels_pk_columns_input}) => security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** update multiples rows of table: "security_levels" */
update_security_levels_many: ((args: {
/** updates to execute, in order */
updates: security_levels_updates[]}) => {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<security_levels_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<security_levels_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "settings" */
update_settings: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (settings_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (settings_set_input | null),
/** filter the rows which have to be updated */
where: settings_bool_exp}) => settings_mutation_responsePromiseChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Promise<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "settings" */
update_settings_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (settings_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (settings_set_input | null),pk_columns: settings_pk_columns_input}) => settingsPromiseChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Promise<(FieldsSelection<settings, R> | undefined)>}),
    
/** update multiples rows of table: "settings" */
update_settings_many: ((args: {
/** updates to execute, in order */
updates: settings_updates[]}) => {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<settings_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<settings_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "shortcuts" */
update_shortcuts: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (shortcuts_set_input | null),
/** filter the rows which have to be updated */
where: shortcuts_bool_exp}) => shortcuts_mutation_responsePromiseChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Promise<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "shortcuts" */
update_shortcuts_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (shortcuts_set_input | null),pk_columns: shortcuts_pk_columns_input}) => shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Promise<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** update multiples rows of table: "shortcuts" */
update_shortcuts_many: ((args: {
/** updates to execute, in order */
updates: shortcuts_updates[]}) => {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<shortcuts_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<shortcuts_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms" */
update_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_set_input | null),
/** filter the rows which have to be updated */
where: sms_bool_exp}) => sms_mutation_responsePromiseChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms" */
update_sms_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_set_input | null),pk_columns: sms_pk_columns_input}) => smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Promise<(FieldsSelection<sms, R> | undefined)>}),
    
/** update multiples rows of table: "sms" */
update_sms_many: ((args: {
/** updates to execute, in order */
updates: sms_updates[]}) => {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms_template_template" */
update_sms_template_template: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_template_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_template_template_set_input | null),
/** filter the rows which have to be updated */
where: sms_template_template_bool_exp}) => sms_template_template_mutation_responsePromiseChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms_template_template" */
update_sms_template_template_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_template_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_template_template_set_input | null),pk_columns: sms_template_template_pk_columns_input}) => sms_template_templatePromiseChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Promise<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** update multiples rows of table: "sms_template_template" */
update_sms_template_template_many: ((args: {
/** updates to execute, in order */
updates: sms_template_template_updates[]}) => {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_template_template_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<sms_template_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms_templates" */
update_sms_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_templates_set_input | null),
/** filter the rows which have to be updated */
where: sms_templates_bool_exp}) => sms_templates_mutation_responsePromiseChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms_templates" */
update_sms_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_templates_set_input | null),pk_columns: sms_templates_pk_columns_input}) => sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** update multiples rows of table: "sms_templates" */
update_sms_templates_many: ((args: {
/** updates to execute, in order */
updates: sms_templates_updates[]}) => {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<sms_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "status" */
update_status: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (status_set_input | null),
/** filter the rows which have to be updated */
where: status_bool_exp}) => status_mutation_responsePromiseChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Promise<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "status" */
update_status_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (status_set_input | null),pk_columns: status_pk_columns_input}) => statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Promise<(FieldsSelection<status, R> | undefined)>}),
    
/** update multiples rows of table: "status" */
update_status_many: ((args: {
/** updates to execute, in order */
updates: status_updates[]}) => {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<status_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<status_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "table_names" */
update_table_names: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_names_set_input | null),
/** filter the rows which have to be updated */
where: table_names_bool_exp}) => table_names_mutation_responsePromiseChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "table_names" */
update_table_names_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_names_set_input | null),pk_columns: table_names_pk_columns_input}) => table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Promise<(FieldsSelection<table_names, R> | undefined)>}),
    
/** update multiples rows of table: "table_names" */
update_table_names_many: ((args: {
/** updates to execute, in order */
updates: table_names_updates[]}) => {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<table_names_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<table_names_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_artifact_parcel" */
update_template_artifact_parcel: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_artifact_parcel_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: template_artifact_parcel_bool_exp}) => template_artifact_parcel_mutation_responsePromiseChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_artifact_parcel" */
update_template_artifact_parcel_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_artifact_parcel_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_artifact_parcel_set_input | null),pk_columns: template_artifact_parcel_pk_columns_input}) => template_artifact_parcelPromiseChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** update multiples rows of table: "template_artifact_parcel" */
update_template_artifact_parcel_many: ((args: {
/** updates to execute, in order */
updates: template_artifact_parcel_updates[]}) => {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_cache" */
update_template_cache: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (template_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (template_cache_delete_at_path_input | null),
/** 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_elem?: (template_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (template_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (template_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_bool_exp}) => template_cache_mutation_responsePromiseChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** update data of the table: "template_cache_access" */
update_template_cache_access: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_access_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_access_bool_exp}) => template_cache_access_mutation_responsePromiseChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_cache_access" */
update_template_cache_access_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_access_set_input | null),pk_columns: template_cache_access_pk_columns_input}) => template_cache_accessPromiseChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Promise<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** update multiples rows of table: "template_cache_access" */
update_template_cache_access_many: ((args: {
/** updates to execute, in order */
updates: template_cache_access_updates[]}) => {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_cache_access_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_cache_access_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update single row of the table: "template_cache" */
update_template_cache_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (template_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (template_cache_delete_at_path_input | null),
/** 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_elem?: (template_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (template_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (template_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_set_input | null),pk_columns: template_cache_pk_columns_input}) => template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** update multiples rows of table: "template_cache" */
update_template_cache_many: ((args: {
/** updates to execute, in order */
updates: template_cache_updates[]}) => {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_cache_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_cache_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_flags" */
update_template_flags: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_flags_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_flags_set_input | null),
/** filter the rows which have to be updated */
where: template_flags_bool_exp}) => template_flags_mutation_responsePromiseChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "template_flags" */
update_template_flags_many: ((args: {
/** updates to execute, in order */
updates: template_flags_updates[]}) => {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_flags_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_flags_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_journal_roles" */
update_template_journal_roles: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_journal_roles_set_input | null),
/** filter the rows which have to be updated */
where: template_journal_roles_bool_exp}) => template_journal_roles_mutation_responsePromiseChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_journal_roles" */
update_template_journal_roles_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_journal_roles_set_input | null),pk_columns: template_journal_roles_pk_columns_input}) => template_journal_rolesPromiseChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** update multiples rows of table: "template_journal_roles" */
update_template_journal_roles_many: ((args: {
/** updates to execute, in order */
updates: template_journal_roles_updates[]}) => {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_journal_roles_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_journal_roles_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_offer_types" */
update_template_offer_types: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offer_types_set_input | null),
/** filter the rows which have to be updated */
where: template_offer_types_bool_exp}) => template_offer_types_mutation_responsePromiseChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_offer_types" */
update_template_offer_types_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offer_types_set_input | null),pk_columns: template_offer_types_pk_columns_input}) => template_offer_typesPromiseChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Promise<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** update multiples rows of table: "template_offer_types" */
update_template_offer_types_many: ((args: {
/** updates to execute, in order */
updates: template_offer_types_updates[]}) => {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_offer_types_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_offer_types_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_offers" */
update_template_offers: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offers_set_input | null),
/** filter the rows which have to be updated */
where: template_offers_bool_exp}) => template_offers_mutation_responsePromiseChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_offers" */
update_template_offers_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offers_set_input | null),pk_columns: template_offers_pk_columns_input}) => template_offersPromiseChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Promise<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** update multiples rows of table: "template_offers" */
update_template_offers_many: ((args: {
/** updates to execute, in order */
updates: template_offers_updates[]}) => {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_offers_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<template_offers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "templates" */
update_templates: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (templates_delete_at_path_input | null),
/** 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_elem?: (templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (templates_set_input | null),
/** filter the rows which have to be updated */
where: templates_bool_exp}) => templates_mutation_responsePromiseChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Promise<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "templates" */
update_templates_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (templates_delete_at_path_input | null),
/** 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_elem?: (templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (templates_set_input | null),pk_columns: templates_pk_columns_input}) => templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** update multiples rows of table: "templates" */
update_templates_many: ((args: {
/** updates to execute, in order */
updates: templates_updates[]}) => {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<templates_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "types" */
update_types: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (types_set_input | null),
/** filter the rows which have to be updated */
where: types_bool_exp}) => types_mutation_responsePromiseChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Promise<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "types" */
update_types_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (types_set_input | null),pk_columns: types_pk_columns_input}) => typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Promise<(FieldsSelection<types, R> | undefined)>}),
    
/** update multiples rows of table: "types" */
update_types_many: ((args: {
/** updates to execute, in order */
updates: types_updates[]}) => {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<types_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<types_mutation_response, R> | undefined)[] | undefined)>})
}


/** mutation root */
export interface mutation_rootObservableChain{
    
/** delete data from the table: "DocKladd_properties" */
delete_DocKladd_properties: ((args: {
/** filter the rows which have to be deleted */
where: DocKladd_properties_bool_exp}) => DocKladd_properties_mutation_responseObservableChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "DocKladd_properties" */
delete_DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesObservableChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** delete data from the table: "DocKladd_questions" */
delete_DocKladd_questions: ((args: {
/** filter the rows which have to be deleted */
where: DocKladd_questions_bool_exp}) => DocKladd_questions_mutation_responseObservableChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "DocKladd_questions" */
delete_DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsObservableChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** delete data from the table: "accessible" */
delete_accessible: ((args: {
/** filter the rows which have to be deleted */
where: accessible_bool_exp}) => accessible_mutation_responseObservableChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Observable<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "accessible" */
delete_accessible_by_pk: ((args: {name: Scalars['String']}) => accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    
/** delete data from the table: "adopus_AdgangLinjer" */
delete_adopus_AdgangLinjer: ((args: {
/** filter the rows which have to be deleted */
where: adopus_AdgangLinjer_bool_exp}) => adopus_AdgangLinjer_mutation_responseObservableChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "adopus_AdgangLinjer" */
delete_adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerObservableChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** delete data from the table: "anonymous_answers" */
delete_anonymous_answers: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_answers_bool_exp}) => anonymous_answers_mutation_responseObservableChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_answers" */
delete_anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersObservableChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** delete data from the table: "anonymous_invitations" */
delete_anonymous_invitations: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_invitations_bool_exp}) => anonymous_invitations_mutation_responseObservableChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_invitations" */
delete_anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** delete data from the table: "anonymous_queries" */
delete_anonymous_queries: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_queries_bool_exp}) => anonymous_queries_mutation_responseObservableChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_queries" */
delete_anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** delete data from the table: "anonymous_sms" */
delete_anonymous_sms: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_sms_bool_exp}) => anonymous_sms_mutation_responseObservableChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_sms" */
delete_anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsObservableChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** delete data from the table: "anonymous_template_question" */
delete_anonymous_template_question: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_template_question_bool_exp}) => anonymous_template_question_mutation_responseObservableChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "anonymous_templates" */
delete_anonymous_templates: ((args: {
/** filter the rows which have to be deleted */
where: anonymous_templates_bool_exp}) => anonymous_templates_mutation_responseObservableChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "anonymous_templates" */
delete_anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_artifact_parcel" */
delete_artifact_package_artifact_parcel: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_artifact_parcel_bool_exp}) => artifact_package_artifact_parcel_mutation_responseObservableChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_artifact_parcel" */
delete_artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelObservableChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_cron" */
delete_artifact_package_cron: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_cron_bool_exp}) => artifact_package_cron_mutation_responseObservableChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_cron" */
delete_artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** delete data from the table: "artifact_package_groups" */
delete_artifact_package_groups: ((args: {
/** filter the rows which have to be deleted */
where: artifact_package_groups_bool_exp}) => artifact_package_groups_mutation_responseObservableChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_package_groups" */
delete_artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsObservableChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** delete data from the table: "artifact_packages" */
delete_artifact_packages: ((args: {
/** filter the rows which have to be deleted */
where: artifact_packages_bool_exp}) => artifact_packages_mutation_responseObservableChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_packages" */
delete_artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** delete data from the table: "artifact_parcels" */
delete_artifact_parcels: ((args: {
/** filter the rows which have to be deleted */
where: artifact_parcels_bool_exp}) => artifact_parcels_mutation_responseObservableChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "artifact_parcels" */
delete_artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** delete data from the table: "categories" */
delete_categories: ((args: {
/** filter the rows which have to be deleted */
where: categories_bool_exp}) => categories_mutation_responseObservableChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Observable<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "categories" */
delete_categories_by_pk: ((args: {name: Scalars['String']}) => categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Observable<(FieldsSelection<categories, R> | undefined)>}),
    
/** delete data from the table: "consent_approval_rejection_reasons" */
delete_consent_approval_rejection_reasons: ((args: {
/** filter the rows which have to be deleted */
where: consent_approval_rejection_reasons_bool_exp}) => consent_approval_rejection_reasons_mutation_responseObservableChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_approval_rejection_reasons" */
delete_consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsObservableChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** delete data from the table: "consent_patient" */
delete_consent_patient: ((args: {
/** filter the rows which have to be deleted */
where: consent_patient_bool_exp}) => consent_patient_mutation_responseObservableChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_patient" */
delete_consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** delete data from the table: "consent_status" */
delete_consent_status: ((args: {
/** filter the rows which have to be deleted */
where: consent_status_bool_exp}) => consent_status_mutation_responseObservableChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_status" */
delete_consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Observable<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** delete data from the table: "consent_template_to_template" */
delete_consent_template_to_template: ((args: {
/** filter the rows which have to be deleted */
where: consent_template_to_template_bool_exp}) => consent_template_to_template_mutation_responseObservableChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "consent_templates" */
delete_consent_templates: ((args: {
/** filter the rows which have to be deleted */
where: consent_templates_bool_exp}) => consent_templates_mutation_responseObservableChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consent_templates" */
delete_consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Observable<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** delete data from the table: "consents" */
delete_consents: ((args: {
/** filter the rows which have to be deleted */
where: consents_bool_exp}) => consents_mutation_responseObservableChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "consents" */
delete_consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Observable<(FieldsSelection<consents, R> | undefined)>}),
    
/** delete data from the table: "context_group_context" */
delete_context_group_context: ((args: {
/** filter the rows which have to be deleted */
where: context_group_context_bool_exp}) => context_group_context_mutation_responseObservableChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "context_group_context" */
delete_context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextObservableChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Observable<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** delete data from the table: "contexts" */
delete_contexts: ((args: {
/** filter the rows which have to be deleted */
where: contexts_bool_exp}) => contexts_mutation_responseObservableChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "contexts" */
delete_contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    
/** delete data from the table: "custom_db_nodes" */
delete_custom_db_nodes: ((args: {
/** filter the rows which have to be deleted */
where: custom_db_nodes_bool_exp}) => custom_db_nodes_mutation_responseObservableChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "custom_db_nodes" */
delete_custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesObservableChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** delete data from the table: "directory_customers" */
delete_directory_customers: ((args: {
/** filter the rows which have to be deleted */
where: directory_customers_bool_exp}) => directory_customers_mutation_responseObservableChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_customers" */
delete_directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** delete data from the table: "directory_user_name" */
delete_directory_user_name: ((args: {
/** filter the rows which have to be deleted */
where: directory_user_name_bool_exp}) => directory_user_name_mutation_responseObservableChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_user_name" */
delete_directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** delete data from the table: "document_patient" */
delete_document_patient: ((args: {
/** filter the rows which have to be deleted */
where: document_patient_bool_exp}) => document_patient_mutation_responseObservableChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "document_patient" */
delete_document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientObservableChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Observable<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** delete data from the table: "document_sms" */
delete_document_sms: ((args: {
/** filter the rows which have to be deleted */
where: document_sms_bool_exp}) => document_sms_mutation_responseObservableChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "documents" */
delete_documents: ((args: {
/** filter the rows which have to be deleted */
where: documents_bool_exp}) => documents_mutation_responseObservableChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "documents" */
delete_documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    
/** delete data from the table: "event_artifact_package" */
delete_event_artifact_package: ((args: {
/** filter the rows which have to be deleted */
where: event_artifact_package_bool_exp}) => event_artifact_package_mutation_responseObservableChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "event_artifact_package" */
delete_event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packageObservableChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** delete data from the table: "favorite_templates_order" */
delete_favorite_templates_order: ((args: {
/** filter the rows which have to be deleted */
where: favorite_templates_order_bool_exp}) => favorite_templates_order_mutation_responseObservableChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "favorite_templates_order" */
delete_favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderObservableChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** delete data from the table: "favorites" */
delete_favorites: ((args: {
/** filter the rows which have to be deleted */
where: favorites_bool_exp}) => favorites_mutation_responseObservableChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "favorites" */
delete_favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesObservableChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Observable<(FieldsSelection<favorites, R> | undefined)>}),
    
/** delete data from the table: "filter_names" */
delete_filter_names: ((args: {
/** filter the rows which have to be deleted */
where: filter_names_bool_exp}) => filter_names_mutation_responseObservableChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "filter_names" */
delete_filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Observable<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** delete data from the table: "genesis_consent_permissions" */
delete_genesis_consent_permissions: ((args: {
/** filter the rows which have to be deleted */
where: genesis_consent_permissions_bool_exp}) => genesis_consent_permissions_mutation_responseObservableChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_consent_permissions" */
delete_genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsObservableChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** delete data from the table: "genesis_consent_templates" */
delete_genesis_consent_templates: ((args: {
/** filter the rows which have to be deleted */
where: genesis_consent_templates_bool_exp}) => genesis_consent_templates_mutation_responseObservableChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_consent_templates" */
delete_genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesObservableChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** delete data from the table: "genesis_denied_permissions" */
delete_genesis_denied_permissions: ((args: {
/** filter the rows which have to be deleted */
where: genesis_denied_permissions_bool_exp}) => genesis_denied_permissions_mutation_responseObservableChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_denied_permissions" */
delete_genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsObservableChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** delete data from the table: "genesis_templates" */
delete_genesis_templates: ((args: {
/** filter the rows which have to be deleted */
where: genesis_templates_bool_exp}) => genesis_templates_mutation_responseObservableChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "genesis_templates" */
delete_genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesObservableChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** delete data from the table: "group_context" */
delete_group_context: ((args: {
/** filter the rows which have to be deleted */
where: group_context_bool_exp}) => group_context_mutation_responseObservableChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "group_context" */
delete_group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Observable<(FieldsSelection<group_context, R> | undefined)>}),
    
/** delete data from the table: "group_context_filters" */
delete_group_context_filters: ((args: {
/** filter the rows which have to be deleted */
where: group_context_filters_bool_exp}) => group_context_filters_mutation_responseObservableChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "group_context_filters" */
delete_group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersObservableChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Observable<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** delete data from the table: "groups" */
delete_groups: ((args: {
/** filter the rows which have to be deleted */
where: groups_bool_exp}) => groups_mutation_responseObservableChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "groups" */
delete_groups_by_pk: ((args: {name: Scalars['String']}) => groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Observable<(FieldsSelection<groups, R> | undefined)>}),
    
/** delete data from the table: "initiators" */
delete_initiators: ((args: {
/** filter the rows which have to be deleted */
where: initiators_bool_exp}) => initiators_mutation_responseObservableChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Observable<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "initiators" */
delete_initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Observable<(FieldsSelection<initiators, R> | undefined)>}),
    
/** delete data from the table: "migrations" */
delete_migrations: ((args: {
/** filter the rows which have to be deleted */
where: migrations_bool_exp}) => migrations_mutation_responseObservableChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "migrations" */
delete_migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsObservableChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Observable<(FieldsSelection<migrations, R> | undefined)>}),
    
/** delete data from the table: "organization_qnr_widget" */
delete_organization_qnr_widget: ((args: {
/** filter the rows which have to be deleted */
where: organization_qnr_widget_bool_exp}) => organization_qnr_widget_mutation_responseObservableChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "organization_qnr_widget" */
delete_organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetObservableChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** delete data from the table: "projects" */
delete_projects: ((args: {
/** filter the rows which have to be deleted */
where: projects_bool_exp}) => projects_mutation_responseObservableChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Observable<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "projects" */
delete_projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsObservableChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Observable<(FieldsSelection<projects, R> | undefined)>}),
    
/** delete data from the table: "qnr_template_genesis_overrides" */
delete_qnr_template_genesis_overrides: ((args: {
/** filter the rows which have to be deleted */
where: qnr_template_genesis_overrides_bool_exp}) => qnr_template_genesis_overrides_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "qnr_template_genesis_overrides" */
delete_qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesObservableChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** delete data from the table: "qnr_template_genesis_overrides_log" */
delete_qnr_template_genesis_overrides_log: ((args: {
/** filter the rows which have to be deleted */
where: qnr_template_genesis_overrides_log_bool_exp}) => qnr_template_genesis_overrides_log_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "qnr_template_genesis_overrides_log" */
delete_qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logObservableChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** delete data from the table: "queries" */
delete_queries: ((args: {
/** filter the rows which have to be deleted */
where: queries_bool_exp}) => queries_mutation_responseObservableChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries" */
delete_queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** delete data from the table: "queries_cache" */
delete_queries_cache: ((args: {
/** filter the rows which have to be deleted */
where: queries_cache_bool_exp}) => queries_cache_mutation_responseObservableChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_cache" */
delete_queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** delete data from the table: "queries_error" */
delete_queries_error: ((args: {
/** filter the rows which have to be deleted */
where: queries_error_bool_exp}) => queries_error_mutation_responseObservableChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_error" */
delete_queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorObservableChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Observable<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** delete data from the table: "queries_log" */
delete_queries_log: ((args: {
/** filter the rows which have to be deleted */
where: queries_log_bool_exp}) => queries_log_mutation_responseObservableChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "queries_log" */
delete_queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** delete data from the table: "question_composite_question" */
delete_question_composite_question: ((args: {
/** filter the rows which have to be deleted */
where: question_composite_question_bool_exp}) => question_composite_question_mutation_responseObservableChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "question_template" */
delete_question_template: ((args: {
/** filter the rows which have to be deleted */
where: question_template_bool_exp}) => question_template_mutation_responseObservableChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "questions" */
delete_questions: ((args: {
/** filter the rows which have to be deleted */
where: questions_bool_exp}) => questions_mutation_responseObservableChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "questions" */
delete_questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Observable<(FieldsSelection<questions, R> | undefined)>}),
    
/** delete data from the table: "security_levels" */
delete_security_levels: ((args: {
/** filter the rows which have to be deleted */
where: security_levels_bool_exp}) => security_levels_mutation_responseObservableChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "security_levels" */
delete_security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** delete data from the table: "settings" */
delete_settings: ((args: {
/** filter the rows which have to be deleted */
where: settings_bool_exp}) => settings_mutation_responseObservableChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Observable<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "settings" */
delete_settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsObservableChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Observable<(FieldsSelection<settings, R> | undefined)>}),
    
/** delete data from the table: "shortcuts" */
delete_shortcuts: ((args: {
/** filter the rows which have to be deleted */
where: shortcuts_bool_exp}) => shortcuts_mutation_responseObservableChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "shortcuts" */
delete_shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Observable<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** delete data from the table: "sms" */
delete_sms: ((args: {
/** filter the rows which have to be deleted */
where: sms_bool_exp}) => sms_mutation_responseObservableChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms" */
delete_sms_by_pk: ((args: {id: Scalars['bigint']}) => smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Observable<(FieldsSelection<sms, R> | undefined)>}),
    
/** delete data from the table: "sms_template_template" */
delete_sms_template_template: ((args: {
/** filter the rows which have to be deleted */
where: sms_template_template_bool_exp}) => sms_template_template_mutation_responseObservableChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms_template_template" */
delete_sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templateObservableChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Observable<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** delete data from the table: "sms_templates" */
delete_sms_templates: ((args: {
/** filter the rows which have to be deleted */
where: sms_templates_bool_exp}) => sms_templates_mutation_responseObservableChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "sms_templates" */
delete_sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** delete data from the table: "status" */
delete_status: ((args: {
/** filter the rows which have to be deleted */
where: status_bool_exp}) => status_mutation_responseObservableChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "status" */
delete_status_by_pk: ((args: {name: Scalars['String']}) => statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Observable<(FieldsSelection<status, R> | undefined)>}),
    
/** delete data from the table: "table_names" */
delete_table_names: ((args: {
/** filter the rows which have to be deleted */
where: table_names_bool_exp}) => table_names_mutation_responseObservableChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "table_names" */
delete_table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Observable<(FieldsSelection<table_names, R> | undefined)>}),
    
/** delete data from the table: "template_artifact_parcel" */
delete_template_artifact_parcel: ((args: {
/** filter the rows which have to be deleted */
where: template_artifact_parcel_bool_exp}) => template_artifact_parcel_mutation_responseObservableChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_artifact_parcel" */
delete_template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelObservableChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** delete data from the table: "template_cache" */
delete_template_cache: ((args: {
/** filter the rows which have to be deleted */
where: template_cache_bool_exp}) => template_cache_mutation_responseObservableChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "template_cache_access" */
delete_template_cache_access: ((args: {
/** filter the rows which have to be deleted */
where: template_cache_access_bool_exp}) => template_cache_access_mutation_responseObservableChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_cache_access" */
delete_template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessObservableChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Observable<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** delete single row from the table: "template_cache" */
delete_template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** delete data from the table: "template_flags" */
delete_template_flags: ((args: {
/** filter the rows which have to be deleted */
where: template_flags_bool_exp}) => template_flags_mutation_responseObservableChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "template_journal_roles" */
delete_template_journal_roles: ((args: {
/** filter the rows which have to be deleted */
where: template_journal_roles_bool_exp}) => template_journal_roles_mutation_responseObservableChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_journal_roles" */
delete_template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesObservableChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** delete data from the table: "template_offer_types" */
delete_template_offer_types: ((args: {
/** filter the rows which have to be deleted */
where: template_offer_types_bool_exp}) => template_offer_types_mutation_responseObservableChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_offer_types" */
delete_template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesObservableChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Observable<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** delete data from the table: "template_offers" */
delete_template_offers: ((args: {
/** filter the rows which have to be deleted */
where: template_offers_bool_exp}) => template_offers_mutation_responseObservableChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "template_offers" */
delete_template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersObservableChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Observable<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** delete data from the table: "templates" */
delete_templates: ((args: {
/** filter the rows which have to be deleted */
where: templates_bool_exp}) => templates_mutation_responseObservableChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "templates" */
delete_templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** delete data from the table: "types" */
delete_types: ((args: {
/** filter the rows which have to be deleted */
where: types_bool_exp}) => types_mutation_responseObservableChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "types" */
delete_types_by_pk: ((args: {name: Scalars['String']}) => typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Observable<(FieldsSelection<types, R> | undefined)>}),
    
/** create_notification */
insertNotification: ((args: {objects: NotificationInput[]}) => NotificationOutputObservableChain & {get: <R extends NotificationOutputRequest>(request: R, defaultValue?: (FieldsSelection<NotificationOutput, R> | undefined)) => Observable<(FieldsSelection<NotificationOutput, R> | undefined)>}),
    
/** insert data into the table: "DocKladd_properties" */
insert_DocKladd_properties: ((args: {
/** the rows to be inserted */
objects: DocKladd_properties_insert_input[],
/** upsert condition */
on_conflict?: (DocKladd_properties_on_conflict | null)}) => DocKladd_properties_mutation_responseObservableChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "DocKladd_properties" */
insert_DocKladd_properties_one: ((args: {
/** the row to be inserted */
object: DocKladd_properties_insert_input,
/** upsert condition */
on_conflict?: (DocKladd_properties_on_conflict | null)}) => DocKladd_propertiesObservableChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** insert data into the table: "DocKladd_questions" */
insert_DocKladd_questions: ((args: {
/** the rows to be inserted */
objects: DocKladd_questions_insert_input[],
/** upsert condition */
on_conflict?: (DocKladd_questions_on_conflict | null)}) => DocKladd_questions_mutation_responseObservableChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "DocKladd_questions" */
insert_DocKladd_questions_one: ((args: {
/** the row to be inserted */
object: DocKladd_questions_insert_input,
/** upsert condition */
on_conflict?: (DocKladd_questions_on_conflict | null)}) => DocKladd_questionsObservableChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** insert data into the table: "accessible" */
insert_accessible: ((args: {
/** the rows to be inserted */
objects: accessible_insert_input[],
/** upsert condition */
on_conflict?: (accessible_on_conflict | null)}) => accessible_mutation_responseObservableChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Observable<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "accessible" */
insert_accessible_one: ((args: {
/** the row to be inserted */
object: accessible_insert_input,
/** upsert condition */
on_conflict?: (accessible_on_conflict | null)}) => accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    
/** insert data into the table: "adopus_AdgangLinjer" */
insert_adopus_AdgangLinjer: ((args: {
/** the rows to be inserted */
objects: adopus_AdgangLinjer_insert_input[],
/** upsert condition */
on_conflict?: (adopus_AdgangLinjer_on_conflict | null)}) => adopus_AdgangLinjer_mutation_responseObservableChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "adopus_AdgangLinjer" */
insert_adopus_AdgangLinjer_one: ((args: {
/** the row to be inserted */
object: adopus_AdgangLinjer_insert_input,
/** upsert condition */
on_conflict?: (adopus_AdgangLinjer_on_conflict | null)}) => adopus_AdgangLinjerObservableChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** insert data into the table: "anonymous_answers" */
insert_anonymous_answers: ((args: {
/** the rows to be inserted */
objects: anonymous_answers_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_answers_on_conflict | null)}) => anonymous_answers_mutation_responseObservableChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_answers" */
insert_anonymous_answers_one: ((args: {
/** the row to be inserted */
object: anonymous_answers_insert_input,
/** upsert condition */
on_conflict?: (anonymous_answers_on_conflict | null)}) => anonymous_answersObservableChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** insert data into the table: "anonymous_invitations" */
insert_anonymous_invitations: ((args: {
/** the rows to be inserted */
objects: anonymous_invitations_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}) => anonymous_invitations_mutation_responseObservableChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_invitations" */
insert_anonymous_invitations_one: ((args: {
/** the row to be inserted */
object: anonymous_invitations_insert_input,
/** upsert condition */
on_conflict?: (anonymous_invitations_on_conflict | null)}) => anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** insert data into the table: "anonymous_queries" */
insert_anonymous_queries: ((args: {
/** the rows to be inserted */
objects: anonymous_queries_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}) => anonymous_queries_mutation_responseObservableChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_queries" */
insert_anonymous_queries_one: ((args: {
/** the row to be inserted */
object: anonymous_queries_insert_input,
/** upsert condition */
on_conflict?: (anonymous_queries_on_conflict | null)}) => anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** insert data into the table: "anonymous_sms" */
insert_anonymous_sms: ((args: {
/** the rows to be inserted */
objects: anonymous_sms_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_sms_on_conflict | null)}) => anonymous_sms_mutation_responseObservableChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_sms" */
insert_anonymous_sms_one: ((args: {
/** the row to be inserted */
object: anonymous_sms_insert_input,
/** upsert condition */
on_conflict?: (anonymous_sms_on_conflict | null)}) => anonymous_smsObservableChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** insert data into the table: "anonymous_template_question" */
insert_anonymous_template_question: ((args: {
/** the rows to be inserted */
objects: anonymous_template_question_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_template_question_on_conflict | null)}) => anonymous_template_question_mutation_responseObservableChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_template_question" */
insert_anonymous_template_question_one: ((args: {
/** the row to be inserted */
object: anonymous_template_question_insert_input,
/** upsert condition */
on_conflict?: (anonymous_template_question_on_conflict | null)}) => anonymous_template_questionObservableChain & {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question, R> | undefined)>}),
    
/** insert data into the table: "anonymous_templates" */
insert_anonymous_templates: ((args: {
/** the rows to be inserted */
objects: anonymous_templates_insert_input[],
/** upsert condition */
on_conflict?: (anonymous_templates_on_conflict | null)}) => anonymous_templates_mutation_responseObservableChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "anonymous_templates" */
insert_anonymous_templates_one: ((args: {
/** the row to be inserted */
object: anonymous_templates_insert_input,
/** upsert condition */
on_conflict?: (anonymous_templates_on_conflict | null)}) => anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_artifact_parcel" */
insert_artifact_package_artifact_parcel: ((args: {
/** the rows to be inserted */
objects: artifact_package_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)}) => artifact_package_artifact_parcel_mutation_responseObservableChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_artifact_parcel" */
insert_artifact_package_artifact_parcel_one: ((args: {
/** the row to be inserted */
object: artifact_package_artifact_parcel_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_artifact_parcel_on_conflict | null)}) => artifact_package_artifact_parcelObservableChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_cron" */
insert_artifact_package_cron: ((args: {
/** the rows to be inserted */
objects: artifact_package_cron_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_cron_on_conflict | null)}) => artifact_package_cron_mutation_responseObservableChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_cron" */
insert_artifact_package_cron_one: ((args: {
/** the row to be inserted */
object: artifact_package_cron_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_cron_on_conflict | null)}) => artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** insert data into the table: "artifact_package_groups" */
insert_artifact_package_groups: ((args: {
/** the rows to be inserted */
objects: artifact_package_groups_insert_input[],
/** upsert condition */
on_conflict?: (artifact_package_groups_on_conflict | null)}) => artifact_package_groups_mutation_responseObservableChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_package_groups" */
insert_artifact_package_groups_one: ((args: {
/** the row to be inserted */
object: artifact_package_groups_insert_input,
/** upsert condition */
on_conflict?: (artifact_package_groups_on_conflict | null)}) => artifact_package_groupsObservableChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** insert data into the table: "artifact_packages" */
insert_artifact_packages: ((args: {
/** the rows to be inserted */
objects: artifact_packages_insert_input[],
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}) => artifact_packages_mutation_responseObservableChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_packages" */
insert_artifact_packages_one: ((args: {
/** the row to be inserted */
object: artifact_packages_insert_input,
/** upsert condition */
on_conflict?: (artifact_packages_on_conflict | null)}) => artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** insert data into the table: "artifact_parcels" */
insert_artifact_parcels: ((args: {
/** the rows to be inserted */
objects: artifact_parcels_insert_input[],
/** upsert condition */
on_conflict?: (artifact_parcels_on_conflict | null)}) => artifact_parcels_mutation_responseObservableChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "artifact_parcels" */
insert_artifact_parcels_one: ((args: {
/** the row to be inserted */
object: artifact_parcels_insert_input,
/** upsert condition */
on_conflict?: (artifact_parcels_on_conflict | null)}) => artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** insert data into the table: "categories" */
insert_categories: ((args: {
/** the rows to be inserted */
objects: categories_insert_input[],
/** upsert condition */
on_conflict?: (categories_on_conflict | null)}) => categories_mutation_responseObservableChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Observable<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "categories" */
insert_categories_one: ((args: {
/** the row to be inserted */
object: categories_insert_input,
/** upsert condition */
on_conflict?: (categories_on_conflict | null)}) => categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Observable<(FieldsSelection<categories, R> | undefined)>}),
    
/** insert data into the table: "consent_approval_rejection_reasons" */
insert_consent_approval_rejection_reasons: ((args: {
/** the rows to be inserted */
objects: consent_approval_rejection_reasons_insert_input[],
/** upsert condition */
on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)}) => consent_approval_rejection_reasons_mutation_responseObservableChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_approval_rejection_reasons" */
insert_consent_approval_rejection_reasons_one: ((args: {
/** the row to be inserted */
object: consent_approval_rejection_reasons_insert_input,
/** upsert condition */
on_conflict?: (consent_approval_rejection_reasons_on_conflict | null)}) => consent_approval_rejection_reasonsObservableChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** insert data into the table: "consent_patient" */
insert_consent_patient: ((args: {
/** the rows to be inserted */
objects: consent_patient_insert_input[],
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}) => consent_patient_mutation_responseObservableChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_patient" */
insert_consent_patient_one: ((args: {
/** the row to be inserted */
object: consent_patient_insert_input,
/** upsert condition */
on_conflict?: (consent_patient_on_conflict | null)}) => consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** insert data into the table: "consent_status" */
insert_consent_status: ((args: {
/** the rows to be inserted */
objects: consent_status_insert_input[],
/** upsert condition */
on_conflict?: (consent_status_on_conflict | null)}) => consent_status_mutation_responseObservableChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_status" */
insert_consent_status_one: ((args: {
/** the row to be inserted */
object: consent_status_insert_input,
/** upsert condition */
on_conflict?: (consent_status_on_conflict | null)}) => consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Observable<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** insert data into the table: "consent_template_to_template" */
insert_consent_template_to_template: ((args: {
/** the rows to be inserted */
objects: consent_template_to_template_insert_input[],
/** upsert condition */
on_conflict?: (consent_template_to_template_on_conflict | null)}) => consent_template_to_template_mutation_responseObservableChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_template_to_template" */
insert_consent_template_to_template_one: ((args: {
/** the row to be inserted */
object: consent_template_to_template_insert_input,
/** upsert condition */
on_conflict?: (consent_template_to_template_on_conflict | null)}) => consent_template_to_templateObservableChain & {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template, R> | undefined)>}),
    
/** insert data into the table: "consent_templates" */
insert_consent_templates: ((args: {
/** the rows to be inserted */
objects: consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}) => consent_templates_mutation_responseObservableChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consent_templates" */
insert_consent_templates_one: ((args: {
/** the row to be inserted */
object: consent_templates_insert_input,
/** upsert condition */
on_conflict?: (consent_templates_on_conflict | null)}) => consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Observable<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** insert data into the table: "consents" */
insert_consents: ((args: {
/** the rows to be inserted */
objects: consents_insert_input[],
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}) => consents_mutation_responseObservableChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "consents" */
insert_consents_one: ((args: {
/** the row to be inserted */
object: consents_insert_input,
/** upsert condition */
on_conflict?: (consents_on_conflict | null)}) => consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Observable<(FieldsSelection<consents, R> | undefined)>}),
    
/** insert data into the table: "context_group_context" */
insert_context_group_context: ((args: {
/** the rows to be inserted */
objects: context_group_context_insert_input[],
/** upsert condition */
on_conflict?: (context_group_context_on_conflict | null)}) => context_group_context_mutation_responseObservableChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "context_group_context" */
insert_context_group_context_one: ((args: {
/** the row to be inserted */
object: context_group_context_insert_input,
/** upsert condition */
on_conflict?: (context_group_context_on_conflict | null)}) => context_group_contextObservableChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Observable<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** insert data into the table: "contexts" */
insert_contexts: ((args: {
/** the rows to be inserted */
objects: contexts_insert_input[],
/** upsert condition */
on_conflict?: (contexts_on_conflict | null)}) => contexts_mutation_responseObservableChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "contexts" */
insert_contexts_one: ((args: {
/** the row to be inserted */
object: contexts_insert_input,
/** upsert condition */
on_conflict?: (contexts_on_conflict | null)}) => contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    
/** insert data into the table: "custom_db_nodes" */
insert_custom_db_nodes: ((args: {
/** the rows to be inserted */
objects: custom_db_nodes_insert_input[],
/** upsert condition */
on_conflict?: (custom_db_nodes_on_conflict | null)}) => custom_db_nodes_mutation_responseObservableChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "custom_db_nodes" */
insert_custom_db_nodes_one: ((args: {
/** the row to be inserted */
object: custom_db_nodes_insert_input,
/** upsert condition */
on_conflict?: (custom_db_nodes_on_conflict | null)}) => custom_db_nodesObservableChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** insert data into the table: "directory_customers" */
insert_directory_customers: ((args: {
/** the rows to be inserted */
objects: directory_customers_insert_input[],
/** upsert condition */
on_conflict?: (directory_customers_on_conflict | null)}) => directory_customers_mutation_responseObservableChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_customers" */
insert_directory_customers_one: ((args: {
/** the row to be inserted */
object: directory_customers_insert_input,
/** upsert condition */
on_conflict?: (directory_customers_on_conflict | null)}) => directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** insert data into the table: "directory_user_name" */
insert_directory_user_name: ((args: {
/** the rows to be inserted */
objects: directory_user_name_insert_input[],
/** upsert condition */
on_conflict?: (directory_user_name_on_conflict | null)}) => directory_user_name_mutation_responseObservableChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_user_name" */
insert_directory_user_name_one: ((args: {
/** the row to be inserted */
object: directory_user_name_insert_input,
/** upsert condition */
on_conflict?: (directory_user_name_on_conflict | null)}) => directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** insert data into the table: "document_patient" */
insert_document_patient: ((args: {
/** the rows to be inserted */
objects: document_patient_insert_input[],
/** upsert condition */
on_conflict?: (document_patient_on_conflict | null)}) => document_patient_mutation_responseObservableChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "document_patient" */
insert_document_patient_one: ((args: {
/** the row to be inserted */
object: document_patient_insert_input,
/** upsert condition */
on_conflict?: (document_patient_on_conflict | null)}) => document_patientObservableChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Observable<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** insert data into the table: "document_sms" */
insert_document_sms: ((args: {
/** the rows to be inserted */
objects: document_sms_insert_input[]}) => document_sms_mutation_responseObservableChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "document_sms" */
insert_document_sms_one: ((args: {
/** the row to be inserted */
object: document_sms_insert_input}) => document_smsObservableChain & {get: <R extends document_smsRequest>(request: R, defaultValue?: (FieldsSelection<document_sms, R> | undefined)) => Observable<(FieldsSelection<document_sms, R> | undefined)>}),
    
/** insert data into the table: "documents" */
insert_documents: ((args: {
/** the rows to be inserted */
objects: documents_insert_input[],
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}) => documents_mutation_responseObservableChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "documents" */
insert_documents_one: ((args: {
/** the row to be inserted */
object: documents_insert_input,
/** upsert condition */
on_conflict?: (documents_on_conflict | null)}) => documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    
/** insert data into the table: "event_artifact_package" */
insert_event_artifact_package: ((args: {
/** the rows to be inserted */
objects: event_artifact_package_insert_input[],
/** upsert condition */
on_conflict?: (event_artifact_package_on_conflict | null)}) => event_artifact_package_mutation_responseObservableChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "event_artifact_package" */
insert_event_artifact_package_one: ((args: {
/** the row to be inserted */
object: event_artifact_package_insert_input,
/** upsert condition */
on_conflict?: (event_artifact_package_on_conflict | null)}) => event_artifact_packageObservableChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** insert data into the table: "favorite_templates_order" */
insert_favorite_templates_order: ((args: {
/** the rows to be inserted */
objects: favorite_templates_order_insert_input[],
/** upsert condition */
on_conflict?: (favorite_templates_order_on_conflict | null)}) => favorite_templates_order_mutation_responseObservableChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "favorite_templates_order" */
insert_favorite_templates_order_one: ((args: {
/** the row to be inserted */
object: favorite_templates_order_insert_input,
/** upsert condition */
on_conflict?: (favorite_templates_order_on_conflict | null)}) => favorite_templates_orderObservableChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** insert data into the table: "favorites" */
insert_favorites: ((args: {
/** the rows to be inserted */
objects: favorites_insert_input[],
/** upsert condition */
on_conflict?: (favorites_on_conflict | null)}) => favorites_mutation_responseObservableChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "favorites" */
insert_favorites_one: ((args: {
/** the row to be inserted */
object: favorites_insert_input,
/** upsert condition */
on_conflict?: (favorites_on_conflict | null)}) => favoritesObservableChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Observable<(FieldsSelection<favorites, R> | undefined)>}),
    
/** insert data into the table: "filter_names" */
insert_filter_names: ((args: {
/** the rows to be inserted */
objects: filter_names_insert_input[],
/** upsert condition */
on_conflict?: (filter_names_on_conflict | null)}) => filter_names_mutation_responseObservableChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "filter_names" */
insert_filter_names_one: ((args: {
/** the row to be inserted */
object: filter_names_insert_input,
/** upsert condition */
on_conflict?: (filter_names_on_conflict | null)}) => filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Observable<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** insert data into the table: "genesis_consent_permissions" */
insert_genesis_consent_permissions: ((args: {
/** the rows to be inserted */
objects: genesis_consent_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_permissions_on_conflict | null)}) => genesis_consent_permissions_mutation_responseObservableChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_consent_permissions" */
insert_genesis_consent_permissions_one: ((args: {
/** the row to be inserted */
object: genesis_consent_permissions_insert_input,
/** upsert condition */
on_conflict?: (genesis_consent_permissions_on_conflict | null)}) => genesis_consent_permissionsObservableChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** insert data into the table: "genesis_consent_templates" */
insert_genesis_consent_templates: ((args: {
/** the rows to be inserted */
objects: genesis_consent_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_consent_templates_on_conflict | null)}) => genesis_consent_templates_mutation_responseObservableChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_consent_templates" */
insert_genesis_consent_templates_one: ((args: {
/** the row to be inserted */
object: genesis_consent_templates_insert_input,
/** upsert condition */
on_conflict?: (genesis_consent_templates_on_conflict | null)}) => genesis_consent_templatesObservableChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** insert data into the table: "genesis_denied_permissions" */
insert_genesis_denied_permissions: ((args: {
/** the rows to be inserted */
objects: genesis_denied_permissions_insert_input[],
/** upsert condition */
on_conflict?: (genesis_denied_permissions_on_conflict | null)}) => genesis_denied_permissions_mutation_responseObservableChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_denied_permissions" */
insert_genesis_denied_permissions_one: ((args: {
/** the row to be inserted */
object: genesis_denied_permissions_insert_input,
/** upsert condition */
on_conflict?: (genesis_denied_permissions_on_conflict | null)}) => genesis_denied_permissionsObservableChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** insert data into the table: "genesis_templates" */
insert_genesis_templates: ((args: {
/** the rows to be inserted */
objects: genesis_templates_insert_input[],
/** upsert condition */
on_conflict?: (genesis_templates_on_conflict | null)}) => genesis_templates_mutation_responseObservableChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "genesis_templates" */
insert_genesis_templates_one: ((args: {
/** the row to be inserted */
object: genesis_templates_insert_input,
/** upsert condition */
on_conflict?: (genesis_templates_on_conflict | null)}) => genesis_templatesObservableChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** insert data into the table: "group_context" */
insert_group_context: ((args: {
/** the rows to be inserted */
objects: group_context_insert_input[],
/** upsert condition */
on_conflict?: (group_context_on_conflict | null)}) => group_context_mutation_responseObservableChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "group_context_filters" */
insert_group_context_filters: ((args: {
/** the rows to be inserted */
objects: group_context_filters_insert_input[],
/** upsert condition */
on_conflict?: (group_context_filters_on_conflict | null)}) => group_context_filters_mutation_responseObservableChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "group_context_filters" */
insert_group_context_filters_one: ((args: {
/** the row to be inserted */
object: group_context_filters_insert_input,
/** upsert condition */
on_conflict?: (group_context_filters_on_conflict | null)}) => group_context_filtersObservableChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Observable<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** insert a single row into the table: "group_context" */
insert_group_context_one: ((args: {
/** the row to be inserted */
object: group_context_insert_input,
/** upsert condition */
on_conflict?: (group_context_on_conflict | null)}) => group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Observable<(FieldsSelection<group_context, R> | undefined)>}),
    
/** insert data into the table: "groups" */
insert_groups: ((args: {
/** the rows to be inserted */
objects: groups_insert_input[],
/** upsert condition */
on_conflict?: (groups_on_conflict | null)}) => groups_mutation_responseObservableChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "groups" */
insert_groups_one: ((args: {
/** the row to be inserted */
object: groups_insert_input,
/** upsert condition */
on_conflict?: (groups_on_conflict | null)}) => groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Observable<(FieldsSelection<groups, R> | undefined)>}),
    
/** insert data into the table: "initiators" */
insert_initiators: ((args: {
/** the rows to be inserted */
objects: initiators_insert_input[],
/** upsert condition */
on_conflict?: (initiators_on_conflict | null)}) => initiators_mutation_responseObservableChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Observable<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "initiators" */
insert_initiators_one: ((args: {
/** the row to be inserted */
object: initiators_insert_input,
/** upsert condition */
on_conflict?: (initiators_on_conflict | null)}) => initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Observable<(FieldsSelection<initiators, R> | undefined)>}),
    
/** insert data into the table: "migrations" */
insert_migrations: ((args: {
/** the rows to be inserted */
objects: migrations_insert_input[],
/** upsert condition */
on_conflict?: (migrations_on_conflict | null)}) => migrations_mutation_responseObservableChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "migrations" */
insert_migrations_one: ((args: {
/** the row to be inserted */
object: migrations_insert_input,
/** upsert condition */
on_conflict?: (migrations_on_conflict | null)}) => migrationsObservableChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Observable<(FieldsSelection<migrations, R> | undefined)>}),
    
/** insert data into the table: "organization_qnr_widget" */
insert_organization_qnr_widget: ((args: {
/** the rows to be inserted */
objects: organization_qnr_widget_insert_input[],
/** upsert condition */
on_conflict?: (organization_qnr_widget_on_conflict | null)}) => organization_qnr_widget_mutation_responseObservableChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "organization_qnr_widget" */
insert_organization_qnr_widget_one: ((args: {
/** the row to be inserted */
object: organization_qnr_widget_insert_input,
/** upsert condition */
on_conflict?: (organization_qnr_widget_on_conflict | null)}) => organization_qnr_widgetObservableChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** insert data into the table: "projects" */
insert_projects: ((args: {
/** the rows to be inserted */
objects: projects_insert_input[],
/** upsert condition */
on_conflict?: (projects_on_conflict | null)}) => projects_mutation_responseObservableChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Observable<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "projects" */
insert_projects_one: ((args: {
/** the row to be inserted */
object: projects_insert_input,
/** upsert condition */
on_conflict?: (projects_on_conflict | null)}) => projectsObservableChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Observable<(FieldsSelection<projects, R> | undefined)>}),
    
/** insert data into the table: "qnr_template_genesis_overrides" */
insert_qnr_template_genesis_overrides: ((args: {
/** the rows to be inserted */
objects: qnr_template_genesis_overrides_insert_input[],
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)}) => qnr_template_genesis_overrides_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "qnr_template_genesis_overrides_log" */
insert_qnr_template_genesis_overrides_log: ((args: {
/** the rows to be inserted */
objects: qnr_template_genesis_overrides_log_insert_input[],
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)}) => qnr_template_genesis_overrides_log_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "qnr_template_genesis_overrides_log" */
insert_qnr_template_genesis_overrides_log_one: ((args: {
/** the row to be inserted */
object: qnr_template_genesis_overrides_log_insert_input,
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_log_on_conflict | null)}) => qnr_template_genesis_overrides_logObservableChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** insert a single row into the table: "qnr_template_genesis_overrides" */
insert_qnr_template_genesis_overrides_one: ((args: {
/** the row to be inserted */
object: qnr_template_genesis_overrides_insert_input,
/** upsert condition */
on_conflict?: (qnr_template_genesis_overrides_on_conflict | null)}) => qnr_template_genesis_overridesObservableChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** insert data into the table: "queries" */
insert_queries: ((args: {
/** the rows to be inserted */
objects: queries_insert_input[],
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}) => queries_mutation_responseObservableChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "queries_cache" */
insert_queries_cache: ((args: {
/** the rows to be inserted */
objects: queries_cache_insert_input[],
/** upsert condition */
on_conflict?: (queries_cache_on_conflict | null)}) => queries_cache_mutation_responseObservableChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_cache" */
insert_queries_cache_one: ((args: {
/** the row to be inserted */
object: queries_cache_insert_input,
/** upsert condition */
on_conflict?: (queries_cache_on_conflict | null)}) => queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** insert data into the table: "queries_error" */
insert_queries_error: ((args: {
/** the rows to be inserted */
objects: queries_error_insert_input[],
/** upsert condition */
on_conflict?: (queries_error_on_conflict | null)}) => queries_error_mutation_responseObservableChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_error" */
insert_queries_error_one: ((args: {
/** the row to be inserted */
object: queries_error_insert_input,
/** upsert condition */
on_conflict?: (queries_error_on_conflict | null)}) => queries_errorObservableChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Observable<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** insert data into the table: "queries_log" */
insert_queries_log: ((args: {
/** the rows to be inserted */
objects: queries_log_insert_input[],
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}) => queries_log_mutation_responseObservableChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "queries_log" */
insert_queries_log_one: ((args: {
/** the row to be inserted */
object: queries_log_insert_input,
/** upsert condition */
on_conflict?: (queries_log_on_conflict | null)}) => queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** insert a single row into the table: "queries" */
insert_queries_one: ((args: {
/** the row to be inserted */
object: queries_insert_input,
/** upsert condition */
on_conflict?: (queries_on_conflict | null)}) => queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** insert data into the table: "question_composite_question" */
insert_question_composite_question: ((args: {
/** the rows to be inserted */
objects: question_composite_question_insert_input[],
/** upsert condition */
on_conflict?: (question_composite_question_on_conflict | null)}) => question_composite_question_mutation_responseObservableChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "question_composite_question" */
insert_question_composite_question_one: ((args: {
/** the row to be inserted */
object: question_composite_question_insert_input,
/** upsert condition */
on_conflict?: (question_composite_question_on_conflict | null)}) => question_composite_questionObservableChain & {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question, R> | undefined)) => Observable<(FieldsSelection<question_composite_question, R> | undefined)>}),
    
/** insert data into the table: "question_template" */
insert_question_template: ((args: {
/** the rows to be inserted */
objects: question_template_insert_input[],
/** upsert condition */
on_conflict?: (question_template_on_conflict | null)}) => question_template_mutation_responseObservableChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "question_template" */
insert_question_template_one: ((args: {
/** the row to be inserted */
object: question_template_insert_input,
/** upsert condition */
on_conflict?: (question_template_on_conflict | null)}) => question_templateObservableChain & {get: <R extends question_templateRequest>(request: R, defaultValue?: (FieldsSelection<question_template, R> | undefined)) => Observable<(FieldsSelection<question_template, R> | undefined)>}),
    
/** insert data into the table: "questions" */
insert_questions: ((args: {
/** the rows to be inserted */
objects: questions_insert_input[],
/** upsert condition */
on_conflict?: (questions_on_conflict | null)}) => questions_mutation_responseObservableChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "questions" */
insert_questions_one: ((args: {
/** the row to be inserted */
object: questions_insert_input,
/** upsert condition */
on_conflict?: (questions_on_conflict | null)}) => questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Observable<(FieldsSelection<questions, R> | undefined)>}),
    
/** insert data into the table: "security_levels" */
insert_security_levels: ((args: {
/** the rows to be inserted */
objects: security_levels_insert_input[],
/** upsert condition */
on_conflict?: (security_levels_on_conflict | null)}) => security_levels_mutation_responseObservableChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "security_levels" */
insert_security_levels_one: ((args: {
/** the row to be inserted */
object: security_levels_insert_input,
/** upsert condition */
on_conflict?: (security_levels_on_conflict | null)}) => security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** insert data into the table: "settings" */
insert_settings: ((args: {
/** the rows to be inserted */
objects: settings_insert_input[],
/** upsert condition */
on_conflict?: (settings_on_conflict | null)}) => settings_mutation_responseObservableChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Observable<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "settings" */
insert_settings_one: ((args: {
/** the row to be inserted */
object: settings_insert_input,
/** upsert condition */
on_conflict?: (settings_on_conflict | null)}) => settingsObservableChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Observable<(FieldsSelection<settings, R> | undefined)>}),
    
/** insert data into the table: "shortcuts" */
insert_shortcuts: ((args: {
/** the rows to be inserted */
objects: shortcuts_insert_input[],
/** upsert condition */
on_conflict?: (shortcuts_on_conflict | null)}) => shortcuts_mutation_responseObservableChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "shortcuts" */
insert_shortcuts_one: ((args: {
/** the row to be inserted */
object: shortcuts_insert_input,
/** upsert condition */
on_conflict?: (shortcuts_on_conflict | null)}) => shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Observable<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** insert data into the table: "sms" */
insert_sms: ((args: {
/** the rows to be inserted */
objects: sms_insert_input[],
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}) => sms_mutation_responseObservableChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms" */
insert_sms_one: ((args: {
/** the row to be inserted */
object: sms_insert_input,
/** upsert condition */
on_conflict?: (sms_on_conflict | null)}) => smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Observable<(FieldsSelection<sms, R> | undefined)>}),
    
/** insert data into the table: "sms_template_template" */
insert_sms_template_template: ((args: {
/** the rows to be inserted */
objects: sms_template_template_insert_input[],
/** upsert condition */
on_conflict?: (sms_template_template_on_conflict | null)}) => sms_template_template_mutation_responseObservableChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms_template_template" */
insert_sms_template_template_one: ((args: {
/** the row to be inserted */
object: sms_template_template_insert_input,
/** upsert condition */
on_conflict?: (sms_template_template_on_conflict | null)}) => sms_template_templateObservableChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Observable<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** insert data into the table: "sms_templates" */
insert_sms_templates: ((args: {
/** the rows to be inserted */
objects: sms_templates_insert_input[],
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}) => sms_templates_mutation_responseObservableChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "sms_templates" */
insert_sms_templates_one: ((args: {
/** the row to be inserted */
object: sms_templates_insert_input,
/** upsert condition */
on_conflict?: (sms_templates_on_conflict | null)}) => sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** insert data into the table: "status" */
insert_status: ((args: {
/** the rows to be inserted */
objects: status_insert_input[],
/** upsert condition */
on_conflict?: (status_on_conflict | null)}) => status_mutation_responseObservableChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "status" */
insert_status_one: ((args: {
/** the row to be inserted */
object: status_insert_input,
/** upsert condition */
on_conflict?: (status_on_conflict | null)}) => statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Observable<(FieldsSelection<status, R> | undefined)>}),
    
/** insert data into the table: "table_names" */
insert_table_names: ((args: {
/** the rows to be inserted */
objects: table_names_insert_input[],
/** upsert condition */
on_conflict?: (table_names_on_conflict | null)}) => table_names_mutation_responseObservableChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "table_names" */
insert_table_names_one: ((args: {
/** the row to be inserted */
object: table_names_insert_input,
/** upsert condition */
on_conflict?: (table_names_on_conflict | null)}) => table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Observable<(FieldsSelection<table_names, R> | undefined)>}),
    
/** insert data into the table: "template_artifact_parcel" */
insert_template_artifact_parcel: ((args: {
/** the rows to be inserted */
objects: template_artifact_parcel_insert_input[],
/** upsert condition */
on_conflict?: (template_artifact_parcel_on_conflict | null)}) => template_artifact_parcel_mutation_responseObservableChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_artifact_parcel" */
insert_template_artifact_parcel_one: ((args: {
/** the row to be inserted */
object: template_artifact_parcel_insert_input,
/** upsert condition */
on_conflict?: (template_artifact_parcel_on_conflict | null)}) => template_artifact_parcelObservableChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** insert data into the table: "template_cache" */
insert_template_cache: ((args: {
/** the rows to be inserted */
objects: template_cache_insert_input[],
/** upsert condition */
on_conflict?: (template_cache_on_conflict | null)}) => template_cache_mutation_responseObservableChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "template_cache_access" */
insert_template_cache_access: ((args: {
/** the rows to be inserted */
objects: template_cache_access_insert_input[],
/** upsert condition */
on_conflict?: (template_cache_access_on_conflict | null)}) => template_cache_access_mutation_responseObservableChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_cache_access" */
insert_template_cache_access_one: ((args: {
/** the row to be inserted */
object: template_cache_access_insert_input,
/** upsert condition */
on_conflict?: (template_cache_access_on_conflict | null)}) => template_cache_accessObservableChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Observable<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** insert a single row into the table: "template_cache" */
insert_template_cache_one: ((args: {
/** the row to be inserted */
object: template_cache_insert_input,
/** upsert condition */
on_conflict?: (template_cache_on_conflict | null)}) => template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** insert data into the table: "template_flags" */
insert_template_flags: ((args: {
/** the rows to be inserted */
objects: template_flags_insert_input[]}) => template_flags_mutation_responseObservableChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_flags" */
insert_template_flags_one: ((args: {
/** the row to be inserted */
object: template_flags_insert_input}) => template_flagsObservableChain & {get: <R extends template_flagsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags, R> | undefined)) => Observable<(FieldsSelection<template_flags, R> | undefined)>}),
    
/** insert data into the table: "template_journal_roles" */
insert_template_journal_roles: ((args: {
/** the rows to be inserted */
objects: template_journal_roles_insert_input[],
/** upsert condition */
on_conflict?: (template_journal_roles_on_conflict | null)}) => template_journal_roles_mutation_responseObservableChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_journal_roles" */
insert_template_journal_roles_one: ((args: {
/** the row to be inserted */
object: template_journal_roles_insert_input,
/** upsert condition */
on_conflict?: (template_journal_roles_on_conflict | null)}) => template_journal_rolesObservableChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** insert data into the table: "template_offer_types" */
insert_template_offer_types: ((args: {
/** the rows to be inserted */
objects: template_offer_types_insert_input[],
/** upsert condition */
on_conflict?: (template_offer_types_on_conflict | null)}) => template_offer_types_mutation_responseObservableChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_offer_types" */
insert_template_offer_types_one: ((args: {
/** the row to be inserted */
object: template_offer_types_insert_input,
/** upsert condition */
on_conflict?: (template_offer_types_on_conflict | null)}) => template_offer_typesObservableChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Observable<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** insert data into the table: "template_offers" */
insert_template_offers: ((args: {
/** the rows to be inserted */
objects: template_offers_insert_input[],
/** upsert condition */
on_conflict?: (template_offers_on_conflict | null)}) => template_offers_mutation_responseObservableChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "template_offers" */
insert_template_offers_one: ((args: {
/** the row to be inserted */
object: template_offers_insert_input,
/** upsert condition */
on_conflict?: (template_offers_on_conflict | null)}) => template_offersObservableChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Observable<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** insert data into the table: "templates" */
insert_templates: ((args: {
/** the rows to be inserted */
objects: templates_insert_input[],
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}) => templates_mutation_responseObservableChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "templates" */
insert_templates_one: ((args: {
/** the row to be inserted */
object: templates_insert_input,
/** upsert condition */
on_conflict?: (templates_on_conflict | null)}) => templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** insert data into the table: "types" */
insert_types: ((args: {
/** the rows to be inserted */
objects: types_insert_input[],
/** upsert condition */
on_conflict?: (types_on_conflict | null)}) => types_mutation_responseObservableChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "types" */
insert_types_one: ((args: {
/** the row to be inserted */
object: types_insert_input,
/** upsert condition */
on_conflict?: (types_on_conflict | null)}) => typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Observable<(FieldsSelection<types, R> | undefined)>}),
    
/** qnrResponse */
qnrResponse: ((args: {participants: Participant[],qnrs: qnrs_ActionType[],shareQnr?: (Scalars['Boolean'] | null),withPostToConnector?: (Scalars['Boolean'] | null),withPrefillFromConnector?: (Scalars['Boolean'] | null),withPropertiesToReturn?: (Scalars['Boolean'] | null),withSave?: (Scalars['Boolean'] | null)}) => qnrs_ActionTypeResponseDataObservableChain & {get: <R extends qnrs_ActionTypeResponseDataRequest>(request: R, defaultValue?: (FieldsSelection<qnrs_ActionTypeResponseData, R> | undefined)) => Observable<(FieldsSelection<qnrs_ActionTypeResponseData, R> | undefined)>}),
    
/** Send sms */
sendSms: ((args?: {objects?: (SmsInput[] | null)}) => SmsOutputObservableChain & {get: <R extends SmsOutputRequest>(request: R, defaultValue?: (FieldsSelection<SmsOutput, R> | undefined)) => Observable<(FieldsSelection<SmsOutput, R> | undefined)>})&(SmsOutputObservableChain & {get: <R extends SmsOutputRequest>(request: R, defaultValue?: (FieldsSelection<SmsOutput, R> | undefined)) => Observable<(FieldsSelection<SmsOutput, R> | undefined)>}),
    
/** update data of the table: "DocKladd_properties" */
update_DocKladd_properties: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (DocKladd_properties_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_properties_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_properties_bool_exp}) => DocKladd_properties_mutation_responseObservableChain & {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "DocKladd_properties" */
update_DocKladd_properties_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (DocKladd_properties_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_properties_set_input | null),pk_columns: DocKladd_properties_pk_columns_input}) => DocKladd_propertiesObservableChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** update multiples rows of table: "DocKladd_properties" */
update_DocKladd_properties_many: ((args: {
/** updates to execute, in order */
updates: DocKladd_properties_updates[]}) => {get: <R extends DocKladd_properties_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<DocKladd_properties_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "DocKladd_questions" */
update_DocKladd_questions: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_questions_set_input | null),
/** filter the rows which have to be updated */
where: DocKladd_questions_bool_exp}) => DocKladd_questions_mutation_responseObservableChain & {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "DocKladd_questions" */
update_DocKladd_questions_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (DocKladd_questions_set_input | null),pk_columns: DocKladd_questions_pk_columns_input}) => DocKladd_questionsObservableChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** update multiples rows of table: "DocKladd_questions" */
update_DocKladd_questions_many: ((args: {
/** updates to execute, in order */
updates: DocKladd_questions_updates[]}) => {get: <R extends DocKladd_questions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<DocKladd_questions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "accessible" */
update_accessible: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (accessible_set_input | null),
/** filter the rows which have to be updated */
where: accessible_bool_exp}) => accessible_mutation_responseObservableChain & {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<accessible_mutation_response, R> | undefined)) => Observable<(FieldsSelection<accessible_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "accessible" */
update_accessible_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (accessible_set_input | null),pk_columns: accessible_pk_columns_input}) => accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    
/** update multiples rows of table: "accessible" */
update_accessible_many: ((args: {
/** updates to execute, in order */
updates: accessible_updates[]}) => {get: <R extends accessible_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<accessible_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<accessible_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (adopus_AdgangLinjer_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (adopus_AdgangLinjer_set_input | null),
/** filter the rows which have to be updated */
where: adopus_AdgangLinjer_bool_exp}) => adopus_AdgangLinjer_mutation_responseObservableChain & {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (adopus_AdgangLinjer_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (adopus_AdgangLinjer_set_input | null),pk_columns: adopus_AdgangLinjer_pk_columns_input}) => adopus_AdgangLinjerObservableChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** update multiples rows of table: "adopus_AdgangLinjer" */
update_adopus_AdgangLinjer_many: ((args: {
/** updates to execute, in order */
updates: adopus_AdgangLinjer_updates[]}) => {get: <R extends adopus_AdgangLinjer_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<adopus_AdgangLinjer_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_answers" */
update_anonymous_answers: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_answers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_answers_delete_at_path_input | null),
/** 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_elem?: (anonymous_answers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_answers_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_answers_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_answers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_answers_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_answers_bool_exp}) => anonymous_answers_mutation_responseObservableChain & {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_answers" */
update_anonymous_answers_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_answers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_answers_delete_at_path_input | null),
/** 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_elem?: (anonymous_answers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_answers_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_answers_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_answers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_answers_set_input | null),pk_columns: anonymous_answers_pk_columns_input}) => anonymous_answersObservableChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_answers" */
update_anonymous_answers_many: ((args: {
/** updates to execute, in order */
updates: anonymous_answers_updates[]}) => {get: <R extends anonymous_answers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_answers_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_answers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_invitations" */
update_anonymous_invitations: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_invitations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_invitations_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_invitations_bool_exp}) => anonymous_invitations_mutation_responseObservableChain & {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_invitations" */
update_anonymous_invitations_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_invitations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_invitations_set_input | null),pk_columns: anonymous_invitations_pk_columns_input}) => anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_invitations" */
update_anonymous_invitations_many: ((args: {
/** updates to execute, in order */
updates: anonymous_invitations_updates[]}) => {get: <R extends anonymous_invitations_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_invitations_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_queries" */
update_anonymous_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_queries_delete_at_path_input | null),
/** 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_elem?: (anonymous_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_queries_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_queries_bool_exp}) => anonymous_queries_mutation_responseObservableChain & {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_queries" */
update_anonymous_queries_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_queries_delete_at_path_input | null),
/** 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_elem?: (anonymous_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_queries_set_input | null),pk_columns: anonymous_queries_pk_columns_input}) => anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_queries" */
update_anonymous_queries_many: ((args: {
/** updates to execute, in order */
updates: anonymous_queries_updates[]}) => {get: <R extends anonymous_queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_queries_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_sms" */
update_anonymous_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_sms_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_sms_bool_exp}) => anonymous_sms_mutation_responseObservableChain & {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_sms" */
update_anonymous_sms_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_sms_set_input | null),pk_columns: anonymous_sms_pk_columns_input}) => anonymous_smsObservableChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_sms" */
update_anonymous_sms_many: ((args: {
/** updates to execute, in order */
updates: anonymous_sms_updates[]}) => {get: <R extends anonymous_sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_sms_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_template_question" */
update_anonymous_template_question: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_template_question_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_template_question_delete_at_path_input | null),
/** 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_elem?: (anonymous_template_question_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_template_question_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_template_question_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_template_question_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_template_question_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_template_question_bool_exp}) => anonymous_template_question_mutation_responseObservableChain & {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_template_question" */
update_anonymous_template_question_many: ((args: {
/** updates to execute, in order */
updates: anonymous_template_question_updates[]}) => {get: <R extends anonymous_template_question_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_template_question_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "anonymous_templates" */
update_anonymous_templates: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_templates_delete_at_path_input | null),
/** 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_elem?: (anonymous_templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_templates_set_input | null),
/** filter the rows which have to be updated */
where: anonymous_templates_bool_exp}) => anonymous_templates_mutation_responseObservableChain & {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "anonymous_templates" */
update_anonymous_templates_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (anonymous_templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (anonymous_templates_delete_at_path_input | null),
/** 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_elem?: (anonymous_templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (anonymous_templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (anonymous_templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (anonymous_templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (anonymous_templates_set_input | null),pk_columns: anonymous_templates_pk_columns_input}) => anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** update multiples rows of table: "anonymous_templates" */
update_anonymous_templates_many: ((args: {
/** updates to execute, in order */
updates: anonymous_templates_updates[]}) => {get: <R extends anonymous_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<anonymous_templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<anonymous_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_artifact_parcel_bool_exp}) => artifact_package_artifact_parcel_mutation_responseObservableChain & {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_artifact_parcel_set_input | null),pk_columns: artifact_package_artifact_parcel_pk_columns_input}) => artifact_package_artifact_parcelObservableChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_artifact_parcel" */
update_artifact_package_artifact_parcel_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_artifact_parcel_updates[]}) => {get: <R extends artifact_package_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<artifact_package_artifact_parcel_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_cron" */
update_artifact_package_cron: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_cron_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_cron_bool_exp}) => artifact_package_cron_mutation_responseObservableChain & {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_cron" */
update_artifact_package_cron_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_cron_set_input | null),pk_columns: artifact_package_cron_pk_columns_input}) => artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_cron" */
update_artifact_package_cron_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_cron_updates[]}) => {get: <R extends artifact_package_cron_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<artifact_package_cron_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_package_groups" */
update_artifact_package_groups: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (artifact_package_groups_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_groups_set_input | null),
/** filter the rows which have to be updated */
where: artifact_package_groups_bool_exp}) => artifact_package_groups_mutation_responseObservableChain & {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_package_groups" */
update_artifact_package_groups_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (artifact_package_groups_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_package_groups_set_input | null),pk_columns: artifact_package_groups_pk_columns_input}) => artifact_package_groupsObservableChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_package_groups" */
update_artifact_package_groups_many: ((args: {
/** updates to execute, in order */
updates: artifact_package_groups_updates[]}) => {get: <R extends artifact_package_groups_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<artifact_package_groups_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_packages" */
update_artifact_packages: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_packages_set_input | null),
/** filter the rows which have to be updated */
where: artifact_packages_bool_exp}) => artifact_packages_mutation_responseObservableChain & {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_packages_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_packages" */
update_artifact_packages_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_packages_set_input | null),pk_columns: artifact_packages_pk_columns_input}) => artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_packages" */
update_artifact_packages_many: ((args: {
/** updates to execute, in order */
updates: artifact_packages_updates[]}) => {get: <R extends artifact_packages_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_packages_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<artifact_packages_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "artifact_parcels" */
update_artifact_parcels: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_parcels_set_input | null),
/** filter the rows which have to be updated */
where: artifact_parcels_bool_exp}) => artifact_parcels_mutation_responseObservableChain & {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "artifact_parcels" */
update_artifact_parcels_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (artifact_parcels_set_input | null),pk_columns: artifact_parcels_pk_columns_input}) => artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** update multiples rows of table: "artifact_parcels" */
update_artifact_parcels_many: ((args: {
/** updates to execute, in order */
updates: artifact_parcels_updates[]}) => {get: <R extends artifact_parcels_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<artifact_parcels_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<artifact_parcels_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "categories" */
update_categories: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (categories_set_input | null),
/** filter the rows which have to be updated */
where: categories_bool_exp}) => categories_mutation_responseObservableChain & {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<categories_mutation_response, R> | undefined)) => Observable<(FieldsSelection<categories_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "categories" */
update_categories_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (categories_set_input | null),pk_columns: categories_pk_columns_input}) => categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Observable<(FieldsSelection<categories, R> | undefined)>}),
    
/** update multiples rows of table: "categories" */
update_categories_many: ((args: {
/** updates to execute, in order */
updates: categories_updates[]}) => {get: <R extends categories_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<categories_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<categories_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_approval_rejection_reasons_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_approval_rejection_reasons_set_input | null),
/** filter the rows which have to be updated */
where: consent_approval_rejection_reasons_bool_exp}) => consent_approval_rejection_reasons_mutation_responseObservableChain & {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_approval_rejection_reasons_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_approval_rejection_reasons_set_input | null),pk_columns: consent_approval_rejection_reasons_pk_columns_input}) => consent_approval_rejection_reasonsObservableChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** update multiples rows of table: "consent_approval_rejection_reasons" */
update_consent_approval_rejection_reasons_many: ((args: {
/** updates to execute, in order */
updates: consent_approval_rejection_reasons_updates[]}) => {get: <R extends consent_approval_rejection_reasons_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consent_approval_rejection_reasons_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_patient" */
update_consent_patient: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_patient_set_input | null),
/** filter the rows which have to be updated */
where: consent_patient_bool_exp}) => consent_patient_mutation_responseObservableChain & {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_patient_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_patient" */
update_consent_patient_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_patient_set_input | null),pk_columns: consent_patient_pk_columns_input}) => consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** update multiples rows of table: "consent_patient" */
update_consent_patient_many: ((args: {
/** updates to execute, in order */
updates: consent_patient_updates[]}) => {get: <R extends consent_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_patient_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consent_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_status" */
update_consent_status: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (consent_status_set_input | null),
/** filter the rows which have to be updated */
where: consent_status_bool_exp}) => consent_status_mutation_responseObservableChain & {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_status_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_status" */
update_consent_status_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (consent_status_set_input | null),pk_columns: consent_status_pk_columns_input}) => consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Observable<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** update multiples rows of table: "consent_status" */
update_consent_status_many: ((args: {
/** updates to execute, in order */
updates: consent_status_updates[]}) => {get: <R extends consent_status_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_status_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consent_status_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_template_to_template" */
update_consent_template_to_template: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_template_to_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_template_to_template_set_input | null),
/** filter the rows which have to be updated */
where: consent_template_to_template_bool_exp}) => consent_template_to_template_mutation_responseObservableChain & {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "consent_template_to_template" */
update_consent_template_to_template_many: ((args: {
/** updates to execute, in order */
updates: consent_template_to_template_updates[]}) => {get: <R extends consent_template_to_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consent_template_to_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consent_templates" */
update_consent_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: consent_templates_bool_exp}) => consent_templates_mutation_responseObservableChain & {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consent_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consent_templates" */
update_consent_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consent_templates_set_input | null),pk_columns: consent_templates_pk_columns_input}) => consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Observable<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** update multiples rows of table: "consent_templates" */
update_consent_templates_many: ((args: {
/** updates to execute, in order */
updates: consent_templates_updates[]}) => {get: <R extends consent_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consent_templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consent_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "consents" */
update_consents: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consents_set_input | null),
/** filter the rows which have to be updated */
where: consents_bool_exp}) => consents_mutation_responseObservableChain & {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<consents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<consents_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "consents" */
update_consents_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (consents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (consents_set_input | null),pk_columns: consents_pk_columns_input}) => consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Observable<(FieldsSelection<consents, R> | undefined)>}),
    
/** update multiples rows of table: "consents" */
update_consents_many: ((args: {
/** updates to execute, in order */
updates: consents_updates[]}) => {get: <R extends consents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<consents_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<consents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "context_group_context" */
update_context_group_context: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (context_group_context_set_input | null),
/** filter the rows which have to be updated */
where: context_group_context_bool_exp}) => context_group_context_mutation_responseObservableChain & {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<context_group_context_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "context_group_context" */
update_context_group_context_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (context_group_context_set_input | null),pk_columns: context_group_context_pk_columns_input}) => context_group_contextObservableChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Observable<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** update multiples rows of table: "context_group_context" */
update_context_group_context_many: ((args: {
/** updates to execute, in order */
updates: context_group_context_updates[]}) => {get: <R extends context_group_context_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<context_group_context_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<context_group_context_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "contexts" */
update_contexts: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (contexts_set_input | null),
/** filter the rows which have to be updated */
where: contexts_bool_exp}) => contexts_mutation_responseObservableChain & {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<contexts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<contexts_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "contexts" */
update_contexts_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (contexts_set_input | null),pk_columns: contexts_pk_columns_input}) => contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    
/** update multiples rows of table: "contexts" */
update_contexts_many: ((args: {
/** updates to execute, in order */
updates: contexts_updates[]}) => {get: <R extends contexts_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<contexts_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<contexts_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "custom_db_nodes" */
update_custom_db_nodes: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (custom_db_nodes_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
/** 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_elem?: (custom_db_nodes_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (custom_db_nodes_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (custom_db_nodes_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (custom_db_nodes_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (custom_db_nodes_set_input | null),
/** filter the rows which have to be updated */
where: custom_db_nodes_bool_exp}) => custom_db_nodes_mutation_responseObservableChain & {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "custom_db_nodes" */
update_custom_db_nodes_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (custom_db_nodes_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (custom_db_nodes_delete_at_path_input | null),
/** 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_elem?: (custom_db_nodes_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (custom_db_nodes_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (custom_db_nodes_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (custom_db_nodes_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (custom_db_nodes_set_input | null),pk_columns: custom_db_nodes_pk_columns_input}) => custom_db_nodesObservableChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** update multiples rows of table: "custom_db_nodes" */
update_custom_db_nodes_many: ((args: {
/** updates to execute, in order */
updates: custom_db_nodes_updates[]}) => {get: <R extends custom_db_nodes_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<custom_db_nodes_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_customers" */
update_directory_customers: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_customers_set_input | null),
/** filter the rows which have to be updated */
where: directory_customers_bool_exp}) => directory_customers_mutation_responseObservableChain & {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_customers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_customers" */
update_directory_customers_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_customers_set_input | null),pk_columns: directory_customers_pk_columns_input}) => directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** update multiples rows of table: "directory_customers" */
update_directory_customers_many: ((args: {
/** updates to execute, in order */
updates: directory_customers_updates[]}) => {get: <R extends directory_customers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_customers_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_customers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_user_name" */
update_directory_user_name: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_name_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_name_bool_exp}) => directory_user_name_mutation_responseObservableChain & {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_name_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_user_name" */
update_directory_user_name_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_name_set_input | null),pk_columns: directory_user_name_pk_columns_input}) => directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** update multiples rows of table: "directory_user_name" */
update_directory_user_name_many: ((args: {
/** updates to execute, in order */
updates: directory_user_name_updates[]}) => {get: <R extends directory_user_name_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_user_name_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_user_name_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "document_patient" */
update_document_patient: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_patient_set_input | null),
/** filter the rows which have to be updated */
where: document_patient_bool_exp}) => document_patient_mutation_responseObservableChain & {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_patient_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "document_patient" */
update_document_patient_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_patient_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_patient_set_input | null),pk_columns: document_patient_pk_columns_input}) => document_patientObservableChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Observable<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** update multiples rows of table: "document_patient" */
update_document_patient_many: ((args: {
/** updates to execute, in order */
updates: document_patient_updates[]}) => {get: <R extends document_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<document_patient_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<document_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "document_sms" */
update_document_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (document_sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (document_sms_set_input | null),
/** filter the rows which have to be updated */
where: document_sms_bool_exp}) => document_sms_mutation_responseObservableChain & {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<document_sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<document_sms_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "document_sms" */
update_document_sms_many: ((args: {
/** updates to execute, in order */
updates: document_sms_updates[]}) => {get: <R extends document_sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<document_sms_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<document_sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "documents" */
update_documents: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (documents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (documents_set_input | null),
/** filter the rows which have to be updated */
where: documents_bool_exp}) => documents_mutation_responseObservableChain & {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<documents_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "documents" */
update_documents_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (documents_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (documents_set_input | null),pk_columns: documents_pk_columns_input}) => documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    
/** update multiples rows of table: "documents" */
update_documents_many: ((args: {
/** updates to execute, in order */
updates: documents_updates[]}) => {get: <R extends documents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<documents_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<documents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "event_artifact_package" */
update_event_artifact_package: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (event_artifact_package_set_input | null),
/** filter the rows which have to be updated */
where: event_artifact_package_bool_exp}) => event_artifact_package_mutation_responseObservableChain & {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package_mutation_response, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "event_artifact_package" */
update_event_artifact_package_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (event_artifact_package_set_input | null),pk_columns: event_artifact_package_pk_columns_input}) => event_artifact_packageObservableChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** update multiples rows of table: "event_artifact_package" */
update_event_artifact_package_many: ((args: {
/** updates to execute, in order */
updates: event_artifact_package_updates[]}) => {get: <R extends event_artifact_package_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<event_artifact_package_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<event_artifact_package_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "favorite_templates_order" */
update_favorite_templates_order: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorite_templates_order_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorite_templates_order_set_input | null),
/** filter the rows which have to be updated */
where: favorite_templates_order_bool_exp}) => favorite_templates_order_mutation_responseObservableChain & {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "favorite_templates_order" */
update_favorite_templates_order_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorite_templates_order_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorite_templates_order_set_input | null),pk_columns: favorite_templates_order_pk_columns_input}) => favorite_templates_orderObservableChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** update multiples rows of table: "favorite_templates_order" */
update_favorite_templates_order_many: ((args: {
/** updates to execute, in order */
updates: favorite_templates_order_updates[]}) => {get: <R extends favorite_templates_order_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<favorite_templates_order_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "favorites" */
update_favorites: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorites_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorites_set_input | null),
/** filter the rows which have to be updated */
where: favorites_bool_exp}) => favorites_mutation_responseObservableChain & {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<favorites_mutation_response, R> | undefined)) => Observable<(FieldsSelection<favorites_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "favorites" */
update_favorites_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (favorites_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (favorites_set_input | null),pk_columns: favorites_pk_columns_input}) => favoritesObservableChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Observable<(FieldsSelection<favorites, R> | undefined)>}),
    
/** update multiples rows of table: "favorites" */
update_favorites_many: ((args: {
/** updates to execute, in order */
updates: favorites_updates[]}) => {get: <R extends favorites_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<favorites_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<favorites_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "filter_names" */
update_filter_names: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (filter_names_set_input | null),
/** filter the rows which have to be updated */
where: filter_names_bool_exp}) => filter_names_mutation_responseObservableChain & {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<filter_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<filter_names_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "filter_names" */
update_filter_names_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (filter_names_set_input | null),pk_columns: filter_names_pk_columns_input}) => filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Observable<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** update multiples rows of table: "filter_names" */
update_filter_names_many: ((args: {
/** updates to execute, in order */
updates: filter_names_updates[]}) => {get: <R extends filter_names_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<filter_names_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<filter_names_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_consent_permissions" */
update_genesis_consent_permissions: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_permissions_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_permissions_bool_exp}) => genesis_consent_permissions_mutation_responseObservableChain & {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_consent_permissions" */
update_genesis_consent_permissions_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_permissions_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_permissions_set_input | null),pk_columns: genesis_consent_permissions_pk_columns_input}) => genesis_consent_permissionsObservableChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_consent_permissions" */
update_genesis_consent_permissions_many: ((args: {
/** updates to execute, in order */
updates: genesis_consent_permissions_updates[]}) => {get: <R extends genesis_consent_permissions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<genesis_consent_permissions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_consent_templates" */
update_genesis_consent_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_consent_templates_bool_exp}) => genesis_consent_templates_mutation_responseObservableChain & {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_consent_templates" */
update_genesis_consent_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_consent_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_consent_templates_set_input | null),pk_columns: genesis_consent_templates_pk_columns_input}) => genesis_consent_templatesObservableChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_consent_templates" */
update_genesis_consent_templates_many: ((args: {
/** updates to execute, in order */
updates: genesis_consent_templates_updates[]}) => {get: <R extends genesis_consent_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<genesis_consent_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_denied_permissions" */
update_genesis_denied_permissions: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_denied_permissions_set_input | null),
/** filter the rows which have to be updated */
where: genesis_denied_permissions_bool_exp}) => genesis_denied_permissions_mutation_responseObservableChain & {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_denied_permissions" */
update_genesis_denied_permissions_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_denied_permissions_set_input | null),pk_columns: genesis_denied_permissions_pk_columns_input}) => genesis_denied_permissionsObservableChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_denied_permissions" */
update_genesis_denied_permissions_many: ((args: {
/** updates to execute, in order */
updates: genesis_denied_permissions_updates[]}) => {get: <R extends genesis_denied_permissions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<genesis_denied_permissions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "genesis_templates" */
update_genesis_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_templates_set_input | null),
/** filter the rows which have to be updated */
where: genesis_templates_bool_exp}) => genesis_templates_mutation_responseObservableChain & {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<genesis_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "genesis_templates" */
update_genesis_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (genesis_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (genesis_templates_set_input | null),pk_columns: genesis_templates_pk_columns_input}) => genesis_templatesObservableChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** update multiples rows of table: "genesis_templates" */
update_genesis_templates_many: ((args: {
/** updates to execute, in order */
updates: genesis_templates_updates[]}) => {get: <R extends genesis_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<genesis_templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<genesis_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "group_context" */
update_group_context: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_set_input | null),
/** filter the rows which have to be updated */
where: group_context_bool_exp}) => group_context_mutation_responseObservableChain & {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "group_context" */
update_group_context_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_set_input | null),pk_columns: group_context_pk_columns_input}) => group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Observable<(FieldsSelection<group_context, R> | undefined)>}),
    
/** update data of the table: "group_context_filters" */
update_group_context_filters: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_filters_set_input | null),
/** filter the rows which have to be updated */
where: group_context_filters_bool_exp}) => group_context_filters_mutation_responseObservableChain & {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters_mutation_response, R> | undefined)) => Observable<(FieldsSelection<group_context_filters_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "group_context_filters" */
update_group_context_filters_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (group_context_filters_set_input | null),pk_columns: group_context_filters_pk_columns_input}) => group_context_filtersObservableChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Observable<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** update multiples rows of table: "group_context_filters" */
update_group_context_filters_many: ((args: {
/** updates to execute, in order */
updates: group_context_filters_updates[]}) => {get: <R extends group_context_filters_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<group_context_filters_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<group_context_filters_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "group_context" */
update_group_context_many: ((args: {
/** updates to execute, in order */
updates: group_context_updates[]}) => {get: <R extends group_context_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<group_context_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<group_context_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "groups" */
update_groups: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (groups_set_input | null),
/** filter the rows which have to be updated */
where: groups_bool_exp}) => groups_mutation_responseObservableChain & {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<groups_mutation_response, R> | undefined)) => Observable<(FieldsSelection<groups_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "groups" */
update_groups_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (groups_set_input | null),pk_columns: groups_pk_columns_input}) => groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Observable<(FieldsSelection<groups, R> | undefined)>}),
    
/** update multiples rows of table: "groups" */
update_groups_many: ((args: {
/** updates to execute, in order */
updates: groups_updates[]}) => {get: <R extends groups_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<groups_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<groups_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "initiators" */
update_initiators: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (initiators_set_input | null),
/** filter the rows which have to be updated */
where: initiators_bool_exp}) => initiators_mutation_responseObservableChain & {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<initiators_mutation_response, R> | undefined)) => Observable<(FieldsSelection<initiators_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "initiators" */
update_initiators_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (initiators_set_input | null),pk_columns: initiators_pk_columns_input}) => initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Observable<(FieldsSelection<initiators, R> | undefined)>}),
    
/** update multiples rows of table: "initiators" */
update_initiators_many: ((args: {
/** updates to execute, in order */
updates: initiators_updates[]}) => {get: <R extends initiators_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<initiators_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<initiators_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "migrations" */
update_migrations: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (migrations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (migrations_set_input | null),
/** filter the rows which have to be updated */
where: migrations_bool_exp}) => migrations_mutation_responseObservableChain & {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<migrations_mutation_response, R> | undefined)) => Observable<(FieldsSelection<migrations_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "migrations" */
update_migrations_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (migrations_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (migrations_set_input | null),pk_columns: migrations_pk_columns_input}) => migrationsObservableChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Observable<(FieldsSelection<migrations, R> | undefined)>}),
    
/** update multiples rows of table: "migrations" */
update_migrations_many: ((args: {
/** updates to execute, in order */
updates: migrations_updates[]}) => {get: <R extends migrations_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<migrations_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<migrations_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "organization_qnr_widget" */
update_organization_qnr_widget: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (organization_qnr_widget_set_input | null),
/** filter the rows which have to be updated */
where: organization_qnr_widget_bool_exp}) => organization_qnr_widget_mutation_responseObservableChain & {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "organization_qnr_widget" */
update_organization_qnr_widget_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (organization_qnr_widget_set_input | null),pk_columns: organization_qnr_widget_pk_columns_input}) => organization_qnr_widgetObservableChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** update multiples rows of table: "organization_qnr_widget" */
update_organization_qnr_widget_many: ((args: {
/** updates to execute, in order */
updates: organization_qnr_widget_updates[]}) => {get: <R extends organization_qnr_widget_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<organization_qnr_widget_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "projects" */
update_projects: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (projects_set_input | null),
/** filter the rows which have to be updated */
where: projects_bool_exp}) => projects_mutation_responseObservableChain & {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<projects_mutation_response, R> | undefined)) => Observable<(FieldsSelection<projects_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "projects" */
update_projects_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (projects_set_input | null),pk_columns: projects_pk_columns_input}) => projectsObservableChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Observable<(FieldsSelection<projects, R> | undefined)>}),
    
/** update multiples rows of table: "projects" */
update_projects_many: ((args: {
/** updates to execute, in order */
updates: projects_updates[]}) => {get: <R extends projects_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<projects_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<projects_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_bool_exp}) => qnr_template_genesis_overrides_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_set_input | null),pk_columns: qnr_template_genesis_overrides_pk_columns_input}) => qnr_template_genesis_overridesObservableChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** update data of the table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (qnr_template_genesis_overrides_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_log_set_input | null),
/** filter the rows which have to be updated */
where: qnr_template_genesis_overrides_log_bool_exp}) => qnr_template_genesis_overrides_log_mutation_responseObservableChain & {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (qnr_template_genesis_overrides_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (qnr_template_genesis_overrides_log_delete_at_path_input | null),
/** 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_elem?: (qnr_template_genesis_overrides_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (qnr_template_genesis_overrides_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (qnr_template_genesis_overrides_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (qnr_template_genesis_overrides_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (qnr_template_genesis_overrides_log_set_input | null),pk_columns: qnr_template_genesis_overrides_log_pk_columns_input}) => qnr_template_genesis_overrides_logObservableChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** update multiples rows of table: "qnr_template_genesis_overrides_log" */
update_qnr_template_genesis_overrides_log_many: ((args: {
/** updates to execute, in order */
updates: qnr_template_genesis_overrides_log_updates[]}) => {get: <R extends qnr_template_genesis_overrides_log_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<qnr_template_genesis_overrides_log_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "qnr_template_genesis_overrides" */
update_qnr_template_genesis_overrides_many: ((args: {
/** updates to execute, in order */
updates: qnr_template_genesis_overrides_updates[]}) => {get: <R extends qnr_template_genesis_overrides_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<qnr_template_genesis_overrides_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries" */
update_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_delete_at_path_input | null),
/** 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_elem?: (queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_set_input | null),
/** filter the rows which have to be updated */
where: queries_bool_exp}) => queries_mutation_responseObservableChain & {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries" */
update_queries_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_delete_at_path_input | null),
/** 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_elem?: (queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_set_input | null),pk_columns: queries_pk_columns_input}) => queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** update data of the table: "queries_cache" */
update_queries_cache: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_cache_delete_at_path_input | null),
/** 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_elem?: (queries_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_cache_set_input | null),
/** filter the rows which have to be updated */
where: queries_cache_bool_exp}) => queries_cache_mutation_responseObservableChain & {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_cache_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_cache" */
update_queries_cache_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_cache_delete_at_path_input | null),
/** 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_elem?: (queries_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_cache_set_input | null),pk_columns: queries_cache_pk_columns_input}) => queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** update multiples rows of table: "queries_cache" */
update_queries_cache_many: ((args: {
/** updates to execute, in order */
updates: queries_cache_updates[]}) => {get: <R extends queries_cache_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_cache_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<queries_cache_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries_error" */
update_queries_error: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_error_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_error_delete_at_path_input | null),
/** 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_elem?: (queries_error_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_error_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_error_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_error_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_error_set_input | null),
/** filter the rows which have to be updated */
where: queries_error_bool_exp}) => queries_error_mutation_responseObservableChain & {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_error_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_error" */
update_queries_error_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_error_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_error_delete_at_path_input | null),
/** 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_elem?: (queries_error_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_error_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_error_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_error_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_error_set_input | null),pk_columns: queries_error_pk_columns_input}) => queries_errorObservableChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Observable<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** update multiples rows of table: "queries_error" */
update_queries_error_many: ((args: {
/** updates to execute, in order */
updates: queries_error_updates[]}) => {get: <R extends queries_error_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_error_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<queries_error_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "queries_log" */
update_queries_log: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_log_delete_at_path_input | null),
/** 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_elem?: (queries_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_log_set_input | null),
/** filter the rows which have to be updated */
where: queries_log_bool_exp}) => queries_log_mutation_responseObservableChain & {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_mutation_response, R> | undefined)) => Observable<(FieldsSelection<queries_log_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "queries_log" */
update_queries_log_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (queries_log_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (queries_log_delete_at_path_input | null),
/** 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_elem?: (queries_log_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (queries_log_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (queries_log_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (queries_log_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (queries_log_set_input | null),pk_columns: queries_log_pk_columns_input}) => queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** update multiples rows of table: "queries_log" */
update_queries_log_many: ((args: {
/** updates to execute, in order */
updates: queries_log_updates[]}) => {get: <R extends queries_log_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_log_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<queries_log_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "queries" */
update_queries_many: ((args: {
/** updates to execute, in order */
updates: queries_updates[]}) => {get: <R extends queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<queries_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "question_composite_question" */
update_question_composite_question: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_composite_question_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_composite_question_set_input | null),
/** filter the rows which have to be updated */
where: question_composite_question_bool_exp}) => question_composite_question_mutation_responseObservableChain & {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "question_composite_question" */
update_question_composite_question_many: ((args: {
/** updates to execute, in order */
updates: question_composite_question_updates[]}) => {get: <R extends question_composite_question_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<question_composite_question_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<question_composite_question_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "question_template" */
update_question_template: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (question_template_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (question_template_delete_at_path_input | null),
/** 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_elem?: (question_template_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (question_template_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (question_template_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (question_template_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (question_template_set_input | null),
/** filter the rows which have to be updated */
where: question_template_bool_exp}) => question_template_mutation_responseObservableChain & {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<question_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<question_template_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "question_template" */
update_question_template_many: ((args: {
/** updates to execute, in order */
updates: question_template_updates[]}) => {get: <R extends question_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<question_template_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<question_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "questions" */
update_questions: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (questions_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (questions_delete_at_path_input | null),
/** 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_elem?: (questions_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (questions_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (questions_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (questions_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (questions_set_input | null),
/** filter the rows which have to be updated */
where: questions_bool_exp}) => questions_mutation_responseObservableChain & {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<questions_mutation_response, R> | undefined)) => Observable<(FieldsSelection<questions_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "questions" */
update_questions_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (questions_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (questions_delete_at_path_input | null),
/** 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_elem?: (questions_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (questions_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (questions_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (questions_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (questions_set_input | null),pk_columns: questions_pk_columns_input}) => questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Observable<(FieldsSelection<questions, R> | undefined)>}),
    
/** update multiples rows of table: "questions" */
update_questions_many: ((args: {
/** updates to execute, in order */
updates: questions_updates[]}) => {get: <R extends questions_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<questions_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<questions_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "security_levels" */
update_security_levels: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (security_levels_set_input | null),
/** filter the rows which have to be updated */
where: security_levels_bool_exp}) => security_levels_mutation_responseObservableChain & {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_mutation_response, R> | undefined)) => Observable<(FieldsSelection<security_levels_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "security_levels" */
update_security_levels_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (security_levels_set_input | null),pk_columns: security_levels_pk_columns_input}) => security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** update multiples rows of table: "security_levels" */
update_security_levels_many: ((args: {
/** updates to execute, in order */
updates: security_levels_updates[]}) => {get: <R extends security_levels_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<security_levels_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<security_levels_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "settings" */
update_settings: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (settings_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (settings_set_input | null),
/** filter the rows which have to be updated */
where: settings_bool_exp}) => settings_mutation_responseObservableChain & {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<settings_mutation_response, R> | undefined)) => Observable<(FieldsSelection<settings_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "settings" */
update_settings_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (settings_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (settings_set_input | null),pk_columns: settings_pk_columns_input}) => settingsObservableChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Observable<(FieldsSelection<settings, R> | undefined)>}),
    
/** update multiples rows of table: "settings" */
update_settings_many: ((args: {
/** updates to execute, in order */
updates: settings_updates[]}) => {get: <R extends settings_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<settings_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<settings_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "shortcuts" */
update_shortcuts: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (shortcuts_set_input | null),
/** filter the rows which have to be updated */
where: shortcuts_bool_exp}) => shortcuts_mutation_responseObservableChain & {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_mutation_response, R> | undefined)) => Observable<(FieldsSelection<shortcuts_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "shortcuts" */
update_shortcuts_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (shortcuts_set_input | null),pk_columns: shortcuts_pk_columns_input}) => shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Observable<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** update multiples rows of table: "shortcuts" */
update_shortcuts_many: ((args: {
/** updates to execute, in order */
updates: shortcuts_updates[]}) => {get: <R extends shortcuts_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<shortcuts_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<shortcuts_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms" */
update_sms: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_set_input | null),
/** filter the rows which have to be updated */
where: sms_bool_exp}) => sms_mutation_responseObservableChain & {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms" */
update_sms_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_set_input | null),pk_columns: sms_pk_columns_input}) => smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Observable<(FieldsSelection<sms, R> | undefined)>}),
    
/** update multiples rows of table: "sms" */
update_sms_many: ((args: {
/** updates to execute, in order */
updates: sms_updates[]}) => {get: <R extends sms_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<sms_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms_template_template" */
update_sms_template_template: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_template_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_template_template_set_input | null),
/** filter the rows which have to be updated */
where: sms_template_template_bool_exp}) => sms_template_template_mutation_responseObservableChain & {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms_template_template" */
update_sms_template_template_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_template_template_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_template_template_set_input | null),pk_columns: sms_template_template_pk_columns_input}) => sms_template_templateObservableChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Observable<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** update multiples rows of table: "sms_template_template" */
update_sms_template_template_many: ((args: {
/** updates to execute, in order */
updates: sms_template_template_updates[]}) => {get: <R extends sms_template_template_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_template_template_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<sms_template_template_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "sms_templates" */
update_sms_templates: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_templates_set_input | null),
/** filter the rows which have to be updated */
where: sms_templates_bool_exp}) => sms_templates_mutation_responseObservableChain & {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<sms_templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "sms_templates" */
update_sms_templates_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (sms_templates_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (sms_templates_set_input | null),pk_columns: sms_templates_pk_columns_input}) => sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** update multiples rows of table: "sms_templates" */
update_sms_templates_many: ((args: {
/** updates to execute, in order */
updates: sms_templates_updates[]}) => {get: <R extends sms_templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<sms_templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<sms_templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "status" */
update_status: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (status_set_input | null),
/** filter the rows which have to be updated */
where: status_bool_exp}) => status_mutation_responseObservableChain & {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<status_mutation_response, R> | undefined)) => Observable<(FieldsSelection<status_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "status" */
update_status_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (status_set_input | null),pk_columns: status_pk_columns_input}) => statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Observable<(FieldsSelection<status, R> | undefined)>}),
    
/** update multiples rows of table: "status" */
update_status_many: ((args: {
/** updates to execute, in order */
updates: status_updates[]}) => {get: <R extends status_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<status_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<status_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "table_names" */
update_table_names: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_names_set_input | null),
/** filter the rows which have to be updated */
where: table_names_bool_exp}) => table_names_mutation_responseObservableChain & {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_names_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_names_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "table_names" */
update_table_names_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_names_set_input | null),pk_columns: table_names_pk_columns_input}) => table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Observable<(FieldsSelection<table_names, R> | undefined)>}),
    
/** update multiples rows of table: "table_names" */
update_table_names_many: ((args: {
/** updates to execute, in order */
updates: table_names_updates[]}) => {get: <R extends table_names_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<table_names_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<table_names_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_artifact_parcel" */
update_template_artifact_parcel: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_artifact_parcel_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_artifact_parcel_set_input | null),
/** filter the rows which have to be updated */
where: template_artifact_parcel_bool_exp}) => template_artifact_parcel_mutation_responseObservableChain & {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_artifact_parcel" */
update_template_artifact_parcel_by_pk: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_artifact_parcel_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_artifact_parcel_set_input | null),pk_columns: template_artifact_parcel_pk_columns_input}) => template_artifact_parcelObservableChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** update multiples rows of table: "template_artifact_parcel" */
update_template_artifact_parcel_many: ((args: {
/** updates to execute, in order */
updates: template_artifact_parcel_updates[]}) => {get: <R extends template_artifact_parcel_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_artifact_parcel_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_cache" */
update_template_cache: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (template_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (template_cache_delete_at_path_input | null),
/** 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_elem?: (template_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (template_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (template_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_bool_exp}) => template_cache_mutation_responseObservableChain & {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_mutation_response, R> | undefined)>}),
    
/** update data of the table: "template_cache_access" */
update_template_cache_access: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_access_set_input | null),
/** filter the rows which have to be updated */
where: template_cache_access_bool_exp}) => template_cache_access_mutation_responseObservableChain & {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_cache_access" */
update_template_cache_access_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_access_set_input | null),pk_columns: template_cache_access_pk_columns_input}) => template_cache_accessObservableChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Observable<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** update multiples rows of table: "template_cache_access" */
update_template_cache_access_many: ((args: {
/** updates to execute, in order */
updates: template_cache_access_updates[]}) => {get: <R extends template_cache_access_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_cache_access_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_cache_access_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update single row of the table: "template_cache" */
update_template_cache_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (template_cache_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (template_cache_delete_at_path_input | null),
/** 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_elem?: (template_cache_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (template_cache_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (template_cache_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_cache_set_input | null),pk_columns: template_cache_pk_columns_input}) => template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** update multiples rows of table: "template_cache" */
update_template_cache_many: ((args: {
/** updates to execute, in order */
updates: template_cache_updates[]}) => {get: <R extends template_cache_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_cache_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_cache_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_flags" */
update_template_flags: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (template_flags_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (template_flags_set_input | null),
/** filter the rows which have to be updated */
where: template_flags_bool_exp}) => template_flags_mutation_responseObservableChain & {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_flags_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "template_flags" */
update_template_flags_many: ((args: {
/** updates to execute, in order */
updates: template_flags_updates[]}) => {get: <R extends template_flags_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_flags_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_flags_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_journal_roles" */
update_template_journal_roles: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_journal_roles_set_input | null),
/** filter the rows which have to be updated */
where: template_journal_roles_bool_exp}) => template_journal_roles_mutation_responseObservableChain & {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_journal_roles" */
update_template_journal_roles_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_journal_roles_set_input | null),pk_columns: template_journal_roles_pk_columns_input}) => template_journal_rolesObservableChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** update multiples rows of table: "template_journal_roles" */
update_template_journal_roles_many: ((args: {
/** updates to execute, in order */
updates: template_journal_roles_updates[]}) => {get: <R extends template_journal_roles_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_journal_roles_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_journal_roles_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_offer_types" */
update_template_offer_types: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offer_types_set_input | null),
/** filter the rows which have to be updated */
where: template_offer_types_bool_exp}) => template_offer_types_mutation_responseObservableChain & {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_offer_types" */
update_template_offer_types_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offer_types_set_input | null),pk_columns: template_offer_types_pk_columns_input}) => template_offer_typesObservableChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Observable<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** update multiples rows of table: "template_offer_types" */
update_template_offer_types_many: ((args: {
/** updates to execute, in order */
updates: template_offer_types_updates[]}) => {get: <R extends template_offer_types_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_offer_types_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_offer_types_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "template_offers" */
update_template_offers: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offers_set_input | null),
/** filter the rows which have to be updated */
where: template_offers_bool_exp}) => template_offers_mutation_responseObservableChain & {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<template_offers_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "template_offers" */
update_template_offers_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (template_offers_set_input | null),pk_columns: template_offers_pk_columns_input}) => template_offersObservableChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Observable<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** update multiples rows of table: "template_offers" */
update_template_offers_many: ((args: {
/** updates to execute, in order */
updates: template_offers_updates[]}) => {get: <R extends template_offers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<template_offers_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<template_offers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "templates" */
update_templates: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (templates_delete_at_path_input | null),
/** 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_elem?: (templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (templates_set_input | null),
/** filter the rows which have to be updated */
where: templates_bool_exp}) => templates_mutation_responseObservableChain & {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<templates_mutation_response, R> | undefined)) => Observable<(FieldsSelection<templates_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "templates" */
update_templates_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (templates_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (templates_delete_at_path_input | null),
/** 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_elem?: (templates_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (templates_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (templates_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (templates_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (templates_set_input | null),pk_columns: templates_pk_columns_input}) => templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** update multiples rows of table: "templates" */
update_templates_many: ((args: {
/** updates to execute, in order */
updates: templates_updates[]}) => {get: <R extends templates_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<templates_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<templates_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "types" */
update_types: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (types_set_input | null),
/** filter the rows which have to be updated */
where: types_bool_exp}) => types_mutation_responseObservableChain & {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<types_mutation_response, R> | undefined)) => Observable<(FieldsSelection<types_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "types" */
update_types_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (types_set_input | null),pk_columns: types_pk_columns_input}) => typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Observable<(FieldsSelection<types, R> | undefined)>}),
    
/** update multiples rows of table: "types" */
update_types_many: ((args: {
/** updates to execute, in order */
updates: types_updates[]}) => {get: <R extends types_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<types_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<types_mutation_response, R> | undefined)[] | undefined)>})
}


/** columns and relationships of "organization_qnr_widget" */
export interface organization_qnr_widgetPromiseChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "organization_qnr_widget" */
export interface organization_qnr_widgetObservableChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregatePromiseChain{
    aggregate: (organization_qnr_widget_aggregate_fieldsPromiseChain & {get: <R extends organization_qnr_widget_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>})
}


/** aggregated selection of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregateObservableChain{
    aggregate: (organization_qnr_widget_aggregate_fieldsObservableChain & {get: <R extends organization_qnr_widget_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>})
}


/** aggregate fields of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (organization_qnr_widget_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (organization_qnr_widget_max_fieldsPromiseChain & {get: <R extends organization_qnr_widget_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_max_fields, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_max_fields, R> | undefined)>}),
    min: (organization_qnr_widget_min_fieldsPromiseChain & {get: <R extends organization_qnr_widget_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_min_fields, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget_min_fields, R> | undefined)>})
}


/** aggregate fields of "organization_qnr_widget" */
export interface organization_qnr_widget_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (organization_qnr_widget_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (organization_qnr_widget_max_fieldsObservableChain & {get: <R extends organization_qnr_widget_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_max_fields, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_max_fields, R> | undefined)>}),
    min: (organization_qnr_widget_min_fieldsObservableChain & {get: <R extends organization_qnr_widget_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget_min_fields, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface organization_qnr_widget_max_fieldsPromiseChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface organization_qnr_widget_max_fieldsObservableChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface organization_qnr_widget_min_fieldsPromiseChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface organization_qnr_widget_min_fieldsObservableChain{
    contact_person_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    organization_journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    qnr_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    recipient_activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "organization_qnr_widget" */
export interface organization_qnr_widget_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>})
}


/** response of any mutation on the table "organization_qnr_widget" */
export interface organization_qnr_widget_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>})
}


/** columns and relationships of "projects" */
export interface projectsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
shortcut: (shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>) => Promise<FieldsSelection<shortcuts, R>>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "projects" */
export interface projectsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
shortcut: (shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>) => Observable<FieldsSelection<shortcuts, R>>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "projects" */
export interface projects_aggregatePromiseChain{
    aggregate: (projects_aggregate_fieldsPromiseChain & {get: <R extends projects_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<projects_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>})
}


/** aggregated selection of "projects" */
export interface projects_aggregateObservableChain{
    aggregate: (projects_aggregate_fieldsObservableChain & {get: <R extends projects_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<projects_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>})
}


/** aggregate fields of "projects" */
export interface projects_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (projects_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (projects_max_fieldsPromiseChain & {get: <R extends projects_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_max_fields, R> | undefined)) => Promise<(FieldsSelection<projects_max_fields, R> | undefined)>}),
    min: (projects_min_fieldsPromiseChain & {get: <R extends projects_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_min_fields, R> | undefined)) => Promise<(FieldsSelection<projects_min_fields, R> | undefined)>})
}


/** aggregate fields of "projects" */
export interface projects_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (projects_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (projects_max_fieldsObservableChain & {get: <R extends projects_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_max_fields, R> | undefined)) => Observable<(FieldsSelection<projects_max_fields, R> | undefined)>}),
    min: (projects_min_fieldsObservableChain & {get: <R extends projects_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<projects_min_fields, R> | undefined)) => Observable<(FieldsSelection<projects_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface projects_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface projects_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface projects_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface projects_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    journal_project_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    shortcut_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "projects" */
export interface projects_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>})
}


/** response of any mutation on the table "projects" */
export interface projects_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>})
}

export interface qnr_PropertiesResponsePromiseChain{
    properties: ({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    questions: ({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})
}

export interface qnr_PropertiesResponseObservableChain{
    properties: ({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    questions: ({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})
}


/** holds overridden data of the qnr_templates(templates) table of the genesis customer; only fields allowed to be modified are: qnr_info,template_uuid(insert only), */
export interface qnr_template_genesis_overridesPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    generate_on_start: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    qnr_info: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** holds overridden data of the qnr_templates(templates) table of the genesis customer; only fields allowed to be modified are: qnr_info,template_uuid(insert only), */
export interface qnr_template_genesis_overridesObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    generate_on_start: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    qnr_info: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregatePromiseChain{
    aggregate: (qnr_template_genesis_overrides_aggregate_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>})
}


/** aggregated selection of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregateObservableChain{
    aggregate: (qnr_template_genesis_overrides_aggregate_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>})
}


/** aggregate fields of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (qnr_template_genesis_overrides_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (qnr_template_genesis_overrides_max_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_max_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_max_fields, R> | undefined)>}),
    min: (qnr_template_genesis_overrides_min_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_min_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_min_fields, R> | undefined)>})
}


/** aggregate fields of "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (qnr_template_genesis_overrides_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (qnr_template_genesis_overrides_max_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_max_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_max_fields, R> | undefined)>}),
    min: (qnr_template_genesis_overrides_min_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_min_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_min_fields, R> | undefined)>})
}


/** logs table for qnr_template_genesis_overrides  */
export interface qnr_template_genesis_overrides_logPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    qnr_info: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** logs table for qnr_template_genesis_overrides  */
export interface qnr_template_genesis_overrides_logObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    qnr_info: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregatePromiseChain{
    aggregate: (qnr_template_genesis_overrides_log_aggregate_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})
}


/** aggregated selection of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregateObservableChain{
    aggregate: (qnr_template_genesis_overrides_log_aggregate_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})
}


/** aggregate fields of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregate_fieldsPromiseChain{
    avg: (qnr_template_genesis_overrides_log_avg_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_avg_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (qnr_template_genesis_overrides_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (qnr_template_genesis_overrides_log_max_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_max_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_max_fields, R> | undefined)>}),
    min: (qnr_template_genesis_overrides_log_min_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_min_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_min_fields, R> | undefined)>}),
    stddev: (qnr_template_genesis_overrides_log_stddev_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_fields, R> | undefined)>}),
    stddev_pop: (qnr_template_genesis_overrides_log_stddev_pop_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (qnr_template_genesis_overrides_log_stddev_samp_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_samp_fields, R> | undefined)>}),
    sum: (qnr_template_genesis_overrides_log_sum_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_sum_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_sum_fields, R> | undefined)>}),
    var_pop: (qnr_template_genesis_overrides_log_var_pop_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_var_pop_fields, R> | undefined)>}),
    var_samp: (qnr_template_genesis_overrides_log_var_samp_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_var_samp_fields, R> | undefined)>}),
    variance: (qnr_template_genesis_overrides_log_variance_fieldsPromiseChain & {get: <R extends qnr_template_genesis_overrides_log_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_variance_fields, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log_variance_fields, R> | undefined)>})
}


/** aggregate fields of "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_aggregate_fieldsObservableChain{
    avg: (qnr_template_genesis_overrides_log_avg_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_avg_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (qnr_template_genesis_overrides_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (qnr_template_genesis_overrides_log_max_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_max_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_max_fields, R> | undefined)>}),
    min: (qnr_template_genesis_overrides_log_min_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_min_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_min_fields, R> | undefined)>}),
    stddev: (qnr_template_genesis_overrides_log_stddev_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_fields, R> | undefined)>}),
    stddev_pop: (qnr_template_genesis_overrides_log_stddev_pop_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (qnr_template_genesis_overrides_log_stddev_samp_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_stddev_samp_fields, R> | undefined)>}),
    sum: (qnr_template_genesis_overrides_log_sum_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_sum_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_sum_fields, R> | undefined)>}),
    var_pop: (qnr_template_genesis_overrides_log_var_pop_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_var_pop_fields, R> | undefined)>}),
    var_samp: (qnr_template_genesis_overrides_log_var_samp_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_var_samp_fields, R> | undefined)>}),
    variance: (qnr_template_genesis_overrides_log_variance_fieldsObservableChain & {get: <R extends qnr_template_genesis_overrides_log_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log_variance_fields, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface qnr_template_genesis_overrides_log_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface qnr_template_genesis_overrides_log_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_log_max_fieldsPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_log_max_fieldsObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_log_min_fieldsPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_log_min_fieldsObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    db_op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    deleted_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})
}


/** response of any mutation on the table "qnr_template_genesis_overrides_log" */
export interface qnr_template_genesis_overrides_log_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})
}


/** aggregate stddev on columns */
export interface qnr_template_genesis_overrides_log_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface qnr_template_genesis_overrides_log_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface qnr_template_genesis_overrides_log_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface qnr_template_genesis_overrides_log_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface qnr_template_genesis_overrides_log_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface qnr_template_genesis_overrides_log_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface qnr_template_genesis_overrides_log_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface qnr_template_genesis_overrides_log_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface qnr_template_genesis_overrides_log_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface qnr_template_genesis_overrides_log_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface qnr_template_genesis_overrides_log_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface qnr_template_genesis_overrides_log_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface qnr_template_genesis_overrides_log_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface qnr_template_genesis_overrides_log_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_max_fieldsPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface qnr_template_genesis_overrides_max_fieldsObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_min_fieldsPromiseChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Promise<(Scalars['String'][] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface qnr_template_genesis_overrides_min_fieldsObservableChain{
    changed_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    journal_roles: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offer_types: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    offers: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'][] | undefined)) => Observable<(Scalars['String'][] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>})
}


/** response of any mutation on the table "qnr_template_genesis_overrides" */
export interface qnr_template_genesis_overrides_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>})
}

export interface qnrs_ActionTypeResponsePromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    artifact_package: (artifactPackagePromiseChain & {get: <R extends artifactPackageRequest>(request: R, defaultValue?: (FieldsSelection<artifactPackage, R> | undefined)) => Promise<(FieldsSelection<artifactPackage, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    properties: (qnr_PropertiesResponsePromiseChain & {get: <R extends qnr_PropertiesResponseRequest>(request: R, defaultValue?: FieldsSelection<qnr_PropertiesResponse, R>) => Promise<FieldsSelection<qnr_PropertiesResponse, R>>}),
    queries_log: ({get: <R extends queriesLogRequest>(request: R, defaultValue?: ((FieldsSelection<queriesLog, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<queriesLog, R> | undefined)[] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Promise<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}

export interface qnrs_ActionTypeResponseObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    artifact_package: (artifactPackageObservableChain & {get: <R extends artifactPackageRequest>(request: R, defaultValue?: (FieldsSelection<artifactPackage, R> | undefined)) => Observable<(FieldsSelection<artifactPackage, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    properties: (qnr_PropertiesResponseObservableChain & {get: <R extends qnr_PropertiesResponseRequest>(request: R, defaultValue?: FieldsSelection<qnr_PropertiesResponse, R>) => Observable<FieldsSelection<qnr_PropertiesResponse, R>>}),
    queries_log: ({get: <R extends queriesLogRequest>(request: R, defaultValue?: ((FieldsSelection<queriesLog, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<queriesLog, R> | undefined)[] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Observable<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}

export interface qnrs_ActionTypeResponseDataPromiseChain{
    errors: ({get: <R extends qnrs_ResponseErrorsRequest>(request: R, defaultValue?: ((FieldsSelection<qnrs_ResponseErrors, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<qnrs_ResponseErrors, R> | undefined)[] | undefined)>}),
    qnrs: ({get: <R extends qnrs_ActionTypeResponseRequest>(request: R, defaultValue?: ((FieldsSelection<qnrs_ActionTypeResponse, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<qnrs_ActionTypeResponse, R> | undefined)[] | undefined)>})
}

export interface qnrs_ActionTypeResponseDataObservableChain{
    errors: ({get: <R extends qnrs_ResponseErrorsRequest>(request: R, defaultValue?: ((FieldsSelection<qnrs_ResponseErrors, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<qnrs_ResponseErrors, R> | undefined)[] | undefined)>}),
    qnrs: ({get: <R extends qnrs_ActionTypeResponseRequest>(request: R, defaultValue?: ((FieldsSelection<qnrs_ActionTypeResponse, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<qnrs_ActionTypeResponse, R> | undefined)[] | undefined)>})
}

export interface qnrs_ResponseErrorsPromiseChain{
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    participant_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}

export interface qnrs_ResponseErrorsObservableChain{
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    participant_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** New name of this table is qnrs */
export interface queriesPromiseChain{
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name_patient_id: (directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An object relationship */
directory_user_name_updated_by: (directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
documents: (documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: initiators_enum) => Promise<initiators_enum>}),
    
/** An object relationship */
initiatorByInitiator: (initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>) => Promise<FieldsSelection<initiators, R>>}),
    
/** An array relationship */
organization_qnr_widgets: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** An aggregate relationship */
organization_qnr_widgets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
qnr_template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** An object relationship */
queries_cache: (queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>}),
    
/** An object relationship */
queries_queries_templates: (queries_templatesPromiseChain & {get: <R extends queries_templatesRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates, R> | undefined)) => Promise<(FieldsSelection<queries_templates, R> | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Promise<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>})&(sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: status_enum) => Promise<status_enum>}),
    
/** An object relationship */
statusByStatus: (statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>) => Promise<FieldsSelection<status, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
templates: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Promise<Scalars['date']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Promise<Scalars['date']>})
}


/** New name of this table is qnrs */
export interface queriesObservableChain{
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
artifact_package: (artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_user_name_patient_id: (directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** An object relationship */
directory_user_name_updated_by: (directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
documents: (documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: initiators_enum) => Observable<initiators_enum>}),
    
/** An object relationship */
initiatorByInitiator: (initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>) => Observable<FieldsSelection<initiators, R>>}),
    
/** An array relationship */
organization_qnr_widgets: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** An aggregate relationship */
organization_qnr_widgets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
qnr_template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** An object relationship */
queries_cache: (queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>}),
    
/** An object relationship */
queries_queries_templates: (queries_templatesObservableChain & {get: <R extends queries_templatesRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates, R> | undefined)) => Observable<(FieldsSelection<queries_templates, R> | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Observable<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>})&(sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: status_enum) => Observable<status_enum>}),
    
/** An object relationship */
statusByStatus: (statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>) => Observable<FieldsSelection<status, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
templates: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Observable<Scalars['date']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Observable<Scalars['date']>})
}

export interface queriesLogPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}

export interface queriesLogObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "queries" */
export interface queries_aggregatePromiseChain{
    aggregate: (queries_aggregate_fieldsPromiseChain & {get: <R extends queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})
}


/** aggregated selection of "queries" */
export interface queries_aggregateObservableChain{
    aggregate: (queries_aggregate_fieldsObservableChain & {get: <R extends queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})
}


/** aggregate fields of "queries" */
export interface queries_aggregate_fieldsPromiseChain{
    avg: (queries_avg_fieldsPromiseChain & {get: <R extends queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_avg_fields, R> | undefined)) => Promise<(FieldsSelection<queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (queries_max_fieldsPromiseChain & {get: <R extends queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_max_fields, R> | undefined)) => Promise<(FieldsSelection<queries_max_fields, R> | undefined)>}),
    min: (queries_min_fieldsPromiseChain & {get: <R extends queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_min_fields, R> | undefined)) => Promise<(FieldsSelection<queries_min_fields, R> | undefined)>}),
    stddev: (queries_stddev_fieldsPromiseChain & {get: <R extends queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_stddev_pop_fieldsPromiseChain & {get: <R extends queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_stddev_samp_fieldsPromiseChain & {get: <R extends queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_sum_fieldsPromiseChain & {get: <R extends queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_sum_fields, R> | undefined)) => Promise<(FieldsSelection<queries_sum_fields, R> | undefined)>}),
    var_pop: (queries_var_pop_fieldsPromiseChain & {get: <R extends queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_var_samp_fieldsPromiseChain & {get: <R extends queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_var_samp_fields, R> | undefined)>}),
    variance: (queries_variance_fieldsPromiseChain & {get: <R extends queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_variance_fields, R> | undefined)) => Promise<(FieldsSelection<queries_variance_fields, R> | undefined)>})
}


/** aggregate fields of "queries" */
export interface queries_aggregate_fieldsObservableChain{
    avg: (queries_avg_fieldsObservableChain & {get: <R extends queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_avg_fields, R> | undefined)) => Observable<(FieldsSelection<queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (queries_max_fieldsObservableChain & {get: <R extends queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_max_fields, R> | undefined)) => Observable<(FieldsSelection<queries_max_fields, R> | undefined)>}),
    min: (queries_min_fieldsObservableChain & {get: <R extends queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_min_fields, R> | undefined)) => Observable<(FieldsSelection<queries_min_fields, R> | undefined)>}),
    stddev: (queries_stddev_fieldsObservableChain & {get: <R extends queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_stddev_pop_fieldsObservableChain & {get: <R extends queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_stddev_samp_fieldsObservableChain & {get: <R extends queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_sum_fieldsObservableChain & {get: <R extends queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_sum_fields, R> | undefined)) => Observable<(FieldsSelection<queries_sum_fields, R> | undefined)>}),
    var_pop: (queries_var_pop_fieldsObservableChain & {get: <R extends queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_var_samp_fieldsObservableChain & {get: <R extends queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_var_samp_fields, R> | undefined)>}),
    variance: (queries_variance_fieldsObservableChain & {get: <R extends queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_variance_fields, R> | undefined)) => Observable<(FieldsSelection<queries_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface queries_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface queries_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** temp cahce for query creation for dev purposes only */
export interface queries_cachePromiseChain{
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>) => Promise<FieldsSelection<queries, R>>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Promise<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** temp cahce for query creation for dev purposes only */
export interface queries_cacheObservableChain{
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>) => Observable<FieldsSelection<queries, R>>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Observable<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "queries_cache" */
export interface queries_cache_aggregatePromiseChain{
    aggregate: (queries_cache_aggregate_fieldsPromiseChain & {get: <R extends queries_cache_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<queries_cache_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>})
}


/** aggregated selection of "queries_cache" */
export interface queries_cache_aggregateObservableChain{
    aggregate: (queries_cache_aggregate_fieldsObservableChain & {get: <R extends queries_cache_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<queries_cache_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>})
}


/** aggregate fields of "queries_cache" */
export interface queries_cache_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (queries_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (queries_cache_max_fieldsPromiseChain & {get: <R extends queries_cache_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_max_fields, R> | undefined)) => Promise<(FieldsSelection<queries_cache_max_fields, R> | undefined)>}),
    min: (queries_cache_min_fieldsPromiseChain & {get: <R extends queries_cache_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_min_fields, R> | undefined)) => Promise<(FieldsSelection<queries_cache_min_fields, R> | undefined)>})
}


/** aggregate fields of "queries_cache" */
export interface queries_cache_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (queries_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (queries_cache_max_fieldsObservableChain & {get: <R extends queries_cache_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_max_fields, R> | undefined)) => Observable<(FieldsSelection<queries_cache_max_fields, R> | undefined)>}),
    min: (queries_cache_min_fieldsObservableChain & {get: <R extends queries_cache_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache_min_fields, R> | undefined)) => Observable<(FieldsSelection<queries_cache_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface queries_cache_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Promise<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_cache_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Observable<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_cache_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Promise<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_cache_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bpchar'] | undefined)) => Observable<(Scalars['bpchar'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "queries_cache" */
export interface queries_cache_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>})
}


/** response of any mutation on the table "queries_cache" */
export interface queries_cache_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>})
}


/** columns and relationships of "queries_error" */
export interface queries_errorPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    error: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "queries_error" */
export interface queries_errorObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    error: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "queries_error" */
export interface queries_error_aggregatePromiseChain{
    aggregate: (queries_error_aggregate_fieldsPromiseChain & {get: <R extends queries_error_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>})
}


/** aggregated selection of "queries_error" */
export interface queries_error_aggregateObservableChain{
    aggregate: (queries_error_aggregate_fieldsObservableChain & {get: <R extends queries_error_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>})
}


/** aggregate fields of "queries_error" */
export interface queries_error_aggregate_fieldsPromiseChain{
    avg: (queries_error_avg_fieldsPromiseChain & {get: <R extends queries_error_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_avg_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_error_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (queries_error_max_fieldsPromiseChain & {get: <R extends queries_error_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_max_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_max_fields, R> | undefined)>}),
    min: (queries_error_min_fieldsPromiseChain & {get: <R extends queries_error_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_min_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_min_fields, R> | undefined)>}),
    stddev: (queries_error_stddev_fieldsPromiseChain & {get: <R extends queries_error_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_error_stddev_pop_fieldsPromiseChain & {get: <R extends queries_error_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_error_stddev_samp_fieldsPromiseChain & {get: <R extends queries_error_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_error_sum_fieldsPromiseChain & {get: <R extends queries_error_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_sum_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_sum_fields, R> | undefined)>}),
    var_pop: (queries_error_var_pop_fieldsPromiseChain & {get: <R extends queries_error_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_error_var_samp_fieldsPromiseChain & {get: <R extends queries_error_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_var_samp_fields, R> | undefined)>}),
    variance: (queries_error_variance_fieldsPromiseChain & {get: <R extends queries_error_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_variance_fields, R> | undefined)) => Promise<(FieldsSelection<queries_error_variance_fields, R> | undefined)>})
}


/** aggregate fields of "queries_error" */
export interface queries_error_aggregate_fieldsObservableChain{
    avg: (queries_error_avg_fieldsObservableChain & {get: <R extends queries_error_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_avg_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_error_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (queries_error_max_fieldsObservableChain & {get: <R extends queries_error_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_max_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_max_fields, R> | undefined)>}),
    min: (queries_error_min_fieldsObservableChain & {get: <R extends queries_error_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_min_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_min_fields, R> | undefined)>}),
    stddev: (queries_error_stddev_fieldsObservableChain & {get: <R extends queries_error_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_error_stddev_pop_fieldsObservableChain & {get: <R extends queries_error_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_error_stddev_samp_fieldsObservableChain & {get: <R extends queries_error_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_error_sum_fieldsObservableChain & {get: <R extends queries_error_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_sum_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_sum_fields, R> | undefined)>}),
    var_pop: (queries_error_var_pop_fieldsObservableChain & {get: <R extends queries_error_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_error_var_samp_fieldsObservableChain & {get: <R extends queries_error_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_var_samp_fields, R> | undefined)>}),
    variance: (queries_error_variance_fieldsObservableChain & {get: <R extends queries_error_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_error_variance_fields, R> | undefined)) => Observable<(FieldsSelection<queries_error_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface queries_error_avg_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface queries_error_avg_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_error_max_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_error_max_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_error_min_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_error_min_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    created_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    error: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "queries_error" */
export interface queries_error_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>})
}


/** response of any mutation on the table "queries_error" */
export interface queries_error_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>})
}


/** aggregate stddev on columns */
export interface queries_error_stddev_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface queries_error_stddev_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_error_stddev_pop_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_error_stddev_pop_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_error_stddev_samp_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_error_stddev_samp_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_error_sum_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_error_sum_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_error_var_pop_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_error_var_pop_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_error_var_samp_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_error_var_samp_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_error_variance_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_error_variance_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "queries_log" */
export interface queries_logPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
documents: (documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Promise<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Promise<Scalars['date']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Promise<Scalars['date']>})
}


/** columns and relationships of "queries_log" */
export interface queries_logObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    cache: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
documents: (documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    rejected: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: Scalars['smallint']) => Observable<Scalars['smallint']>}),
    seen_by_therapist: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    share_with_recipient: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Observable<Scalars['date']>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: Scalars['date']) => Observable<Scalars['date']>})
}


/** aggregated selection of "queries_log" */
export interface queries_log_aggregatePromiseChain{
    aggregate: (queries_log_aggregate_fieldsPromiseChain & {get: <R extends queries_log_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>})
}


/** aggregated selection of "queries_log" */
export interface queries_log_aggregateObservableChain{
    aggregate: (queries_log_aggregate_fieldsObservableChain & {get: <R extends queries_log_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>})
}


/** aggregate fields of "queries_log" */
export interface queries_log_aggregate_fieldsPromiseChain{
    avg: (queries_log_avg_fieldsPromiseChain & {get: <R extends queries_log_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_avg_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (queries_log_max_fieldsPromiseChain & {get: <R extends queries_log_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_max_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_max_fields, R> | undefined)>}),
    min: (queries_log_min_fieldsPromiseChain & {get: <R extends queries_log_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_min_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_min_fields, R> | undefined)>}),
    stddev: (queries_log_stddev_fieldsPromiseChain & {get: <R extends queries_log_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_log_stddev_pop_fieldsPromiseChain & {get: <R extends queries_log_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_log_stddev_samp_fieldsPromiseChain & {get: <R extends queries_log_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_log_sum_fieldsPromiseChain & {get: <R extends queries_log_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_sum_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_sum_fields, R> | undefined)>}),
    var_pop: (queries_log_var_pop_fieldsPromiseChain & {get: <R extends queries_log_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_log_var_samp_fieldsPromiseChain & {get: <R extends queries_log_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_var_samp_fields, R> | undefined)>}),
    variance: (queries_log_variance_fieldsPromiseChain & {get: <R extends queries_log_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_variance_fields, R> | undefined)) => Promise<(FieldsSelection<queries_log_variance_fields, R> | undefined)>})
}


/** aggregate fields of "queries_log" */
export interface queries_log_aggregate_fieldsObservableChain{
    avg: (queries_log_avg_fieldsObservableChain & {get: <R extends queries_log_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_avg_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_log_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (queries_log_max_fieldsObservableChain & {get: <R extends queries_log_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_max_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_max_fields, R> | undefined)>}),
    min: (queries_log_min_fieldsObservableChain & {get: <R extends queries_log_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_min_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_min_fields, R> | undefined)>}),
    stddev: (queries_log_stddev_fieldsObservableChain & {get: <R extends queries_log_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_log_stddev_pop_fieldsObservableChain & {get: <R extends queries_log_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_log_stddev_samp_fieldsObservableChain & {get: <R extends queries_log_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_log_sum_fieldsObservableChain & {get: <R extends queries_log_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_sum_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_sum_fields, R> | undefined)>}),
    var_pop: (queries_log_var_pop_fieldsObservableChain & {get: <R extends queries_log_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_log_var_samp_fieldsObservableChain & {get: <R extends queries_log_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_var_samp_fields, R> | undefined)>}),
    variance: (queries_log_variance_fieldsObservableChain & {get: <R extends queries_log_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_log_variance_fields, R> | undefined)) => Observable<(FieldsSelection<queries_log_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface queries_log_avg_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface queries_log_avg_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_log_max_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_log_max_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_log_min_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_log_min_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    unique_uuid_for_compare_with_prev: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** response of any mutation on the table "queries_log" */
export interface queries_log_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>})
}


/** response of any mutation on the table "queries_log" */
export interface queries_log_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>})
}


/** aggregate stddev on columns */
export interface queries_log_stddev_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface queries_log_stddev_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_log_stddev_pop_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_log_stddev_pop_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_log_stddev_samp_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_log_stddev_samp_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_log_sum_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_log_sum_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_log_var_pop_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_log_var_pop_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_log_var_samp_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_log_var_samp_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_log_variance_fieldsPromiseChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_log_variance_fieldsObservableChain{
    ai_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_max_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_max_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_min_fieldsPromiseChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Promise<(Scalars['date'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_min_fieldsObservableChain{
    artifact_package_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    token: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    valid_from: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>}),
    valid_to: ({get: (request?: boolean|number, defaultValue?: (Scalars['date'] | undefined)) => Observable<(Scalars['date'] | undefined)>})
}


/** response of any mutation on the table "queries" */
export interface queries_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})
}


/** response of any mutation on the table "queries" */
export interface queries_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})
}


/** aggregate stddev on columns */
export interface queries_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface queries_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Promise<(Scalars['smallint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['smallint'] | undefined)) => Observable<(Scalars['smallint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "queries_templates" */
export interface queries_templatesPromiseChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
queries_templates_queries: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
templates: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>})
}


/** columns and relationships of "queries_templates" */
export interface queries_templatesObservableChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
queries_templates_queries: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
templates: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>})
}


/** aggregated selection of "queries_templates" */
export interface queries_templates_aggregatePromiseChain{
    aggregate: (queries_templates_aggregate_fieldsPromiseChain & {get: <R extends queries_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>})
}


/** aggregated selection of "queries_templates" */
export interface queries_templates_aggregateObservableChain{
    aggregate: (queries_templates_aggregate_fieldsObservableChain & {get: <R extends queries_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>})
}


/** aggregate fields of "queries_templates" */
export interface queries_templates_aggregate_fieldsPromiseChain{
    avg: (queries_templates_avg_fieldsPromiseChain & {get: <R extends queries_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (queries_templates_max_fieldsPromiseChain & {get: <R extends queries_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_max_fields, R> | undefined)>}),
    min: (queries_templates_min_fieldsPromiseChain & {get: <R extends queries_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_min_fields, R> | undefined)>}),
    stddev: (queries_templates_stddev_fieldsPromiseChain & {get: <R extends queries_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_templates_stddev_pop_fieldsPromiseChain & {get: <R extends queries_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_templates_stddev_samp_fieldsPromiseChain & {get: <R extends queries_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_templates_sum_fieldsPromiseChain & {get: <R extends queries_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_sum_fields, R> | undefined)>}),
    var_pop: (queries_templates_var_pop_fieldsPromiseChain & {get: <R extends queries_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_templates_var_samp_fieldsPromiseChain & {get: <R extends queries_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_var_samp_fields, R> | undefined)>}),
    variance: (queries_templates_variance_fieldsPromiseChain & {get: <R extends queries_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<queries_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "queries_templates" */
export interface queries_templates_aggregate_fieldsObservableChain{
    avg: (queries_templates_avg_fieldsObservableChain & {get: <R extends queries_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (queries_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (queries_templates_max_fieldsObservableChain & {get: <R extends queries_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_max_fields, R> | undefined)>}),
    min: (queries_templates_min_fieldsObservableChain & {get: <R extends queries_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_min_fields, R> | undefined)>}),
    stddev: (queries_templates_stddev_fieldsObservableChain & {get: <R extends queries_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (queries_templates_stddev_pop_fieldsObservableChain & {get: <R extends queries_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (queries_templates_stddev_samp_fieldsObservableChain & {get: <R extends queries_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (queries_templates_sum_fieldsObservableChain & {get: <R extends queries_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_sum_fields, R> | undefined)>}),
    var_pop: (queries_templates_var_pop_fieldsObservableChain & {get: <R extends queries_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (queries_templates_var_samp_fieldsObservableChain & {get: <R extends queries_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_var_samp_fields, R> | undefined)>}),
    variance: (queries_templates_variance_fieldsObservableChain & {get: <R extends queries_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<queries_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<queries_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface queries_templates_avg_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface queries_templates_avg_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_templates_max_fieldsPromiseChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface queries_templates_max_fieldsObservableChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_templates_min_fieldsPromiseChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface queries_templates_min_fieldsObservableChain{
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    queries_status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    queries_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate stddev on columns */
export interface queries_templates_stddev_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface queries_templates_stddev_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_templates_stddev_pop_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface queries_templates_stddev_pop_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_templates_stddev_samp_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface queries_templates_stddev_samp_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_templates_sum_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface queries_templates_sum_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_templates_var_pop_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_templates_var_pop_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_templates_var_samp_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_templates_var_samp_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_templates_variance_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_templates_variance_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface queries_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface queries_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface queries_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    security_level: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}

export interface query_rootPromiseChain{
    
/** fetch data from the table: "DocKladd_properties" */
DocKladd_properties: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>})&({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** fetch aggregated fields from the table: "DocKladd_properties" */
DocKladd_properties_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => DocKladd_properties_aggregatePromiseChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Promise<FieldsSelection<DocKladd_properties_aggregate, R>>})&(DocKladd_properties_aggregatePromiseChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Promise<FieldsSelection<DocKladd_properties_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_properties" using primary key columns */
DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesPromiseChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_questions" using primary key columns */
DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsPromiseChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** fetch data from the table: "accessible" */
accessible: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>})&({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>}),
    
/** fetch aggregated fields from the table: "accessible" */
accessible_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => accessible_aggregatePromiseChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Promise<FieldsSelection<accessible_aggregate, R>>})&(accessible_aggregatePromiseChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Promise<FieldsSelection<accessible_aggregate, R>>}),
    
/** fetch data from the table: "accessible" using primary key columns */
accessible_by_pk: ((args: {name: Scalars['String']}) => accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    
/** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerPromiseChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_answers" using primary key columns */
anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersPromiseChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** fetch data from the table: "anonymous_invitations" */
anonymous_invitations: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_invitations" */
anonymous_invitations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_invitations" using primary key columns */
anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_queries" using primary key columns */
anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_sms" using primary key columns */
anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsPromiseChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** fetch data from the table: "anonymous_template_question" */
anonymous_template_question: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_template_question" */
anonymous_template_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" */
anonymous_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>})&({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_templates" */
anonymous_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => anonymous_templates_aggregatePromiseChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Promise<FieldsSelection<anonymous_templates_aggregate, R>>})&(anonymous_templates_aggregatePromiseChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Promise<FieldsSelection<anonymous_templates_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" using primary key columns */
anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelPromiseChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_cron" */
artifact_package_cron: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>})&({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_cron" */
artifact_package_cron_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => artifact_package_cron_aggregatePromiseChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Promise<FieldsSelection<artifact_package_cron_aggregate, R>>})&(artifact_package_cron_aggregatePromiseChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Promise<FieldsSelection<artifact_package_cron_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_cron" using primary key columns */
artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_groups" */
artifact_package_groups: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>})&({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_groups" */
artifact_package_groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => artifact_package_groups_aggregatePromiseChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Promise<FieldsSelection<artifact_package_groups_aggregate, R>>})&(artifact_package_groups_aggregatePromiseChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Promise<FieldsSelection<artifact_package_groups_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_groups" using primary key columns */
artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsPromiseChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>}),
    
/** fetch data from the table: "artifact_packages" using primary key columns */
artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** fetch data from the table: "artifact_parcels" */
artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>})&({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_parcels" */
artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => artifact_parcels_aggregatePromiseChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Promise<FieldsSelection<artifact_parcels_aggregate, R>>})&(artifact_parcels_aggregatePromiseChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Promise<FieldsSelection<artifact_parcels_aggregate, R>>}),
    
/** fetch data from the table: "artifact_parcels" using primary key columns */
artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** fetch data from the table: "categories" */
categories: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>})&({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>}),
    
/** fetch aggregated fields from the table: "categories" */
categories_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => categories_aggregatePromiseChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Promise<FieldsSelection<categories_aggregate, R>>})&(categories_aggregatePromiseChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Promise<FieldsSelection<categories_aggregate, R>>}),
    
/** fetch data from the table: "categories" using primary key columns */
categories_by_pk: ((args: {name: Scalars['String']}) => categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Promise<(FieldsSelection<categories, R> | undefined)>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    
/** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsPromiseChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** fetch data from the table: "consent_patient" */
consent_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_patient" */
consent_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** fetch data from the table: "consent_patient" using primary key columns */
consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** fetch data from the table: "consent_status" */
consent_status: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>})&({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_status" */
consent_status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => consent_status_aggregatePromiseChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Promise<FieldsSelection<consent_status_aggregate, R>>})&(consent_status_aggregatePromiseChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Promise<FieldsSelection<consent_status_aggregate, R>>}),
    
/** fetch data from the table: "consent_status" using primary key columns */
consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Promise<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** fetch data from the table: "consent_template_to_template" */
consent_template_to_template: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_template_to_template" */
consent_template_to_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "consent_templates" using primary key columns */
consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Promise<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    
/** fetch data from the table: "consents" using primary key columns */
consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Promise<(FieldsSelection<consents, R> | undefined)>}),
    
/** fetch data from the table: "context_group_context" */
context_group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "context_group_context" */
context_group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>}),
    
/** fetch data from the table: "context_group_context" using primary key columns */
context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextPromiseChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Promise<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** fetch data from the table: "contexts" */
contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>})&({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>}),
    
/** fetch aggregated fields from the table: "contexts" */
contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => contexts_aggregatePromiseChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Promise<FieldsSelection<contexts_aggregate, R>>})&(contexts_aggregatePromiseChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Promise<FieldsSelection<contexts_aggregate, R>>}),
    
/** fetch data from the table: "contexts" using primary key columns */
contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    
/** fetch data from the table: "custom_db_nodes" */
custom_db_nodes: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>})&({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch aggregated fields from the table: "custom_db_nodes" */
custom_db_nodes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => custom_db_nodes_aggregatePromiseChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Promise<FieldsSelection<custom_db_nodes_aggregate, R>>})&(custom_db_nodes_aggregatePromiseChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Promise<FieldsSelection<custom_db_nodes_aggregate, R>>}),
    
/** fetch data from the table: "custom_db_nodes" using primary key columns */
custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesPromiseChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** fetch data from the table: "directory_customers" */
directory_customers: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>})&({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_customers" */
directory_customers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => directory_customers_aggregatePromiseChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Promise<FieldsSelection<directory_customers_aggregate, R>>})&(directory_customers_aggregatePromiseChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Promise<FieldsSelection<directory_customers_aggregate, R>>}),
    
/** fetch data from the table: "directory_customers" using primary key columns */
directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** fetch data from the table: "directory_user_name" */
directory_user_name: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>})&({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_name" */
directory_user_name_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => directory_user_name_aggregatePromiseChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Promise<FieldsSelection<directory_user_name_aggregate, R>>})&(directory_user_name_aggregatePromiseChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Promise<FieldsSelection<directory_user_name_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_name" using primary key columns */
directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** fetch data from the table: "document_patient" */
document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "document_patient" */
document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>}),
    
/** fetch data from the table: "document_patient" using primary key columns */
document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientPromiseChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Promise<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>})&(documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>}),
    
/** fetch data from the table: "documents" using primary key columns */
documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    
/** fetch data from the table: "documents_overview" */
documents_overview: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>})&({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch aggregated fields from the table: "documents_overview" */
documents_overview_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>})&(documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" */
event_artifact_package: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>}),
    
/** fetch aggregated fields from the table: "event_artifact_package" */
event_artifact_package_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" using primary key columns */
event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packagePromiseChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** fetch data from the table: "favorite_templates_order" using primary key columns */
favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderPromiseChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>}),
    
/** fetch data from the table: "favorites" using primary key columns */
favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesPromiseChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Promise<(FieldsSelection<favorites, R> | undefined)>}),
    
/** fetch data from the table: "filter_names" */
filter_names: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>})&({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>}),
    
/** fetch aggregated fields from the table: "filter_names" */
filter_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => filter_names_aggregatePromiseChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Promise<FieldsSelection<filter_names_aggregate, R>>})&(filter_names_aggregatePromiseChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Promise<FieldsSelection<filter_names_aggregate, R>>}),
    
/** fetch data from the table: "filter_names" using primary key columns */
filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Promise<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_permissions" using primary key columns */
genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsPromiseChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_templates" using primary key columns */
genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesPromiseChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_denied_permissions" using primary key columns */
genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsPromiseChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_templates" using primary key columns */
genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesPromiseChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** fetch data from the table: "group_context" */
group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>})&({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "group_context" */
group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => group_context_aggregatePromiseChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Promise<FieldsSelection<group_context_aggregate, R>>})&(group_context_aggregatePromiseChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Promise<FieldsSelection<group_context_aggregate, R>>}),
    
/** fetch data from the table: "group_context" using primary key columns */
group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Promise<(FieldsSelection<group_context, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>}),
    
/** fetch data from the table: "group_context_filters" using primary key columns */
group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersPromiseChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Promise<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** fetch data from the table: "groups" */
groups: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>})&({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>}),
    
/** fetch aggregated fields from the table: "groups" */
groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => groups_aggregatePromiseChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Promise<FieldsSelection<groups_aggregate, R>>})&(groups_aggregatePromiseChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Promise<FieldsSelection<groups_aggregate, R>>}),
    
/** fetch data from the table: "groups" using primary key columns */
groups_by_pk: ((args: {name: Scalars['String']}) => groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Promise<(FieldsSelection<groups, R> | undefined)>}),
    
/** fetch data from the table: "initiators" */
initiators: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>})&({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>}),
    
/** fetch aggregated fields from the table: "initiators" */
initiators_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => initiators_aggregatePromiseChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Promise<FieldsSelection<initiators_aggregate, R>>})&(initiators_aggregatePromiseChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Promise<FieldsSelection<initiators_aggregate, R>>}),
    
/** fetch data from the table: "initiators" using primary key columns */
initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Promise<(FieldsSelection<initiators, R> | undefined)>}),
    
/** fetch data from the table: "migrations" */
migrations: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>})&({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>}),
    
/** fetch aggregated fields from the table: "migrations" */
migrations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => migrations_aggregatePromiseChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Promise<FieldsSelection<migrations_aggregate, R>>})&(migrations_aggregatePromiseChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Promise<FieldsSelection<migrations_aggregate, R>>}),
    
/** fetch data from the table: "migrations" using primary key columns */
migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsPromiseChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Promise<(FieldsSelection<migrations, R> | undefined)>}),
    
/** fetch data from the table: "organization_qnr_widget" */
organization_qnr_widget: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** fetch aggregated fields from the table: "organization_qnr_widget" */
organization_qnr_widget_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    
/** fetch data from the table: "organization_qnr_widget" using primary key columns */
organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetPromiseChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>})&(projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>}),
    
/** fetch data from the table: "projects" using primary key columns */
projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsPromiseChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Promise<(FieldsSelection<projects, R> | undefined)>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesPromiseChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})&({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => qnr_template_genesis_overrides_log_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>})&(qnr_template_genesis_overrides_log_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logPromiseChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>}),
    
/** fetch data from the table: "queries" using primary key columns */
queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** fetch data from the table: "queries_cache" */
queries_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>})&({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_cache" */
queries_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => queries_cache_aggregatePromiseChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Promise<FieldsSelection<queries_cache_aggregate, R>>})&(queries_cache_aggregatePromiseChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Promise<FieldsSelection<queries_cache_aggregate, R>>}),
    
/** fetch data from the table: "queries_cache" using primary key columns */
queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>}),
    
/** fetch data from the table: "queries_error" using primary key columns */
queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorPromiseChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Promise<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>}),
    
/** fetch data from the table: "queries_log" using primary key columns */
queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** fetch data from the table: "queries_templates" */
queries_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>})&({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_templates" */
queries_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => queries_templates_aggregatePromiseChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Promise<FieldsSelection<queries_templates_aggregate, R>>})&(queries_templates_aggregatePromiseChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Promise<FieldsSelection<queries_templates_aggregate, R>>}),
    
/** fetch data from the table: "question_composite_question" */
question_composite_question: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch aggregated fields from the table: "question_composite_question" */
question_composite_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** fetch data from the table: "question_template" */
question_template: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>}),
    
/** fetch aggregated fields from the table: "question_template" */
question_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>}),
    
/** fetch data from the table: "questions" */
questions: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>})&({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>}),
    
/** fetch aggregated fields from the table: "questions" */
questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => questions_aggregatePromiseChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Promise<FieldsSelection<questions_aggregate, R>>})&(questions_aggregatePromiseChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Promise<FieldsSelection<questions_aggregate, R>>}),
    
/** fetch data from the table: "questions" using primary key columns */
questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Promise<(FieldsSelection<questions, R> | undefined)>}),
    
/** execute function "search_document_patient" which returns "documents_overview" */
search_document_patient: ((args: {
/** input parameters for function "search_document_patient" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>}),
    
/** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
search_document_patient_aggregate: ((args: {
/** input parameters for function "search_document_patient_aggregate" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" */
security_levels: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>})&({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>}),
    
/** fetch aggregated fields from the table: "security_levels" */
security_levels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => security_levels_aggregatePromiseChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Promise<FieldsSelection<security_levels_aggregate, R>>})&(security_levels_aggregatePromiseChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Promise<FieldsSelection<security_levels_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" using primary key columns */
security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** fetch data from the table: "settings" */
settings: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>})&({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>}),
    
/** fetch aggregated fields from the table: "settings" */
settings_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => settings_aggregatePromiseChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Promise<FieldsSelection<settings_aggregate, R>>})&(settings_aggregatePromiseChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Promise<FieldsSelection<settings_aggregate, R>>}),
    
/** fetch data from the table: "settings" using primary key columns */
settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsPromiseChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Promise<(FieldsSelection<settings, R> | undefined)>}),
    
/** fetch data from the table: "shortcuts" */
shortcuts: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>})&({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>}),
    
/** fetch aggregated fields from the table: "shortcuts" */
shortcuts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => shortcuts_aggregatePromiseChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Promise<FieldsSelection<shortcuts_aggregate, R>>})&(shortcuts_aggregatePromiseChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Promise<FieldsSelection<shortcuts_aggregate, R>>}),
    
/** fetch data from the table: "shortcuts" using primary key columns */
shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Promise<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>})&(sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>}),
    
/** fetch data from the table: "sms" using primary key columns */
sms_by_pk: ((args: {id: Scalars['bigint']}) => smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Promise<(FieldsSelection<sms, R> | undefined)>}),
    
/** fetch data from the table: "sms_template_template" */
sms_template_template: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>}),
    
/** fetch aggregated fields from the table: "sms_template_template" */
sms_template_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** fetch data from the table: "sms_template_template" using primary key columns */
sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templatePromiseChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Promise<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>}),
    
/** fetch data from the table: "sms_templates" using primary key columns */
sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** fetch data from the table: "status" */
status: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>})&({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>}),
    
/** fetch aggregated fields from the table: "status" */
status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => status_aggregatePromiseChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Promise<FieldsSelection<status_aggregate, R>>})&(status_aggregatePromiseChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Promise<FieldsSelection<status_aggregate, R>>}),
    
/** fetch data from the table: "status" using primary key columns */
status_by_pk: ((args: {name: Scalars['String']}) => statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Promise<(FieldsSelection<status, R> | undefined)>}),
    
/** fetch data from the table: "table_names" */
table_names: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>})&({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>}),
    
/** fetch aggregated fields from the table: "table_names" */
table_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => table_names_aggregatePromiseChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Promise<FieldsSelection<table_names_aggregate, R>>})&(table_names_aggregatePromiseChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Promise<FieldsSelection<table_names_aggregate, R>>}),
    
/** fetch data from the table: "table_names" using primary key columns */
table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Promise<(FieldsSelection<table_names, R> | undefined)>}),
    
/** fetch data from the table: "template_artifact_parcel" */
template_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "template_artifact_parcel" */
template_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "template_artifact_parcel" using primary key columns */
template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelPromiseChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table: "template_cache" */
template_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>})&({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_cache_access" */
template_cache_access: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache_access" */
template_cache_access_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>}),
    
/** fetch data from the table: "template_cache_access" using primary key columns */
template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessPromiseChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Promise<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** fetch aggregated fields from the table: "template_cache" */
template_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => template_cache_aggregatePromiseChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Promise<FieldsSelection<template_cache_aggregate, R>>})&(template_cache_aggregatePromiseChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Promise<FieldsSelection<template_cache_aggregate, R>>}),
    
/** fetch data from the table: "template_cache" using primary key columns */
template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** fetch data from the table: "template_flags" */
template_flags: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>})&({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>}),
    
/** fetch aggregated fields from the table: "template_flags" */
template_flags_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => template_flags_aggregatePromiseChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Promise<FieldsSelection<template_flags_aggregate, R>>})&(template_flags_aggregatePromiseChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Promise<FieldsSelection<template_flags_aggregate, R>>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** fetch data from the table: "template_journal_roles" using primary key columns */
template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesPromiseChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** fetch data from the table: "template_offer_types" using primary key columns */
template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesPromiseChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Promise<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>}),
    
/** fetch data from the table: "template_offers" using primary key columns */
template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersPromiseChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Promise<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>})&(templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>}),
    
/** fetch data from the table: "templates" using primary key columns */
templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** fetch data from the table: "types" */
types: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>})&({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>}),
    
/** fetch aggregated fields from the table: "types" */
types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => types_aggregatePromiseChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Promise<FieldsSelection<types_aggregate, R>>})&(types_aggregatePromiseChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Promise<FieldsSelection<types_aggregate, R>>}),
    
/** fetch data from the table: "types" using primary key columns */
types_by_pk: ((args: {name: Scalars['String']}) => typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Promise<(FieldsSelection<types, R> | undefined)>}),
    
/** fetch data from the table: "unseen_documents" */
unseen_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>})&({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_documents" */
unseen_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => unseen_documents_aggregatePromiseChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Promise<FieldsSelection<unseen_documents_aggregate, R>>})&(unseen_documents_aggregatePromiseChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Promise<FieldsSelection<unseen_documents_aggregate, R>>}),
    
/** fetch data from the table: "unseen_queries" */
unseen_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>})&({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_queries" */
unseen_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => unseen_queries_aggregatePromiseChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Promise<FieldsSelection<unseen_queries_aggregate, R>>})&(unseen_queries_aggregatePromiseChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Promise<FieldsSelection<unseen_queries_aggregate, R>>})
}

export interface query_rootObservableChain{
    
/** fetch data from the table: "DocKladd_properties" */
DocKladd_properties: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>})&({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** fetch aggregated fields from the table: "DocKladd_properties" */
DocKladd_properties_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => DocKladd_properties_aggregateObservableChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Observable<FieldsSelection<DocKladd_properties_aggregate, R>>})&(DocKladd_properties_aggregateObservableChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Observable<FieldsSelection<DocKladd_properties_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_properties" using primary key columns */
DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesObservableChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_questions" using primary key columns */
DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsObservableChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** fetch data from the table: "accessible" */
accessible: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>})&({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>}),
    
/** fetch aggregated fields from the table: "accessible" */
accessible_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => accessible_aggregateObservableChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Observable<FieldsSelection<accessible_aggregate, R>>})&(accessible_aggregateObservableChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Observable<FieldsSelection<accessible_aggregate, R>>}),
    
/** fetch data from the table: "accessible" using primary key columns */
accessible_by_pk: ((args: {name: Scalars['String']}) => accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    
/** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerObservableChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_answers" using primary key columns */
anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersObservableChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** fetch data from the table: "anonymous_invitations" */
anonymous_invitations: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_invitations" */
anonymous_invitations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_invitations" using primary key columns */
anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_queries" using primary key columns */
anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_sms" using primary key columns */
anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsObservableChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** fetch data from the table: "anonymous_template_question" */
anonymous_template_question: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_template_question" */
anonymous_template_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" */
anonymous_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>})&({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_templates" */
anonymous_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => anonymous_templates_aggregateObservableChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Observable<FieldsSelection<anonymous_templates_aggregate, R>>})&(anonymous_templates_aggregateObservableChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Observable<FieldsSelection<anonymous_templates_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" using primary key columns */
anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelObservableChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_cron" */
artifact_package_cron: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>})&({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_cron" */
artifact_package_cron_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => artifact_package_cron_aggregateObservableChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Observable<FieldsSelection<artifact_package_cron_aggregate, R>>})&(artifact_package_cron_aggregateObservableChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Observable<FieldsSelection<artifact_package_cron_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_cron" using primary key columns */
artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** fetch data from the table: "artifact_package_groups" */
artifact_package_groups: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>})&({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_groups" */
artifact_package_groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => artifact_package_groups_aggregateObservableChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Observable<FieldsSelection<artifact_package_groups_aggregate, R>>})&(artifact_package_groups_aggregateObservableChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Observable<FieldsSelection<artifact_package_groups_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_groups" using primary key columns */
artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsObservableChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>}),
    
/** fetch data from the table: "artifact_packages" using primary key columns */
artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** fetch data from the table: "artifact_parcels" */
artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>})&({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_parcels" */
artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => artifact_parcels_aggregateObservableChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Observable<FieldsSelection<artifact_parcels_aggregate, R>>})&(artifact_parcels_aggregateObservableChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Observable<FieldsSelection<artifact_parcels_aggregate, R>>}),
    
/** fetch data from the table: "artifact_parcels" using primary key columns */
artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** fetch data from the table: "categories" */
categories: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>})&({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>}),
    
/** fetch aggregated fields from the table: "categories" */
categories_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => categories_aggregateObservableChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Observable<FieldsSelection<categories_aggregate, R>>})&(categories_aggregateObservableChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Observable<FieldsSelection<categories_aggregate, R>>}),
    
/** fetch data from the table: "categories" using primary key columns */
categories_by_pk: ((args: {name: Scalars['String']}) => categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Observable<(FieldsSelection<categories, R> | undefined)>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    
/** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsObservableChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** fetch data from the table: "consent_patient" */
consent_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_patient" */
consent_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** fetch data from the table: "consent_patient" using primary key columns */
consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** fetch data from the table: "consent_status" */
consent_status: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>})&({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_status" */
consent_status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => consent_status_aggregateObservableChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Observable<FieldsSelection<consent_status_aggregate, R>>})&(consent_status_aggregateObservableChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Observable<FieldsSelection<consent_status_aggregate, R>>}),
    
/** fetch data from the table: "consent_status" using primary key columns */
consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Observable<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** fetch data from the table: "consent_template_to_template" */
consent_template_to_template: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_template_to_template" */
consent_template_to_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "consent_templates" using primary key columns */
consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Observable<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    
/** fetch data from the table: "consents" using primary key columns */
consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Observable<(FieldsSelection<consents, R> | undefined)>}),
    
/** fetch data from the table: "context_group_context" */
context_group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "context_group_context" */
context_group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>}),
    
/** fetch data from the table: "context_group_context" using primary key columns */
context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextObservableChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Observable<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** fetch data from the table: "contexts" */
contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>})&({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>}),
    
/** fetch aggregated fields from the table: "contexts" */
contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => contexts_aggregateObservableChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Observable<FieldsSelection<contexts_aggregate, R>>})&(contexts_aggregateObservableChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Observable<FieldsSelection<contexts_aggregate, R>>}),
    
/** fetch data from the table: "contexts" using primary key columns */
contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    
/** fetch data from the table: "custom_db_nodes" */
custom_db_nodes: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>})&({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch aggregated fields from the table: "custom_db_nodes" */
custom_db_nodes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => custom_db_nodes_aggregateObservableChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Observable<FieldsSelection<custom_db_nodes_aggregate, R>>})&(custom_db_nodes_aggregateObservableChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Observable<FieldsSelection<custom_db_nodes_aggregate, R>>}),
    
/** fetch data from the table: "custom_db_nodes" using primary key columns */
custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesObservableChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** fetch data from the table: "directory_customers" */
directory_customers: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>})&({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_customers" */
directory_customers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => directory_customers_aggregateObservableChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Observable<FieldsSelection<directory_customers_aggregate, R>>})&(directory_customers_aggregateObservableChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Observable<FieldsSelection<directory_customers_aggregate, R>>}),
    
/** fetch data from the table: "directory_customers" using primary key columns */
directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** fetch data from the table: "directory_user_name" */
directory_user_name: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>})&({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_name" */
directory_user_name_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => directory_user_name_aggregateObservableChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Observable<FieldsSelection<directory_user_name_aggregate, R>>})&(directory_user_name_aggregateObservableChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Observable<FieldsSelection<directory_user_name_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_name" using primary key columns */
directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** fetch data from the table: "document_patient" */
document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "document_patient" */
document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>}),
    
/** fetch data from the table: "document_patient" using primary key columns */
document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientObservableChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Observable<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>})&(documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>}),
    
/** fetch data from the table: "documents" using primary key columns */
documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    
/** fetch data from the table: "documents_overview" */
documents_overview: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>})&({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch aggregated fields from the table: "documents_overview" */
documents_overview_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>})&(documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" */
event_artifact_package: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>}),
    
/** fetch aggregated fields from the table: "event_artifact_package" */
event_artifact_package_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" using primary key columns */
event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packageObservableChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** fetch data from the table: "favorite_templates_order" using primary key columns */
favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderObservableChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>}),
    
/** fetch data from the table: "favorites" using primary key columns */
favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesObservableChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Observable<(FieldsSelection<favorites, R> | undefined)>}),
    
/** fetch data from the table: "filter_names" */
filter_names: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>})&({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>}),
    
/** fetch aggregated fields from the table: "filter_names" */
filter_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => filter_names_aggregateObservableChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Observable<FieldsSelection<filter_names_aggregate, R>>})&(filter_names_aggregateObservableChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Observable<FieldsSelection<filter_names_aggregate, R>>}),
    
/** fetch data from the table: "filter_names" using primary key columns */
filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Observable<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_permissions" using primary key columns */
genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsObservableChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_templates" using primary key columns */
genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesObservableChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_denied_permissions" using primary key columns */
genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsObservableChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_templates" using primary key columns */
genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesObservableChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** fetch data from the table: "group_context" */
group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>})&({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "group_context" */
group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => group_context_aggregateObservableChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Observable<FieldsSelection<group_context_aggregate, R>>})&(group_context_aggregateObservableChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Observable<FieldsSelection<group_context_aggregate, R>>}),
    
/** fetch data from the table: "group_context" using primary key columns */
group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Observable<(FieldsSelection<group_context, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>}),
    
/** fetch data from the table: "group_context_filters" using primary key columns */
group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersObservableChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Observable<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** fetch data from the table: "groups" */
groups: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>})&({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>}),
    
/** fetch aggregated fields from the table: "groups" */
groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => groups_aggregateObservableChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Observable<FieldsSelection<groups_aggregate, R>>})&(groups_aggregateObservableChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Observable<FieldsSelection<groups_aggregate, R>>}),
    
/** fetch data from the table: "groups" using primary key columns */
groups_by_pk: ((args: {name: Scalars['String']}) => groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Observable<(FieldsSelection<groups, R> | undefined)>}),
    
/** fetch data from the table: "initiators" */
initiators: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>})&({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>}),
    
/** fetch aggregated fields from the table: "initiators" */
initiators_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => initiators_aggregateObservableChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Observable<FieldsSelection<initiators_aggregate, R>>})&(initiators_aggregateObservableChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Observable<FieldsSelection<initiators_aggregate, R>>}),
    
/** fetch data from the table: "initiators" using primary key columns */
initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Observable<(FieldsSelection<initiators, R> | undefined)>}),
    
/** fetch data from the table: "migrations" */
migrations: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>})&({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>}),
    
/** fetch aggregated fields from the table: "migrations" */
migrations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => migrations_aggregateObservableChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Observable<FieldsSelection<migrations_aggregate, R>>})&(migrations_aggregateObservableChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Observable<FieldsSelection<migrations_aggregate, R>>}),
    
/** fetch data from the table: "migrations" using primary key columns */
migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsObservableChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Observable<(FieldsSelection<migrations, R> | undefined)>}),
    
/** fetch data from the table: "organization_qnr_widget" */
organization_qnr_widget: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** fetch aggregated fields from the table: "organization_qnr_widget" */
organization_qnr_widget_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    
/** fetch data from the table: "organization_qnr_widget" using primary key columns */
organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetObservableChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>})&(projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>}),
    
/** fetch data from the table: "projects" using primary key columns */
projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsObservableChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Observable<(FieldsSelection<projects, R> | undefined)>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesObservableChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})&({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => qnr_template_genesis_overrides_log_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>})&(qnr_template_genesis_overrides_log_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logObservableChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>}),
    
/** fetch data from the table: "queries" using primary key columns */
queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** fetch data from the table: "queries_cache" */
queries_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>})&({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_cache" */
queries_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => queries_cache_aggregateObservableChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Observable<FieldsSelection<queries_cache_aggregate, R>>})&(queries_cache_aggregateObservableChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Observable<FieldsSelection<queries_cache_aggregate, R>>}),
    
/** fetch data from the table: "queries_cache" using primary key columns */
queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>}),
    
/** fetch data from the table: "queries_error" using primary key columns */
queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorObservableChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Observable<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>}),
    
/** fetch data from the table: "queries_log" using primary key columns */
queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** fetch data from the table: "queries_templates" */
queries_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>})&({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_templates" */
queries_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => queries_templates_aggregateObservableChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Observable<FieldsSelection<queries_templates_aggregate, R>>})&(queries_templates_aggregateObservableChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Observable<FieldsSelection<queries_templates_aggregate, R>>}),
    
/** fetch data from the table: "question_composite_question" */
question_composite_question: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch aggregated fields from the table: "question_composite_question" */
question_composite_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** fetch data from the table: "question_template" */
question_template: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>}),
    
/** fetch aggregated fields from the table: "question_template" */
question_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>}),
    
/** fetch data from the table: "questions" */
questions: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>})&({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>}),
    
/** fetch aggregated fields from the table: "questions" */
questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => questions_aggregateObservableChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Observable<FieldsSelection<questions_aggregate, R>>})&(questions_aggregateObservableChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Observable<FieldsSelection<questions_aggregate, R>>}),
    
/** fetch data from the table: "questions" using primary key columns */
questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Observable<(FieldsSelection<questions, R> | undefined)>}),
    
/** execute function "search_document_patient" which returns "documents_overview" */
search_document_patient: ((args: {
/** input parameters for function "search_document_patient" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>}),
    
/** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
search_document_patient_aggregate: ((args: {
/** input parameters for function "search_document_patient_aggregate" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" */
security_levels: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>})&({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>}),
    
/** fetch aggregated fields from the table: "security_levels" */
security_levels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => security_levels_aggregateObservableChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Observable<FieldsSelection<security_levels_aggregate, R>>})&(security_levels_aggregateObservableChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Observable<FieldsSelection<security_levels_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" using primary key columns */
security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** fetch data from the table: "settings" */
settings: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>})&({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>}),
    
/** fetch aggregated fields from the table: "settings" */
settings_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => settings_aggregateObservableChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Observable<FieldsSelection<settings_aggregate, R>>})&(settings_aggregateObservableChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Observable<FieldsSelection<settings_aggregate, R>>}),
    
/** fetch data from the table: "settings" using primary key columns */
settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsObservableChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Observable<(FieldsSelection<settings, R> | undefined)>}),
    
/** fetch data from the table: "shortcuts" */
shortcuts: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>})&({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>}),
    
/** fetch aggregated fields from the table: "shortcuts" */
shortcuts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => shortcuts_aggregateObservableChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Observable<FieldsSelection<shortcuts_aggregate, R>>})&(shortcuts_aggregateObservableChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Observable<FieldsSelection<shortcuts_aggregate, R>>}),
    
/** fetch data from the table: "shortcuts" using primary key columns */
shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Observable<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>})&(sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>}),
    
/** fetch data from the table: "sms" using primary key columns */
sms_by_pk: ((args: {id: Scalars['bigint']}) => smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Observable<(FieldsSelection<sms, R> | undefined)>}),
    
/** fetch data from the table: "sms_template_template" */
sms_template_template: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>}),
    
/** fetch aggregated fields from the table: "sms_template_template" */
sms_template_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** fetch data from the table: "sms_template_template" using primary key columns */
sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templateObservableChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Observable<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>}),
    
/** fetch data from the table: "sms_templates" using primary key columns */
sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** fetch data from the table: "status" */
status: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>})&({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>}),
    
/** fetch aggregated fields from the table: "status" */
status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => status_aggregateObservableChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Observable<FieldsSelection<status_aggregate, R>>})&(status_aggregateObservableChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Observable<FieldsSelection<status_aggregate, R>>}),
    
/** fetch data from the table: "status" using primary key columns */
status_by_pk: ((args: {name: Scalars['String']}) => statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Observable<(FieldsSelection<status, R> | undefined)>}),
    
/** fetch data from the table: "table_names" */
table_names: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>})&({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>}),
    
/** fetch aggregated fields from the table: "table_names" */
table_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => table_names_aggregateObservableChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Observable<FieldsSelection<table_names_aggregate, R>>})&(table_names_aggregateObservableChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Observable<FieldsSelection<table_names_aggregate, R>>}),
    
/** fetch data from the table: "table_names" using primary key columns */
table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Observable<(FieldsSelection<table_names, R> | undefined)>}),
    
/** fetch data from the table: "template_artifact_parcel" */
template_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "template_artifact_parcel" */
template_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "template_artifact_parcel" using primary key columns */
template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelObservableChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table: "template_cache" */
template_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>})&({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_cache_access" */
template_cache_access: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache_access" */
template_cache_access_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>}),
    
/** fetch data from the table: "template_cache_access" using primary key columns */
template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessObservableChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Observable<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** fetch aggregated fields from the table: "template_cache" */
template_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => template_cache_aggregateObservableChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Observable<FieldsSelection<template_cache_aggregate, R>>})&(template_cache_aggregateObservableChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Observable<FieldsSelection<template_cache_aggregate, R>>}),
    
/** fetch data from the table: "template_cache" using primary key columns */
template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** fetch data from the table: "template_flags" */
template_flags: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>})&({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>}),
    
/** fetch aggregated fields from the table: "template_flags" */
template_flags_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => template_flags_aggregateObservableChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Observable<FieldsSelection<template_flags_aggregate, R>>})&(template_flags_aggregateObservableChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Observable<FieldsSelection<template_flags_aggregate, R>>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** fetch data from the table: "template_journal_roles" using primary key columns */
template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesObservableChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** fetch data from the table: "template_offer_types" using primary key columns */
template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesObservableChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Observable<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>}),
    
/** fetch data from the table: "template_offers" using primary key columns */
template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersObservableChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Observable<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>})&(templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>}),
    
/** fetch data from the table: "templates" using primary key columns */
templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** fetch data from the table: "types" */
types: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>})&({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>}),
    
/** fetch aggregated fields from the table: "types" */
types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => types_aggregateObservableChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Observable<FieldsSelection<types_aggregate, R>>})&(types_aggregateObservableChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Observable<FieldsSelection<types_aggregate, R>>}),
    
/** fetch data from the table: "types" using primary key columns */
types_by_pk: ((args: {name: Scalars['String']}) => typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Observable<(FieldsSelection<types, R> | undefined)>}),
    
/** fetch data from the table: "unseen_documents" */
unseen_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>})&({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_documents" */
unseen_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => unseen_documents_aggregateObservableChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Observable<FieldsSelection<unseen_documents_aggregate, R>>})&(unseen_documents_aggregateObservableChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Observable<FieldsSelection<unseen_documents_aggregate, R>>}),
    
/** fetch data from the table: "unseen_queries" */
unseen_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>})&({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_queries" */
unseen_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => unseen_queries_aggregateObservableChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Observable<FieldsSelection<unseen_queries_aggregate, R>>})&(unseen_queries_aggregateObservableChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Observable<FieldsSelection<unseen_queries_aggregate, R>>})
}


/** columns and relationships of "question_composite_question" */
export interface question_composite_questionPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
question: (questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Promise<FieldsSelection<questions, R>>}),
    
/** An object relationship */
questionByQuestionParentId: (questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Promise<FieldsSelection<questions, R>>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    row: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "question_composite_question" */
export interface question_composite_questionObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
question: (questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Observable<FieldsSelection<questions, R>>}),
    
/** An object relationship */
questionByQuestionParentId: (questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Observable<FieldsSelection<questions, R>>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    row: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "question_composite_question" */
export interface question_composite_question_aggregatePromiseChain{
    aggregate: (question_composite_question_aggregate_fieldsPromiseChain & {get: <R extends question_composite_question_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})
}


/** aggregated selection of "question_composite_question" */
export interface question_composite_question_aggregateObservableChain{
    aggregate: (question_composite_question_aggregate_fieldsObservableChain & {get: <R extends question_composite_question_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})
}


/** aggregate fields of "question_composite_question" */
export interface question_composite_question_aggregate_fieldsPromiseChain{
    avg: (question_composite_question_avg_fieldsPromiseChain & {get: <R extends question_composite_question_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_avg_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (question_composite_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (question_composite_question_max_fieldsPromiseChain & {get: <R extends question_composite_question_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_max_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_max_fields, R> | undefined)>}),
    min: (question_composite_question_min_fieldsPromiseChain & {get: <R extends question_composite_question_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_min_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_min_fields, R> | undefined)>}),
    stddev: (question_composite_question_stddev_fieldsPromiseChain & {get: <R extends question_composite_question_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_stddev_fields, R> | undefined)>}),
    stddev_pop: (question_composite_question_stddev_pop_fieldsPromiseChain & {get: <R extends question_composite_question_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (question_composite_question_stddev_samp_fieldsPromiseChain & {get: <R extends question_composite_question_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_stddev_samp_fields, R> | undefined)>}),
    sum: (question_composite_question_sum_fieldsPromiseChain & {get: <R extends question_composite_question_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_sum_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_sum_fields, R> | undefined)>}),
    var_pop: (question_composite_question_var_pop_fieldsPromiseChain & {get: <R extends question_composite_question_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_var_pop_fields, R> | undefined)>}),
    var_samp: (question_composite_question_var_samp_fieldsPromiseChain & {get: <R extends question_composite_question_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_var_samp_fields, R> | undefined)>}),
    variance: (question_composite_question_variance_fieldsPromiseChain & {get: <R extends question_composite_question_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_variance_fields, R> | undefined)) => Promise<(FieldsSelection<question_composite_question_variance_fields, R> | undefined)>})
}


/** aggregate fields of "question_composite_question" */
export interface question_composite_question_aggregate_fieldsObservableChain{
    avg: (question_composite_question_avg_fieldsObservableChain & {get: <R extends question_composite_question_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_avg_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (question_composite_question_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (question_composite_question_max_fieldsObservableChain & {get: <R extends question_composite_question_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_max_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_max_fields, R> | undefined)>}),
    min: (question_composite_question_min_fieldsObservableChain & {get: <R extends question_composite_question_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_min_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_min_fields, R> | undefined)>}),
    stddev: (question_composite_question_stddev_fieldsObservableChain & {get: <R extends question_composite_question_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_stddev_fields, R> | undefined)>}),
    stddev_pop: (question_composite_question_stddev_pop_fieldsObservableChain & {get: <R extends question_composite_question_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (question_composite_question_stddev_samp_fieldsObservableChain & {get: <R extends question_composite_question_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_stddev_samp_fields, R> | undefined)>}),
    sum: (question_composite_question_sum_fieldsObservableChain & {get: <R extends question_composite_question_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_sum_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_sum_fields, R> | undefined)>}),
    var_pop: (question_composite_question_var_pop_fieldsObservableChain & {get: <R extends question_composite_question_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_var_pop_fields, R> | undefined)>}),
    var_samp: (question_composite_question_var_samp_fieldsObservableChain & {get: <R extends question_composite_question_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_var_samp_fields, R> | undefined)>}),
    variance: (question_composite_question_variance_fieldsObservableChain & {get: <R extends question_composite_question_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_composite_question_variance_fields, R> | undefined)) => Observable<(FieldsSelection<question_composite_question_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface question_composite_question_avg_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface question_composite_question_avg_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface question_composite_question_max_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface question_composite_question_max_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface question_composite_question_min_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface question_composite_question_min_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    properties: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "question_composite_question" */
export interface question_composite_question_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})
}


/** response of any mutation on the table "question_composite_question" */
export interface question_composite_question_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})
}


/** aggregate stddev on columns */
export interface question_composite_question_stddev_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface question_composite_question_stddev_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface question_composite_question_stddev_pop_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface question_composite_question_stddev_pop_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface question_composite_question_stddev_samp_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface question_composite_question_stddev_samp_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface question_composite_question_sum_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface question_composite_question_sum_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface question_composite_question_var_pop_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface question_composite_question_var_pop_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface question_composite_question_var_samp_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface question_composite_question_var_samp_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface question_composite_question_variance_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface question_composite_question_variance_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_child_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_parent_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    row: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "question_template" */
export interface question_templatePromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
question: (questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Promise<FieldsSelection<questions, R>>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "question_template" */
export interface question_templateObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    position: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An object relationship */
question: (questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>) => Observable<FieldsSelection<questions, R>>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "question_template" */
export interface question_template_aggregatePromiseChain{
    aggregate: (question_template_aggregate_fieldsPromiseChain & {get: <R extends question_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})
}


/** aggregated selection of "question_template" */
export interface question_template_aggregateObservableChain{
    aggregate: (question_template_aggregate_fieldsObservableChain & {get: <R extends question_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})
}


/** aggregate fields of "question_template" */
export interface question_template_aggregate_fieldsPromiseChain{
    avg: (question_template_avg_fieldsPromiseChain & {get: <R extends question_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_avg_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (question_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (question_template_max_fieldsPromiseChain & {get: <R extends question_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_max_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_max_fields, R> | undefined)>}),
    min: (question_template_min_fieldsPromiseChain & {get: <R extends question_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_min_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_min_fields, R> | undefined)>}),
    stddev: (question_template_stddev_fieldsPromiseChain & {get: <R extends question_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (question_template_stddev_pop_fieldsPromiseChain & {get: <R extends question_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (question_template_stddev_samp_fieldsPromiseChain & {get: <R extends question_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_stddev_samp_fields, R> | undefined)>}),
    sum: (question_template_sum_fieldsPromiseChain & {get: <R extends question_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_sum_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_sum_fields, R> | undefined)>}),
    var_pop: (question_template_var_pop_fieldsPromiseChain & {get: <R extends question_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_var_pop_fields, R> | undefined)>}),
    var_samp: (question_template_var_samp_fieldsPromiseChain & {get: <R extends question_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_var_samp_fields, R> | undefined)>}),
    variance: (question_template_variance_fieldsPromiseChain & {get: <R extends question_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_variance_fields, R> | undefined)) => Promise<(FieldsSelection<question_template_variance_fields, R> | undefined)>})
}


/** aggregate fields of "question_template" */
export interface question_template_aggregate_fieldsObservableChain{
    avg: (question_template_avg_fieldsObservableChain & {get: <R extends question_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_avg_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (question_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (question_template_max_fieldsObservableChain & {get: <R extends question_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_max_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_max_fields, R> | undefined)>}),
    min: (question_template_min_fieldsObservableChain & {get: <R extends question_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_min_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_min_fields, R> | undefined)>}),
    stddev: (question_template_stddev_fieldsObservableChain & {get: <R extends question_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (question_template_stddev_pop_fieldsObservableChain & {get: <R extends question_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (question_template_stddev_samp_fieldsObservableChain & {get: <R extends question_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_stddev_samp_fields, R> | undefined)>}),
    sum: (question_template_sum_fieldsObservableChain & {get: <R extends question_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_sum_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_sum_fields, R> | undefined)>}),
    var_pop: (question_template_var_pop_fieldsObservableChain & {get: <R extends question_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_var_pop_fields, R> | undefined)>}),
    var_samp: (question_template_var_samp_fieldsObservableChain & {get: <R extends question_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_var_samp_fields, R> | undefined)>}),
    variance: (question_template_variance_fieldsObservableChain & {get: <R extends question_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<question_template_variance_fields, R> | undefined)) => Observable<(FieldsSelection<question_template_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface question_template_avg_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface question_template_avg_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface question_template_max_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface question_template_max_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface question_template_min_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface question_template_min_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    narrative: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "question_template" */
export interface question_template_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})
}


/** response of any mutation on the table "question_template" */
export interface question_template_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})
}


/** aggregate stddev on columns */
export interface question_template_stddev_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface question_template_stddev_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface question_template_stddev_pop_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface question_template_stddev_pop_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface question_template_stddev_samp_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface question_template_stddev_samp_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface question_template_sum_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface question_template_sum_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface question_template_var_pop_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface question_template_var_pop_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface question_template_var_samp_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface question_template_var_samp_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface question_template_variance_fieldsPromiseChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface question_template_variance_fieldsObservableChain{
    position: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    question_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "questions" */
export interface questionsPromiseChain{
    
/** An array relationship */
anonymous_template_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** An aggregate relationship */
anonymous_template_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    
/** converts proterties::text into jsonb */
props: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An array relationship */
question_composite_childs: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>}),
    
/** An aggregate relationship */
question_composite_childs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** An array relationship */
question_composite_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>}),
    
/** An aggregate relationship */
question_composite_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** An array relationship */
question_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>}),
    
/** An aggregate relationship */
question_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "questions" */
export interface questionsObservableChain{
    
/** An array relationship */
anonymous_template_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** An aggregate relationship */
anonymous_template_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    properties: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    
/** converts proterties::text into jsonb */
props: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An array relationship */
question_composite_childs: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>}),
    
/** An aggregate relationship */
question_composite_childs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** An array relationship */
question_composite_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>}),
    
/** An aggregate relationship */
question_composite_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** An array relationship */
question_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>}),
    
/** An aggregate relationship */
question_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "questions" */
export interface questions_aggregatePromiseChain{
    aggregate: (questions_aggregate_fieldsPromiseChain & {get: <R extends questions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<questions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>})
}


/** aggregated selection of "questions" */
export interface questions_aggregateObservableChain{
    aggregate: (questions_aggregate_fieldsObservableChain & {get: <R extends questions_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<questions_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>})
}


/** aggregate fields of "questions" */
export interface questions_aggregate_fieldsPromiseChain{
    avg: (questions_avg_fieldsPromiseChain & {get: <R extends questions_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_avg_fields, R> | undefined)) => Promise<(FieldsSelection<questions_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (questions_max_fieldsPromiseChain & {get: <R extends questions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_max_fields, R> | undefined)) => Promise<(FieldsSelection<questions_max_fields, R> | undefined)>}),
    min: (questions_min_fieldsPromiseChain & {get: <R extends questions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_min_fields, R> | undefined)) => Promise<(FieldsSelection<questions_min_fields, R> | undefined)>}),
    stddev: (questions_stddev_fieldsPromiseChain & {get: <R extends questions_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<questions_stddev_fields, R> | undefined)>}),
    stddev_pop: (questions_stddev_pop_fieldsPromiseChain & {get: <R extends questions_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<questions_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (questions_stddev_samp_fieldsPromiseChain & {get: <R extends questions_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<questions_stddev_samp_fields, R> | undefined)>}),
    sum: (questions_sum_fieldsPromiseChain & {get: <R extends questions_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_sum_fields, R> | undefined)) => Promise<(FieldsSelection<questions_sum_fields, R> | undefined)>}),
    var_pop: (questions_var_pop_fieldsPromiseChain & {get: <R extends questions_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<questions_var_pop_fields, R> | undefined)>}),
    var_samp: (questions_var_samp_fieldsPromiseChain & {get: <R extends questions_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<questions_var_samp_fields, R> | undefined)>}),
    variance: (questions_variance_fieldsPromiseChain & {get: <R extends questions_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_variance_fields, R> | undefined)) => Promise<(FieldsSelection<questions_variance_fields, R> | undefined)>})
}


/** aggregate fields of "questions" */
export interface questions_aggregate_fieldsObservableChain{
    avg: (questions_avg_fieldsObservableChain & {get: <R extends questions_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_avg_fields, R> | undefined)) => Observable<(FieldsSelection<questions_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (questions_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (questions_max_fieldsObservableChain & {get: <R extends questions_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_max_fields, R> | undefined)) => Observable<(FieldsSelection<questions_max_fields, R> | undefined)>}),
    min: (questions_min_fieldsObservableChain & {get: <R extends questions_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_min_fields, R> | undefined)) => Observable<(FieldsSelection<questions_min_fields, R> | undefined)>}),
    stddev: (questions_stddev_fieldsObservableChain & {get: <R extends questions_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<questions_stddev_fields, R> | undefined)>}),
    stddev_pop: (questions_stddev_pop_fieldsObservableChain & {get: <R extends questions_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<questions_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (questions_stddev_samp_fieldsObservableChain & {get: <R extends questions_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<questions_stddev_samp_fields, R> | undefined)>}),
    sum: (questions_sum_fieldsObservableChain & {get: <R extends questions_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_sum_fields, R> | undefined)) => Observable<(FieldsSelection<questions_sum_fields, R> | undefined)>}),
    var_pop: (questions_var_pop_fieldsObservableChain & {get: <R extends questions_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<questions_var_pop_fields, R> | undefined)>}),
    var_samp: (questions_var_samp_fieldsObservableChain & {get: <R extends questions_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<questions_var_samp_fields, R> | undefined)>}),
    variance: (questions_variance_fieldsObservableChain & {get: <R extends questions_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<questions_variance_fields, R> | undefined)) => Observable<(FieldsSelection<questions_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface questions_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface questions_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface questions_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface questions_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface questions_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface questions_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    external_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    question_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "questions" */
export interface questions_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>})
}


/** response of any mutation on the table "questions" */
export interface questions_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>})
}


/** aggregate stddev on columns */
export interface questions_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface questions_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface questions_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface questions_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface questions_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface questions_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface questions_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface questions_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface questions_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface questions_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface questions_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface questions_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface questions_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface questions_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "security_levels" */
export interface security_levelsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "security_levels" */
export interface security_levelsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** An aggregate relationship */
document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "security_levels" */
export interface security_levels_aggregatePromiseChain{
    aggregate: (security_levels_aggregate_fieldsPromiseChain & {get: <R extends security_levels_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<security_levels_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>})
}


/** aggregated selection of "security_levels" */
export interface security_levels_aggregateObservableChain{
    aggregate: (security_levels_aggregate_fieldsObservableChain & {get: <R extends security_levels_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<security_levels_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>})
}


/** aggregate fields of "security_levels" */
export interface security_levels_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (security_levels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (security_levels_max_fieldsPromiseChain & {get: <R extends security_levels_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_max_fields, R> | undefined)) => Promise<(FieldsSelection<security_levels_max_fields, R> | undefined)>}),
    min: (security_levels_min_fieldsPromiseChain & {get: <R extends security_levels_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_min_fields, R> | undefined)) => Promise<(FieldsSelection<security_levels_min_fields, R> | undefined)>})
}


/** aggregate fields of "security_levels" */
export interface security_levels_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (security_levels_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (security_levels_max_fieldsObservableChain & {get: <R extends security_levels_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_max_fields, R> | undefined)) => Observable<(FieldsSelection<security_levels_max_fields, R> | undefined)>}),
    min: (security_levels_min_fieldsObservableChain & {get: <R extends security_levels_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels_min_fields, R> | undefined)) => Observable<(FieldsSelection<security_levels_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface security_levels_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface security_levels_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface security_levels_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface security_levels_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "security_levels" */
export interface security_levels_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>})
}


/** response of any mutation on the table "security_levels" */
export interface security_levels_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>})
}


/** columns and relationships of "settings" */
export interface settingsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    key: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    value: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "settings" */
export interface settingsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    key: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    value: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "settings" */
export interface settings_aggregatePromiseChain{
    aggregate: (settings_aggregate_fieldsPromiseChain & {get: <R extends settings_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<settings_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>})
}


/** aggregated selection of "settings" */
export interface settings_aggregateObservableChain{
    aggregate: (settings_aggregate_fieldsObservableChain & {get: <R extends settings_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<settings_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>})
}


/** aggregate fields of "settings" */
export interface settings_aggregate_fieldsPromiseChain{
    avg: (settings_avg_fieldsPromiseChain & {get: <R extends settings_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_avg_fields, R> | undefined)) => Promise<(FieldsSelection<settings_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (settings_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (settings_max_fieldsPromiseChain & {get: <R extends settings_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_max_fields, R> | undefined)) => Promise<(FieldsSelection<settings_max_fields, R> | undefined)>}),
    min: (settings_min_fieldsPromiseChain & {get: <R extends settings_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_min_fields, R> | undefined)) => Promise<(FieldsSelection<settings_min_fields, R> | undefined)>}),
    stddev: (settings_stddev_fieldsPromiseChain & {get: <R extends settings_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<settings_stddev_fields, R> | undefined)>}),
    stddev_pop: (settings_stddev_pop_fieldsPromiseChain & {get: <R extends settings_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<settings_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (settings_stddev_samp_fieldsPromiseChain & {get: <R extends settings_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<settings_stddev_samp_fields, R> | undefined)>}),
    sum: (settings_sum_fieldsPromiseChain & {get: <R extends settings_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_sum_fields, R> | undefined)) => Promise<(FieldsSelection<settings_sum_fields, R> | undefined)>}),
    var_pop: (settings_var_pop_fieldsPromiseChain & {get: <R extends settings_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<settings_var_pop_fields, R> | undefined)>}),
    var_samp: (settings_var_samp_fieldsPromiseChain & {get: <R extends settings_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<settings_var_samp_fields, R> | undefined)>}),
    variance: (settings_variance_fieldsPromiseChain & {get: <R extends settings_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_variance_fields, R> | undefined)) => Promise<(FieldsSelection<settings_variance_fields, R> | undefined)>})
}


/** aggregate fields of "settings" */
export interface settings_aggregate_fieldsObservableChain{
    avg: (settings_avg_fieldsObservableChain & {get: <R extends settings_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_avg_fields, R> | undefined)) => Observable<(FieldsSelection<settings_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (settings_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (settings_max_fieldsObservableChain & {get: <R extends settings_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_max_fields, R> | undefined)) => Observable<(FieldsSelection<settings_max_fields, R> | undefined)>}),
    min: (settings_min_fieldsObservableChain & {get: <R extends settings_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_min_fields, R> | undefined)) => Observable<(FieldsSelection<settings_min_fields, R> | undefined)>}),
    stddev: (settings_stddev_fieldsObservableChain & {get: <R extends settings_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<settings_stddev_fields, R> | undefined)>}),
    stddev_pop: (settings_stddev_pop_fieldsObservableChain & {get: <R extends settings_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<settings_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (settings_stddev_samp_fieldsObservableChain & {get: <R extends settings_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<settings_stddev_samp_fields, R> | undefined)>}),
    sum: (settings_sum_fieldsObservableChain & {get: <R extends settings_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_sum_fields, R> | undefined)) => Observable<(FieldsSelection<settings_sum_fields, R> | undefined)>}),
    var_pop: (settings_var_pop_fieldsObservableChain & {get: <R extends settings_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<settings_var_pop_fields, R> | undefined)>}),
    var_samp: (settings_var_samp_fieldsObservableChain & {get: <R extends settings_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<settings_var_samp_fields, R> | undefined)>}),
    variance: (settings_variance_fieldsObservableChain & {get: <R extends settings_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<settings_variance_fields, R> | undefined)) => Observable<(FieldsSelection<settings_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface settings_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface settings_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface settings_max_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    key: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    value: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface settings_max_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    key: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    value: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface settings_min_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    key: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    value: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface settings_min_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    key: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    value: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "settings" */
export interface settings_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>})
}


/** response of any mutation on the table "settings" */
export interface settings_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>})
}


/** aggregate stddev on columns */
export interface settings_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface settings_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface settings_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface settings_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface settings_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface settings_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface settings_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface settings_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface settings_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface settings_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface settings_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface settings_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface settings_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface settings_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "shortcuts" */
export interface shortcutsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    link: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>})&(projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "shortcuts" */
export interface shortcutsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    description: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    link: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>})&(projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "shortcuts" */
export interface shortcuts_aggregatePromiseChain{
    aggregate: (shortcuts_aggregate_fieldsPromiseChain & {get: <R extends shortcuts_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<shortcuts_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>})
}


/** aggregated selection of "shortcuts" */
export interface shortcuts_aggregateObservableChain{
    aggregate: (shortcuts_aggregate_fieldsObservableChain & {get: <R extends shortcuts_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<shortcuts_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>})
}


/** aggregate fields of "shortcuts" */
export interface shortcuts_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (shortcuts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (shortcuts_max_fieldsPromiseChain & {get: <R extends shortcuts_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_max_fields, R> | undefined)) => Promise<(FieldsSelection<shortcuts_max_fields, R> | undefined)>}),
    min: (shortcuts_min_fieldsPromiseChain & {get: <R extends shortcuts_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_min_fields, R> | undefined)) => Promise<(FieldsSelection<shortcuts_min_fields, R> | undefined)>})
}


/** aggregate fields of "shortcuts" */
export interface shortcuts_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (shortcuts_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (shortcuts_max_fieldsObservableChain & {get: <R extends shortcuts_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_max_fields, R> | undefined)) => Observable<(FieldsSelection<shortcuts_max_fields, R> | undefined)>}),
    min: (shortcuts_min_fieldsObservableChain & {get: <R extends shortcuts_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts_min_fields, R> | undefined)) => Observable<(FieldsSelection<shortcuts_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface shortcuts_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    link: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface shortcuts_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    link: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface shortcuts_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    link: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface shortcuts_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    link: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "shortcuts" */
export interface shortcuts_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>})
}


/** response of any mutation on the table "shortcuts" */
export interface shortcuts_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>})
}


/** columns and relationships of "sms" */
export interface smsPromiseChain{
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
query: (queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
sms_template: (sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    uid: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** columns and relationships of "sms" */
export interface smsObservableChain{
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
query: (queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
sms_template: (sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    uid: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregated selection of "sms" */
export interface sms_aggregatePromiseChain{
    aggregate: (sms_aggregate_fieldsPromiseChain & {get: <R extends sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})
}


/** aggregated selection of "sms" */
export interface sms_aggregateObservableChain{
    aggregate: (sms_aggregate_fieldsObservableChain & {get: <R extends sms_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<sms_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})
}


/** aggregate fields of "sms" */
export interface sms_aggregate_fieldsPromiseChain{
    avg: (sms_avg_fieldsPromiseChain & {get: <R extends sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_avg_fields, R> | undefined)) => Promise<(FieldsSelection<sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (sms_max_fieldsPromiseChain & {get: <R extends sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_max_fields, R> | undefined)) => Promise<(FieldsSelection<sms_max_fields, R> | undefined)>}),
    min: (sms_min_fieldsPromiseChain & {get: <R extends sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_min_fields, R> | undefined)) => Promise<(FieldsSelection<sms_min_fields, R> | undefined)>}),
    stddev: (sms_stddev_fieldsPromiseChain & {get: <R extends sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_stddev_pop_fieldsPromiseChain & {get: <R extends sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_stddev_samp_fieldsPromiseChain & {get: <R extends sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_sum_fieldsPromiseChain & {get: <R extends sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_sum_fields, R> | undefined)) => Promise<(FieldsSelection<sms_sum_fields, R> | undefined)>}),
    var_pop: (sms_var_pop_fieldsPromiseChain & {get: <R extends sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_var_samp_fieldsPromiseChain & {get: <R extends sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_var_samp_fields, R> | undefined)>}),
    variance: (sms_variance_fieldsPromiseChain & {get: <R extends sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_variance_fields, R> | undefined)) => Promise<(FieldsSelection<sms_variance_fields, R> | undefined)>})
}


/** aggregate fields of "sms" */
export interface sms_aggregate_fieldsObservableChain{
    avg: (sms_avg_fieldsObservableChain & {get: <R extends sms_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_avg_fields, R> | undefined)) => Observable<(FieldsSelection<sms_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (sms_max_fieldsObservableChain & {get: <R extends sms_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_max_fields, R> | undefined)) => Observable<(FieldsSelection<sms_max_fields, R> | undefined)>}),
    min: (sms_min_fieldsObservableChain & {get: <R extends sms_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_min_fields, R> | undefined)) => Observable<(FieldsSelection<sms_min_fields, R> | undefined)>}),
    stddev: (sms_stddev_fieldsObservableChain & {get: <R extends sms_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<sms_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_stddev_pop_fieldsObservableChain & {get: <R extends sms_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_stddev_samp_fieldsObservableChain & {get: <R extends sms_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_sum_fieldsObservableChain & {get: <R extends sms_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_sum_fields, R> | undefined)) => Observable<(FieldsSelection<sms_sum_fields, R> | undefined)>}),
    var_pop: (sms_var_pop_fieldsObservableChain & {get: <R extends sms_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_var_samp_fieldsObservableChain & {get: <R extends sms_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_var_samp_fields, R> | undefined)>}),
    variance: (sms_variance_fieldsObservableChain & {get: <R extends sms_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_variance_fields, R> | undefined)) => Observable<(FieldsSelection<sms_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface sms_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface sms_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_max_fieldsPromiseChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_max_fieldsObservableChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_min_fieldsPromiseChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_min_fieldsObservableChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    create_user: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    tlfmobil: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    uid: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "sms" */
export interface sms_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})
}


/** response of any mutation on the table "sms" */
export interface sms_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})
}


/** aggregate stddev on columns */
export interface sms_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface sms_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "sms_template_template" */
export interface sms_template_templatePromiseChain{
    
/** An object relationship */
sms_template: (sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>) => Promise<FieldsSelection<sms_templates, R>>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>})
}


/** columns and relationships of "sms_template_template" */
export interface sms_template_templateObservableChain{
    
/** An object relationship */
sms_template: (sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>) => Observable<FieldsSelection<sms_templates, R>>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>})
}


/** aggregated selection of "sms_template_template" */
export interface sms_template_template_aggregatePromiseChain{
    aggregate: (sms_template_template_aggregate_fieldsPromiseChain & {get: <R extends sms_template_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})
}


/** aggregated selection of "sms_template_template" */
export interface sms_template_template_aggregateObservableChain{
    aggregate: (sms_template_template_aggregate_fieldsObservableChain & {get: <R extends sms_template_template_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})
}


/** aggregate fields of "sms_template_template" */
export interface sms_template_template_aggregate_fieldsPromiseChain{
    avg: (sms_template_template_avg_fieldsPromiseChain & {get: <R extends sms_template_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_avg_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_template_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (sms_template_template_max_fieldsPromiseChain & {get: <R extends sms_template_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_max_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_max_fields, R> | undefined)>}),
    min: (sms_template_template_min_fieldsPromiseChain & {get: <R extends sms_template_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_min_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_min_fields, R> | undefined)>}),
    stddev: (sms_template_template_stddev_fieldsPromiseChain & {get: <R extends sms_template_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_template_template_stddev_pop_fieldsPromiseChain & {get: <R extends sms_template_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_template_template_stddev_samp_fieldsPromiseChain & {get: <R extends sms_template_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_template_template_sum_fieldsPromiseChain & {get: <R extends sms_template_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_sum_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_sum_fields, R> | undefined)>}),
    var_pop: (sms_template_template_var_pop_fieldsPromiseChain & {get: <R extends sms_template_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_template_template_var_samp_fieldsPromiseChain & {get: <R extends sms_template_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_var_samp_fields, R> | undefined)>}),
    variance: (sms_template_template_variance_fieldsPromiseChain & {get: <R extends sms_template_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_variance_fields, R> | undefined)) => Promise<(FieldsSelection<sms_template_template_variance_fields, R> | undefined)>})
}


/** aggregate fields of "sms_template_template" */
export interface sms_template_template_aggregate_fieldsObservableChain{
    avg: (sms_template_template_avg_fieldsObservableChain & {get: <R extends sms_template_template_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_avg_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_template_template_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (sms_template_template_max_fieldsObservableChain & {get: <R extends sms_template_template_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_max_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_max_fields, R> | undefined)>}),
    min: (sms_template_template_min_fieldsObservableChain & {get: <R extends sms_template_template_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_min_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_min_fields, R> | undefined)>}),
    stddev: (sms_template_template_stddev_fieldsObservableChain & {get: <R extends sms_template_template_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_template_template_stddev_pop_fieldsObservableChain & {get: <R extends sms_template_template_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_template_template_stddev_samp_fieldsObservableChain & {get: <R extends sms_template_template_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_template_template_sum_fieldsObservableChain & {get: <R extends sms_template_template_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_sum_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_sum_fields, R> | undefined)>}),
    var_pop: (sms_template_template_var_pop_fieldsObservableChain & {get: <R extends sms_template_template_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_template_template_var_samp_fieldsObservableChain & {get: <R extends sms_template_template_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_var_samp_fields, R> | undefined)>}),
    variance: (sms_template_template_variance_fieldsObservableChain & {get: <R extends sms_template_template_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template_variance_fields, R> | undefined)) => Observable<(FieldsSelection<sms_template_template_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface sms_template_template_avg_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface sms_template_template_avg_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_template_template_max_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_template_template_max_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_template_template_min_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_template_template_min_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "sms_template_template" */
export interface sms_template_template_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})
}


/** response of any mutation on the table "sms_template_template" */
export interface sms_template_template_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})
}


/** aggregate stddev on columns */
export interface sms_template_template_stddev_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface sms_template_template_stddev_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_template_template_stddev_pop_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_template_template_stddev_pop_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_template_template_stddev_samp_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_template_template_stddev_samp_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_template_template_sum_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_template_template_sum_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_template_template_var_pop_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_template_template_var_pop_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_template_template_var_samp_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_template_template_var_samp_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_template_template_variance_fieldsPromiseChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_template_template_variance_fieldsObservableChain{
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "sms_templates" */
export interface sms_templatesPromiseChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    category: ({get: (request?: boolean|number, defaultValue?: categories_enum) => Promise<categories_enum>}),
    
/** An object relationship */
categoryByCategory: (categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>) => Promise<FieldsSelection<categories, R>>}),
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>})&(sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>}),
    
/** An array relationship */
sms_template_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>}),
    
/** An aggregate relationship */
sms_template_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "sms_templates" */
export interface sms_templatesObservableChain{
    active: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    category: ({get: (request?: boolean|number, defaultValue?: categories_enum) => Observable<categories_enum>}),
    
/** An object relationship */
categoryByCategory: (categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>) => Observable<FieldsSelection<categories, R>>}),
    content: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>})&(sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>}),
    
/** An array relationship */
sms_template_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>}),
    
/** An aggregate relationship */
sms_template_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** aggregated selection of "sms_templates" */
export interface sms_templates_aggregatePromiseChain{
    aggregate: (sms_templates_aggregate_fieldsPromiseChain & {get: <R extends sms_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>})
}


/** aggregated selection of "sms_templates" */
export interface sms_templates_aggregateObservableChain{
    aggregate: (sms_templates_aggregate_fieldsObservableChain & {get: <R extends sms_templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>})
}


/** aggregate fields of "sms_templates" */
export interface sms_templates_aggregate_fieldsPromiseChain{
    avg: (sms_templates_avg_fieldsPromiseChain & {get: <R extends sms_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (sms_templates_max_fieldsPromiseChain & {get: <R extends sms_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_max_fields, R> | undefined)>}),
    min: (sms_templates_min_fieldsPromiseChain & {get: <R extends sms_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_min_fields, R> | undefined)>}),
    stddev: (sms_templates_stddev_fieldsPromiseChain & {get: <R extends sms_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_templates_stddev_pop_fieldsPromiseChain & {get: <R extends sms_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_templates_stddev_samp_fieldsPromiseChain & {get: <R extends sms_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_templates_sum_fieldsPromiseChain & {get: <R extends sms_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_sum_fields, R> | undefined)>}),
    var_pop: (sms_templates_var_pop_fieldsPromiseChain & {get: <R extends sms_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_templates_var_samp_fieldsPromiseChain & {get: <R extends sms_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_var_samp_fields, R> | undefined)>}),
    variance: (sms_templates_variance_fieldsPromiseChain & {get: <R extends sms_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<sms_templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "sms_templates" */
export interface sms_templates_aggregate_fieldsObservableChain{
    avg: (sms_templates_avg_fieldsObservableChain & {get: <R extends sms_templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (sms_templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (sms_templates_max_fieldsObservableChain & {get: <R extends sms_templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_max_fields, R> | undefined)>}),
    min: (sms_templates_min_fieldsObservableChain & {get: <R extends sms_templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_min_fields, R> | undefined)>}),
    stddev: (sms_templates_stddev_fieldsObservableChain & {get: <R extends sms_templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (sms_templates_stddev_pop_fieldsObservableChain & {get: <R extends sms_templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (sms_templates_stddev_samp_fieldsObservableChain & {get: <R extends sms_templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_stddev_samp_fields, R> | undefined)>}),
    sum: (sms_templates_sum_fieldsObservableChain & {get: <R extends sms_templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_sum_fields, R> | undefined)>}),
    var_pop: (sms_templates_var_pop_fieldsObservableChain & {get: <R extends sms_templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_var_pop_fields, R> | undefined)>}),
    var_samp: (sms_templates_var_samp_fieldsObservableChain & {get: <R extends sms_templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_var_samp_fields, R> | undefined)>}),
    variance: (sms_templates_variance_fieldsObservableChain & {get: <R extends sms_templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<sms_templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface sms_templates_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface sms_templates_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_templates_max_fieldsPromiseChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface sms_templates_max_fieldsObservableChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_templates_min_fieldsPromiseChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface sms_templates_min_fieldsObservableChain{
    content: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "sms_templates" */
export interface sms_templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>})
}


/** response of any mutation on the table "sms_templates" */
export interface sms_templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>})
}


/** aggregate stddev on columns */
export interface sms_templates_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface sms_templates_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_templates_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface sms_templates_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_templates_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface sms_templates_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_templates_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface sms_templates_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_templates_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_templates_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_templates_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_templates_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_templates_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_templates_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface sms_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface sms_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface sms_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    query_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    sms_template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "status" */
export interface statusPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})
}


/** columns and relationships of "status" */
export interface statusObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})
}


/** aggregated selection of "status" */
export interface status_aggregatePromiseChain{
    aggregate: (status_aggregate_fieldsPromiseChain & {get: <R extends status_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<status_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>})
}


/** aggregated selection of "status" */
export interface status_aggregateObservableChain{
    aggregate: (status_aggregate_fieldsObservableChain & {get: <R extends status_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<status_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>})
}


/** aggregate fields of "status" */
export interface status_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (status_max_fieldsPromiseChain & {get: <R extends status_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_max_fields, R> | undefined)) => Promise<(FieldsSelection<status_max_fields, R> | undefined)>}),
    min: (status_min_fieldsPromiseChain & {get: <R extends status_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_min_fields, R> | undefined)) => Promise<(FieldsSelection<status_min_fields, R> | undefined)>})
}


/** aggregate fields of "status" */
export interface status_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (status_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (status_max_fieldsObservableChain & {get: <R extends status_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_max_fields, R> | undefined)) => Observable<(FieldsSelection<status_max_fields, R> | undefined)>}),
    min: (status_min_fieldsObservableChain & {get: <R extends status_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<status_min_fields, R> | undefined)) => Observable<(FieldsSelection<status_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface status_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface status_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface status_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface status_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "status" */
export interface status_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>})
}


/** response of any mutation on the table "status" */
export interface status_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>})
}

export interface subscription_rootPromiseChain{
    
/** fetch data from the table: "DocKladd_properties" */
DocKladd_properties: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>})&({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** fetch aggregated fields from the table: "DocKladd_properties" */
DocKladd_properties_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => DocKladd_properties_aggregatePromiseChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Promise<FieldsSelection<DocKladd_properties_aggregate, R>>})&(DocKladd_properties_aggregatePromiseChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Promise<FieldsSelection<DocKladd_properties_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_properties" using primary key columns */
DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesPromiseChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Promise<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "DocKladd_properties" */
DocKladd_properties_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (DocKladd_properties_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Promise<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregatePromiseChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Promise<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_questions" using primary key columns */
DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsPromiseChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Promise<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "DocKladd_questions" */
DocKladd_questions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (DocKladd_questions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Promise<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** fetch data from the table: "accessible" */
accessible: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>})&({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>}),
    
/** fetch aggregated fields from the table: "accessible" */
accessible_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => accessible_aggregatePromiseChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Promise<FieldsSelection<accessible_aggregate, R>>})&(accessible_aggregatePromiseChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Promise<FieldsSelection<accessible_aggregate, R>>}),
    
/** fetch data from the table: "accessible" using primary key columns */
accessible_by_pk: ((args: {name: Scalars['String']}) => accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "accessible" */
accessible_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (accessible_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Promise<FieldsSelection<accessible, R>[]>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregatePromiseChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Promise<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    
/** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerPromiseChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Promise<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "adopus_AdgangLinjer" */
adopus_AdgangLinjer_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (adopus_AdgangLinjer_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Promise<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregatePromiseChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Promise<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_answers" using primary key columns */
anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersPromiseChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Promise<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_answers" */
anonymous_answers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_answers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Promise<FieldsSelection<anonymous_answers, R>[]>}),
    
/** fetch data from the table: "anonymous_invitations" */
anonymous_invitations: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_invitations" */
anonymous_invitations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregatePromiseChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Promise<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_invitations" using primary key columns */
anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsPromiseChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Promise<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_invitations" */
anonymous_invitations_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_invitations_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Promise<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregatePromiseChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Promise<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_queries" using primary key columns */
anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesPromiseChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Promise<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_queries" */
anonymous_queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Promise<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregatePromiseChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Promise<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_sms" using primary key columns */
anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsPromiseChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Promise<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_sms" */
anonymous_sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Promise<FieldsSelection<anonymous_sms, R>[]>}),
    
/** fetch data from the table: "anonymous_template_question" */
anonymous_template_question: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_template_question" */
anonymous_template_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregatePromiseChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Promise<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "anonymous_template_question" */
anonymous_template_question_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_template_question_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Promise<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch data from the table: "anonymous_templates" */
anonymous_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>})&({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_templates" */
anonymous_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => anonymous_templates_aggregatePromiseChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Promise<FieldsSelection<anonymous_templates_aggregate, R>>})&(anonymous_templates_aggregatePromiseChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Promise<FieldsSelection<anonymous_templates_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" using primary key columns */
anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesPromiseChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Promise<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_templates" */
anonymous_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Promise<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregatePromiseChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelPromiseChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_artifact_parcel_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Promise<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch data from the table: "artifact_package_cron" */
artifact_package_cron: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>})&({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_cron" */
artifact_package_cron_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => artifact_package_cron_aggregatePromiseChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Promise<FieldsSelection<artifact_package_cron_aggregate, R>>})&(artifact_package_cron_aggregatePromiseChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Promise<FieldsSelection<artifact_package_cron_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_cron" using primary key columns */
artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronPromiseChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Promise<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_cron" */
artifact_package_cron_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_cron_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Promise<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch data from the table: "artifact_package_groups" */
artifact_package_groups: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>})&({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_groups" */
artifact_package_groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => artifact_package_groups_aggregatePromiseChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Promise<FieldsSelection<artifact_package_groups_aggregate, R>>})&(artifact_package_groups_aggregatePromiseChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Promise<FieldsSelection<artifact_package_groups_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_groups" using primary key columns */
artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsPromiseChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Promise<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_groups" */
artifact_package_groups_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_groups_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Promise<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregatePromiseChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Promise<FieldsSelection<artifact_packages_aggregate, R>>}),
    
/** fetch data from the table: "artifact_packages" using primary key columns */
artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesPromiseChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Promise<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_packages" */
artifact_packages_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_packages_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Promise<FieldsSelection<artifact_packages, R>[]>}),
    
/** fetch data from the table: "artifact_parcels" */
artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>})&({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_parcels" */
artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => artifact_parcels_aggregatePromiseChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Promise<FieldsSelection<artifact_parcels_aggregate, R>>})&(artifact_parcels_aggregatePromiseChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Promise<FieldsSelection<artifact_parcels_aggregate, R>>}),
    
/** fetch data from the table: "artifact_parcels" using primary key columns */
artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Promise<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_parcels" */
artifact_parcels_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_parcels_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Promise<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch data from the table: "categories" */
categories: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>})&({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>}),
    
/** fetch aggregated fields from the table: "categories" */
categories_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => categories_aggregatePromiseChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Promise<FieldsSelection<categories_aggregate, R>>})&(categories_aggregatePromiseChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Promise<FieldsSelection<categories_aggregate, R>>}),
    
/** fetch data from the table: "categories" using primary key columns */
categories_by_pk: ((args: {name: Scalars['String']}) => categoriesPromiseChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Promise<(FieldsSelection<categories, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "categories" */
categories_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (categories_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Promise<FieldsSelection<categories, R>[]>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregatePromiseChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Promise<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    
/** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsPromiseChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Promise<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_approval_rejection_reasons" */
consent_approval_rejection_reasons_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_approval_rejection_reasons_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Promise<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** fetch data from the table: "consent_patient" */
consent_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_patient" */
consent_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregatePromiseChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Promise<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** fetch data from the table: "consent_patient" using primary key columns */
consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientPromiseChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Promise<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_patient" */
consent_patient_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Promise<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch data from the table: "consent_status" */
consent_status: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>})&({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_status" */
consent_status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => consent_status_aggregatePromiseChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Promise<FieldsSelection<consent_status_aggregate, R>>})&(consent_status_aggregatePromiseChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Promise<FieldsSelection<consent_status_aggregate, R>>}),
    
/** fetch data from the table: "consent_status" using primary key columns */
consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusPromiseChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Promise<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_status" */
consent_status_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_status_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Promise<FieldsSelection<consent_status, R>[]>}),
    
/** fetch data from the table: "consent_template_to_template" */
consent_template_to_template: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_template_to_template" */
consent_template_to_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "consent_template_to_template" */
consent_template_to_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_template_to_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "consent_templates" using primary key columns */
consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesPromiseChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Promise<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_templates" */
consent_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    
/** fetch data from the table: "consents" using primary key columns */
consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsPromiseChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Promise<(FieldsSelection<consents, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consents" */
consents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** fetch data from the table: "context_group_context" */
context_group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "context_group_context" */
context_group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregatePromiseChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Promise<FieldsSelection<context_group_context_aggregate, R>>}),
    
/** fetch data from the table: "context_group_context" using primary key columns */
context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextPromiseChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Promise<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "context_group_context" */
context_group_context_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (context_group_context_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Promise<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch data from the table: "contexts" */
contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>})&({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>}),
    
/** fetch aggregated fields from the table: "contexts" */
contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => contexts_aggregatePromiseChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Promise<FieldsSelection<contexts_aggregate, R>>})&(contexts_aggregatePromiseChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Promise<FieldsSelection<contexts_aggregate, R>>}),
    
/** fetch data from the table: "contexts" using primary key columns */
contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "contexts" */
contexts_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (contexts_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Promise<FieldsSelection<contexts, R>[]>}),
    
/** fetch data from the table: "custom_db_nodes" */
custom_db_nodes: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>})&({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch aggregated fields from the table: "custom_db_nodes" */
custom_db_nodes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => custom_db_nodes_aggregatePromiseChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Promise<FieldsSelection<custom_db_nodes_aggregate, R>>})&(custom_db_nodes_aggregatePromiseChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Promise<FieldsSelection<custom_db_nodes_aggregate, R>>}),
    
/** fetch data from the table: "custom_db_nodes" using primary key columns */
custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesPromiseChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Promise<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "custom_db_nodes" */
custom_db_nodes_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (custom_db_nodes_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Promise<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch data from the table: "directory_customers" */
directory_customers: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>})&({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_customers" */
directory_customers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => directory_customers_aggregatePromiseChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Promise<FieldsSelection<directory_customers_aggregate, R>>})&(directory_customers_aggregatePromiseChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Promise<FieldsSelection<directory_customers_aggregate, R>>}),
    
/** fetch data from the table: "directory_customers" using primary key columns */
directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_customers" */
directory_customers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (directory_customers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Promise<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch data from the table: "directory_user_name" */
directory_user_name: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>})&({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_name" */
directory_user_name_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => directory_user_name_aggregatePromiseChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Promise<FieldsSelection<directory_user_name_aggregate, R>>})&(directory_user_name_aggregatePromiseChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Promise<FieldsSelection<directory_user_name_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_name" using primary key columns */
directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_namePromiseChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Promise<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_user_name" */
directory_user_name_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (directory_user_name_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Promise<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch data from the table: "document_patient" */
document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "document_patient" */
document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregatePromiseChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Promise<FieldsSelection<document_patient_aggregate, R>>}),
    
/** fetch data from the table: "document_patient" using primary key columns */
document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientPromiseChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Promise<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "document_patient" */
document_patient_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (document_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Promise<FieldsSelection<document_patient, R>[]>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregatePromiseChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Promise<FieldsSelection<document_sms_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "document_sms" */
document_sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (document_sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Promise<FieldsSelection<document_sms, R>[]>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>})&(documents_aggregatePromiseChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Promise<FieldsSelection<documents_aggregate, R>>}),
    
/** fetch data from the table: "documents" using primary key columns */
documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsPromiseChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Promise<(FieldsSelection<documents, R> | undefined)>}),
    
/** fetch data from the table: "documents_overview" */
documents_overview: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>})&({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch aggregated fields from the table: "documents_overview" */
documents_overview_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>})&(documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "documents_overview" */
documents_overview_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (documents_overview_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch data from the table in a streaming manner: "documents" */
documents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Promise<FieldsSelection<documents, R>[]>}),
    
/** fetch data from the table: "event_artifact_package" */
event_artifact_package: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>}),
    
/** fetch aggregated fields from the table: "event_artifact_package" */
event_artifact_package_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregatePromiseChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Promise<FieldsSelection<event_artifact_package_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" using primary key columns */
event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packagePromiseChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Promise<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "event_artifact_package" */
event_artifact_package_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (event_artifact_package_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Promise<FieldsSelection<event_artifact_package, R>[]>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** fetch data from the table: "favorite_templates_order" using primary key columns */
favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderPromiseChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Promise<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "favorite_templates_order" */
favorite_templates_order_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (favorite_templates_order_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>}),
    
/** fetch data from the table: "favorites" using primary key columns */
favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesPromiseChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Promise<(FieldsSelection<favorites, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "favorites" */
favorites_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (favorites_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>}),
    
/** fetch data from the table: "filter_names" */
filter_names: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>})&({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>}),
    
/** fetch aggregated fields from the table: "filter_names" */
filter_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => filter_names_aggregatePromiseChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Promise<FieldsSelection<filter_names_aggregate, R>>})&(filter_names_aggregatePromiseChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Promise<FieldsSelection<filter_names_aggregate, R>>}),
    
/** fetch data from the table: "filter_names" using primary key columns */
filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesPromiseChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Promise<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "filter_names" */
filter_names_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (filter_names_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Promise<FieldsSelection<filter_names, R>[]>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregatePromiseChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_permissions" using primary key columns */
genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsPromiseChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_consent_permissions" */
genesis_consent_permissions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_consent_permissions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Promise<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregatePromiseChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Promise<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_templates" using primary key columns */
genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesPromiseChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_consent_templates" */
genesis_consent_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_consent_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Promise<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_denied_permissions" using primary key columns */
genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsPromiseChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Promise<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_denied_permissions" */
genesis_denied_permissions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_denied_permissions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_templates" using primary key columns */
genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesPromiseChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Promise<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_templates" */
genesis_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>}),
    
/** fetch data from the table: "group_context" */
group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>})&({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "group_context" */
group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => group_context_aggregatePromiseChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Promise<FieldsSelection<group_context_aggregate, R>>})&(group_context_aggregatePromiseChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Promise<FieldsSelection<group_context_aggregate, R>>}),
    
/** fetch data from the table: "group_context" using primary key columns */
group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextPromiseChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Promise<(FieldsSelection<group_context, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregatePromiseChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Promise<FieldsSelection<group_context_filters_aggregate, R>>}),
    
/** fetch data from the table: "group_context_filters" using primary key columns */
group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersPromiseChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Promise<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "group_context_filters" */
group_context_filters_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (group_context_filters_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Promise<FieldsSelection<group_context_filters, R>[]>}),
    
/** fetch data from the table in a streaming manner: "group_context" */
group_context_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (group_context_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Promise<FieldsSelection<group_context, R>[]>}),
    
/** fetch data from the table: "groups" */
groups: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>})&({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>}),
    
/** fetch aggregated fields from the table: "groups" */
groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => groups_aggregatePromiseChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Promise<FieldsSelection<groups_aggregate, R>>})&(groups_aggregatePromiseChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Promise<FieldsSelection<groups_aggregate, R>>}),
    
/** fetch data from the table: "groups" using primary key columns */
groups_by_pk: ((args: {name: Scalars['String']}) => groupsPromiseChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Promise<(FieldsSelection<groups, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "groups" */
groups_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (groups_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Promise<FieldsSelection<groups, R>[]>}),
    
/** fetch data from the table: "initiators" */
initiators: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>})&({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>}),
    
/** fetch aggregated fields from the table: "initiators" */
initiators_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => initiators_aggregatePromiseChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Promise<FieldsSelection<initiators_aggregate, R>>})&(initiators_aggregatePromiseChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Promise<FieldsSelection<initiators_aggregate, R>>}),
    
/** fetch data from the table: "initiators" using primary key columns */
initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsPromiseChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Promise<(FieldsSelection<initiators, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "initiators" */
initiators_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (initiators_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Promise<FieldsSelection<initiators, R>[]>}),
    
/** fetch data from the table: "migrations" */
migrations: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>})&({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>}),
    
/** fetch aggregated fields from the table: "migrations" */
migrations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => migrations_aggregatePromiseChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Promise<FieldsSelection<migrations_aggregate, R>>})&(migrations_aggregatePromiseChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Promise<FieldsSelection<migrations_aggregate, R>>}),
    
/** fetch data from the table: "migrations" using primary key columns */
migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsPromiseChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Promise<(FieldsSelection<migrations, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "migrations" */
migrations_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (migrations_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Promise<FieldsSelection<migrations, R>[]>}),
    
/** fetch data from the table: "organization_qnr_widget" */
organization_qnr_widget: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** fetch aggregated fields from the table: "organization_qnr_widget" */
organization_qnr_widget_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregatePromiseChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Promise<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    
/** fetch data from the table: "organization_qnr_widget" using primary key columns */
organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetPromiseChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Promise<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "organization_qnr_widget" */
organization_qnr_widget_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (organization_qnr_widget_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Promise<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>})&(projects_aggregatePromiseChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Promise<FieldsSelection<projects_aggregate, R>>}),
    
/** fetch data from the table: "projects" using primary key columns */
projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsPromiseChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Promise<(FieldsSelection<projects, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "projects" */
projects_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (projects_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Promise<FieldsSelection<projects, R>[]>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesPromiseChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})&({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => qnr_template_genesis_overrides_log_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>})&(qnr_template_genesis_overrides_log_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logPromiseChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Promise<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (qnr_template_genesis_overrides_log_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides" */
qnr_template_genesis_overrides_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (qnr_template_genesis_overrides_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>}),
    
/** fetch data from the table: "queries" using primary key columns */
queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesPromiseChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Promise<(FieldsSelection<queries, R> | undefined)>}),
    
/** fetch data from the table: "queries_cache" */
queries_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>})&({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_cache" */
queries_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => queries_cache_aggregatePromiseChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Promise<FieldsSelection<queries_cache_aggregate, R>>})&(queries_cache_aggregatePromiseChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Promise<FieldsSelection<queries_cache_aggregate, R>>}),
    
/** fetch data from the table: "queries_cache" using primary key columns */
queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cachePromiseChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Promise<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_cache" */
queries_cache_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_cache_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Promise<FieldsSelection<queries_cache, R>[]>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregatePromiseChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Promise<FieldsSelection<queries_error_aggregate, R>>}),
    
/** fetch data from the table: "queries_error" using primary key columns */
queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorPromiseChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Promise<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_error" */
queries_error_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_error_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Promise<FieldsSelection<queries_error, R>[]>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregatePromiseChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Promise<FieldsSelection<queries_log_aggregate, R>>}),
    
/** fetch data from the table: "queries_log" using primary key columns */
queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logPromiseChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Promise<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_log" */
queries_log_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_log_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Promise<FieldsSelection<queries_log, R>[]>}),
    
/** fetch data from the table in a streaming manner: "queries" */
queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** fetch data from the table: "queries_templates" */
queries_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>})&({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_templates" */
queries_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => queries_templates_aggregatePromiseChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Promise<FieldsSelection<queries_templates_aggregate, R>>})&(queries_templates_aggregatePromiseChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Promise<FieldsSelection<queries_templates_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "queries_templates" */
queries_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Promise<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch data from the table: "question_composite_question" */
question_composite_question: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch aggregated fields from the table: "question_composite_question" */
question_composite_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregatePromiseChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Promise<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "question_composite_question" */
question_composite_question_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (question_composite_question_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Promise<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch data from the table: "question_template" */
question_template: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>}),
    
/** fetch aggregated fields from the table: "question_template" */
question_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "question_template" */
question_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (question_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>}),
    
/** fetch data from the table: "questions" */
questions: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>})&({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>}),
    
/** fetch aggregated fields from the table: "questions" */
questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => questions_aggregatePromiseChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Promise<FieldsSelection<questions_aggregate, R>>})&(questions_aggregatePromiseChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Promise<FieldsSelection<questions_aggregate, R>>}),
    
/** fetch data from the table: "questions" using primary key columns */
questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsPromiseChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Promise<(FieldsSelection<questions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "questions" */
questions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (questions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Promise<FieldsSelection<questions, R>[]>}),
    
/** execute function "search_document_patient" which returns "documents_overview" */
search_document_patient: ((args: {
/** input parameters for function "search_document_patient" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Promise<FieldsSelection<documents_overview, R>[]>}),
    
/** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
search_document_patient_aggregate: ((args: {
/** input parameters for function "search_document_patient_aggregate" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregatePromiseChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Promise<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" */
security_levels: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>})&({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>}),
    
/** fetch aggregated fields from the table: "security_levels" */
security_levels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => security_levels_aggregatePromiseChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Promise<FieldsSelection<security_levels_aggregate, R>>})&(security_levels_aggregatePromiseChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Promise<FieldsSelection<security_levels_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" using primary key columns */
security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsPromiseChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Promise<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "security_levels" */
security_levels_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (security_levels_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Promise<FieldsSelection<security_levels, R>[]>}),
    
/** fetch data from the table: "settings" */
settings: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>})&({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>}),
    
/** fetch aggregated fields from the table: "settings" */
settings_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => settings_aggregatePromiseChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Promise<FieldsSelection<settings_aggregate, R>>})&(settings_aggregatePromiseChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Promise<FieldsSelection<settings_aggregate, R>>}),
    
/** fetch data from the table: "settings" using primary key columns */
settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsPromiseChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Promise<(FieldsSelection<settings, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "settings" */
settings_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (settings_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Promise<FieldsSelection<settings, R>[]>}),
    
/** fetch data from the table: "shortcuts" */
shortcuts: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>})&({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>}),
    
/** fetch aggregated fields from the table: "shortcuts" */
shortcuts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => shortcuts_aggregatePromiseChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Promise<FieldsSelection<shortcuts_aggregate, R>>})&(shortcuts_aggregatePromiseChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Promise<FieldsSelection<shortcuts_aggregate, R>>}),
    
/** fetch data from the table: "shortcuts" using primary key columns */
shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsPromiseChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Promise<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "shortcuts" */
shortcuts_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (shortcuts_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Promise<FieldsSelection<shortcuts, R>[]>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>})&(sms_aggregatePromiseChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Promise<FieldsSelection<sms_aggregate, R>>}),
    
/** fetch data from the table: "sms" using primary key columns */
sms_by_pk: ((args: {id: Scalars['bigint']}) => smsPromiseChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Promise<(FieldsSelection<sms, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms" */
sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Promise<FieldsSelection<sms, R>[]>}),
    
/** fetch data from the table: "sms_template_template" */
sms_template_template: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>}),
    
/** fetch aggregated fields from the table: "sms_template_template" */
sms_template_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** fetch data from the table: "sms_template_template" using primary key columns */
sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templatePromiseChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Promise<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms_template_template" */
sms_template_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_template_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregatePromiseChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Promise<FieldsSelection<sms_templates_aggregate, R>>}),
    
/** fetch data from the table: "sms_templates" using primary key columns */
sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesPromiseChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Promise<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms_templates" */
sms_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Promise<FieldsSelection<sms_templates, R>[]>}),
    
/** fetch data from the table: "status" */
status: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>})&({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>}),
    
/** fetch aggregated fields from the table: "status" */
status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => status_aggregatePromiseChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Promise<FieldsSelection<status_aggregate, R>>})&(status_aggregatePromiseChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Promise<FieldsSelection<status_aggregate, R>>}),
    
/** fetch data from the table: "status" using primary key columns */
status_by_pk: ((args: {name: Scalars['String']}) => statusPromiseChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Promise<(FieldsSelection<status, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "status" */
status_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (status_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Promise<FieldsSelection<status, R>[]>}),
    
/** fetch data from the table: "table_names" */
table_names: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>})&({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>}),
    
/** fetch aggregated fields from the table: "table_names" */
table_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => table_names_aggregatePromiseChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Promise<FieldsSelection<table_names_aggregate, R>>})&(table_names_aggregatePromiseChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Promise<FieldsSelection<table_names_aggregate, R>>}),
    
/** fetch data from the table: "table_names" using primary key columns */
table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesPromiseChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Promise<(FieldsSelection<table_names, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "table_names" */
table_names_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (table_names_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>}),
    
/** fetch data from the table: "template_artifact_parcel" */
template_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "template_artifact_parcel" */
template_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "template_artifact_parcel" using primary key columns */
template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelPromiseChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_artifact_parcel" */
template_artifact_parcel_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_artifact_parcel_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch data from the table: "template_cache" */
template_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>})&({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_cache_access" */
template_cache_access: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache_access" */
template_cache_access_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>}),
    
/** fetch data from the table: "template_cache_access" using primary key columns */
template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessPromiseChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Promise<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_cache_access" */
template_cache_access_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_cache_access_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache" */
template_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => template_cache_aggregatePromiseChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Promise<FieldsSelection<template_cache_aggregate, R>>})&(template_cache_aggregatePromiseChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Promise<FieldsSelection<template_cache_aggregate, R>>}),
    
/** fetch data from the table: "template_cache" using primary key columns */
template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_cache" */
template_cache_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_cache_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_flags" */
template_flags: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>})&({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>}),
    
/** fetch aggregated fields from the table: "template_flags" */
template_flags_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => template_flags_aggregatePromiseChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Promise<FieldsSelection<template_flags_aggregate, R>>})&(template_flags_aggregatePromiseChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Promise<FieldsSelection<template_flags_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "template_flags" */
template_flags_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_flags_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** fetch data from the table: "template_journal_roles" using primary key columns */
template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesPromiseChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_journal_roles" */
template_journal_roles_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_journal_roles_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** fetch data from the table: "template_offer_types" using primary key columns */
template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesPromiseChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Promise<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_offer_types" */
template_offer_types_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_offer_types_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>}),
    
/** fetch data from the table: "template_offers" using primary key columns */
template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersPromiseChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Promise<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_offers" */
template_offers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_offers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>})&(templates_aggregatePromiseChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Promise<FieldsSelection<templates_aggregate, R>>}),
    
/** fetch data from the table: "templates" using primary key columns */
templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "templates" */
templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>}),
    
/** fetch data from the table: "types" */
types: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>})&({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>}),
    
/** fetch aggregated fields from the table: "types" */
types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => types_aggregatePromiseChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Promise<FieldsSelection<types_aggregate, R>>})&(types_aggregatePromiseChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Promise<FieldsSelection<types_aggregate, R>>}),
    
/** fetch data from the table: "types" using primary key columns */
types_by_pk: ((args: {name: Scalars['String']}) => typesPromiseChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Promise<(FieldsSelection<types, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "types" */
types_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (types_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>}),
    
/** fetch data from the table: "unseen_documents" */
unseen_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>})&({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_documents" */
unseen_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => unseen_documents_aggregatePromiseChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Promise<FieldsSelection<unseen_documents_aggregate, R>>})&(unseen_documents_aggregatePromiseChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Promise<FieldsSelection<unseen_documents_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "unseen_documents" */
unseen_documents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (unseen_documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch data from the table: "unseen_queries" */
unseen_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>})&({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_queries" */
unseen_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => unseen_queries_aggregatePromiseChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Promise<FieldsSelection<unseen_queries_aggregate, R>>})&(unseen_queries_aggregatePromiseChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Promise<FieldsSelection<unseen_queries_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "unseen_queries" */
unseen_queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (unseen_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>})
}

export interface subscription_rootObservableChain{
    
/** fetch data from the table: "DocKladd_properties" */
DocKladd_properties: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>})&({get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** fetch aggregated fields from the table: "DocKladd_properties" */
DocKladd_properties_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_properties_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_properties_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => DocKladd_properties_aggregateObservableChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Observable<FieldsSelection<DocKladd_properties_aggregate, R>>})&(DocKladd_properties_aggregateObservableChain & {get: <R extends DocKladd_properties_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties_aggregate, R>) => Observable<FieldsSelection<DocKladd_properties_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_properties" using primary key columns */
DocKladd_properties_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['Int']}) => DocKladd_propertiesObservableChain & {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_properties, R> | undefined)) => Observable<(FieldsSelection<DocKladd_properties, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "DocKladd_properties" */
DocKladd_properties_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (DocKladd_properties_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (DocKladd_properties_bool_exp | null)}) => {get: <R extends DocKladd_propertiesRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_properties, R>[]) => Observable<FieldsSelection<DocKladd_properties, R>[]>}),
    
/** An array relationship */
DocKladd_questions: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>})&({get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** An aggregate relationship */
DocKladd_questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (DocKladd_questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (DocKladd_questions_order_by[] | null),
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>})&(DocKladd_questions_aggregateObservableChain & {get: <R extends DocKladd_questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions_aggregate, R>) => Observable<FieldsSelection<DocKladd_questions_aggregate, R>>}),
    
/** fetch data from the table: "DocKladd_questions" using primary key columns */
DocKladd_questions_by_pk: ((args: {customer_id: Scalars['uuid'],id: Scalars['String'],query_id: Scalars['uuid'],question_id: Scalars['uuid']}) => DocKladd_questionsObservableChain & {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: (FieldsSelection<DocKladd_questions, R> | undefined)) => Observable<(FieldsSelection<DocKladd_questions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "DocKladd_questions" */
DocKladd_questions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (DocKladd_questions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (DocKladd_questions_bool_exp | null)}) => {get: <R extends DocKladd_questionsRequest>(request: R, defaultValue?: FieldsSelection<DocKladd_questions, R>[]) => Observable<FieldsSelection<DocKladd_questions, R>[]>}),
    
/** fetch data from the table: "accessible" */
accessible: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>})&({get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>}),
    
/** fetch aggregated fields from the table: "accessible" */
accessible_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (accessible_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (accessible_order_by[] | null),
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => accessible_aggregateObservableChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Observable<FieldsSelection<accessible_aggregate, R>>})&(accessible_aggregateObservableChain & {get: <R extends accessible_aggregateRequest>(request: R, defaultValue?: FieldsSelection<accessible_aggregate, R>) => Observable<FieldsSelection<accessible_aggregate, R>>}),
    
/** fetch data from the table: "accessible" using primary key columns */
accessible_by_pk: ((args: {name: Scalars['String']}) => accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "accessible" */
accessible_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (accessible_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (accessible_bool_exp | null)}) => {get: <R extends accessibleRequest>(request: R, defaultValue?: FieldsSelection<accessible, R>[]) => Observable<FieldsSelection<accessible, R>[]>}),
    
/** An array relationship */
adopus_AdgangLinjer: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>})&({get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An aggregate relationship */
adopus_AdgangLinjer_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (adopus_AdgangLinjer_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (adopus_AdgangLinjer_order_by[] | null),
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>})&(adopus_AdgangLinjer_aggregateObservableChain & {get: <R extends adopus_AdgangLinjer_aggregateRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer_aggregate, R>) => Observable<FieldsSelection<adopus_AdgangLinjer_aggregate, R>>}),
    
/** fetch data from the table: "adopus_AdgangLinjer" using primary key columns */
adopus_AdgangLinjer_by_pk: ((args: {BrukerNavn: Scalars['String'],SoknadId: Scalars['String'],customer_id: Scalars['uuid']}) => adopus_AdgangLinjerObservableChain & {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: (FieldsSelection<adopus_AdgangLinjer, R> | undefined)) => Observable<(FieldsSelection<adopus_AdgangLinjer, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "adopus_AdgangLinjer" */
adopus_AdgangLinjer_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (adopus_AdgangLinjer_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (adopus_AdgangLinjer_bool_exp | null)}) => {get: <R extends adopus_AdgangLinjerRequest>(request: R, defaultValue?: FieldsSelection<adopus_AdgangLinjer, R>[]) => Observable<FieldsSelection<adopus_AdgangLinjer, R>[]>}),
    
/** An array relationship */
anonymous_answers: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>})&({get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>}),
    
/** An aggregate relationship */
anonymous_answers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_answers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_answers_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>})&(anonymous_answers_aggregateObservableChain & {get: <R extends anonymous_answers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers_aggregate, R>) => Observable<FieldsSelection<anonymous_answers_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_answers" using primary key columns */
anonymous_answers_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_answersObservableChain & {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_answers, R> | undefined)) => Observable<(FieldsSelection<anonymous_answers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_answers" */
anonymous_answers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_answers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_answers_bool_exp | null)}) => {get: <R extends anonymous_answersRequest>(request: R, defaultValue?: FieldsSelection<anonymous_answers, R>[]) => Observable<FieldsSelection<anonymous_answers, R>[]>}),
    
/** fetch data from the table: "anonymous_invitations" */
anonymous_invitations: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>})&({get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_invitations" */
anonymous_invitations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_invitations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_invitations_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>})&(anonymous_invitations_aggregateObservableChain & {get: <R extends anonymous_invitations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations_aggregate, R>) => Observable<FieldsSelection<anonymous_invitations_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_invitations" using primary key columns */
anonymous_invitations_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_invitationsObservableChain & {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_invitations, R> | undefined)) => Observable<(FieldsSelection<anonymous_invitations, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_invitations" */
anonymous_invitations_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_invitations_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_invitations_bool_exp | null)}) => {get: <R extends anonymous_invitationsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_invitations, R>[]) => Observable<FieldsSelection<anonymous_invitations, R>[]>}),
    
/** An array relationship */
anonymous_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>})&({get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An aggregate relationship */
anonymous_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_queries_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>})&(anonymous_queries_aggregateObservableChain & {get: <R extends anonymous_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries_aggregate, R>) => Observable<FieldsSelection<anonymous_queries_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_queries" using primary key columns */
anonymous_queries_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_queriesObservableChain & {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_queries, R> | undefined)) => Observable<(FieldsSelection<anonymous_queries, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_queries" */
anonymous_queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_queries_bool_exp | null)}) => {get: <R extends anonymous_queriesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_queries, R>[]) => Observable<FieldsSelection<anonymous_queries, R>[]>}),
    
/** An array relationship */
anonymous_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>})&({get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>}),
    
/** An aggregate relationship */
anonymous_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_sms_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>})&(anonymous_sms_aggregateObservableChain & {get: <R extends anonymous_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms_aggregate, R>) => Observable<FieldsSelection<anonymous_sms_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_sms" using primary key columns */
anonymous_sms_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_smsObservableChain & {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_sms, R> | undefined)) => Observable<(FieldsSelection<anonymous_sms, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_sms" */
anonymous_sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_sms_bool_exp | null)}) => {get: <R extends anonymous_smsRequest>(request: R, defaultValue?: FieldsSelection<anonymous_sms, R>[]) => Observable<FieldsSelection<anonymous_sms, R>[]>}),
    
/** fetch data from the table: "anonymous_template_question" */
anonymous_template_question: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>})&({get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_template_question" */
anonymous_template_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_template_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_template_question_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>})&(anonymous_template_question_aggregateObservableChain & {get: <R extends anonymous_template_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question_aggregate, R>) => Observable<FieldsSelection<anonymous_template_question_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "anonymous_template_question" */
anonymous_template_question_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_template_question_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_template_question_bool_exp | null)}) => {get: <R extends anonymous_template_questionRequest>(request: R, defaultValue?: FieldsSelection<anonymous_template_question, R>[]) => Observable<FieldsSelection<anonymous_template_question, R>[]>}),
    
/** fetch data from the table: "anonymous_templates" */
anonymous_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>})&({get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "anonymous_templates" */
anonymous_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (anonymous_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (anonymous_templates_order_by[] | null),
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => anonymous_templates_aggregateObservableChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Observable<FieldsSelection<anonymous_templates_aggregate, R>>})&(anonymous_templates_aggregateObservableChain & {get: <R extends anonymous_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates_aggregate, R>) => Observable<FieldsSelection<anonymous_templates_aggregate, R>>}),
    
/** fetch data from the table: "anonymous_templates" using primary key columns */
anonymous_templates_by_pk: ((args: {id: Scalars['bigint']}) => anonymous_templatesObservableChain & {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: (FieldsSelection<anonymous_templates, R> | undefined)) => Observable<(FieldsSelection<anonymous_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "anonymous_templates" */
anonymous_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (anonymous_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (anonymous_templates_bool_exp | null)}) => {get: <R extends anonymous_templatesRequest>(request: R, defaultValue?: FieldsSelection<anonymous_templates, R>[]) => Observable<FieldsSelection<anonymous_templates, R>[]>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>})&({get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>})&(artifact_package_artifact_parcel_aggregateObservableChain & {get: <R extends artifact_package_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<artifact_package_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_artifact_parcel" using primary key columns */
artifact_package_artifact_parcel_by_pk: ((args: {artifact_package_id: Scalars['uuid'],artifact_parcel_id: Scalars['uuid']}) => artifact_package_artifact_parcelObservableChain & {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<artifact_package_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_artifact_parcel" */
artifact_package_artifact_parcel_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_artifact_parcel_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_artifact_parcel_bool_exp | null)}) => {get: <R extends artifact_package_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_artifact_parcel, R>[]) => Observable<FieldsSelection<artifact_package_artifact_parcel, R>[]>}),
    
/** fetch data from the table: "artifact_package_cron" */
artifact_package_cron: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>})&({get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_cron" */
artifact_package_cron_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_cron_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_cron_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => artifact_package_cron_aggregateObservableChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Observable<FieldsSelection<artifact_package_cron_aggregate, R>>})&(artifact_package_cron_aggregateObservableChain & {get: <R extends artifact_package_cron_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron_aggregate, R>) => Observable<FieldsSelection<artifact_package_cron_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_cron" using primary key columns */
artifact_package_cron_by_pk: ((args: {artifact_packages_id: Scalars['uuid']}) => artifact_package_cronObservableChain & {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_cron, R> | undefined)) => Observable<(FieldsSelection<artifact_package_cron, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_cron" */
artifact_package_cron_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_cron_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_cron_bool_exp | null)}) => {get: <R extends artifact_package_cronRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_cron, R>[]) => Observable<FieldsSelection<artifact_package_cron, R>[]>}),
    
/** fetch data from the table: "artifact_package_groups" */
artifact_package_groups: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>})&({get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_package_groups" */
artifact_package_groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_package_groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_package_groups_order_by[] | null),
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => artifact_package_groups_aggregateObservableChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Observable<FieldsSelection<artifact_package_groups_aggregate, R>>})&(artifact_package_groups_aggregateObservableChain & {get: <R extends artifact_package_groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups_aggregate, R>) => Observable<FieldsSelection<artifact_package_groups_aggregate, R>>}),
    
/** fetch data from the table: "artifact_package_groups" using primary key columns */
artifact_package_groups_by_pk: ((args: {id: Scalars['uuid']}) => artifact_package_groupsObservableChain & {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_package_groups, R> | undefined)) => Observable<(FieldsSelection<artifact_package_groups, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_package_groups" */
artifact_package_groups_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_package_groups_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_package_groups_bool_exp | null)}) => {get: <R extends artifact_package_groupsRequest>(request: R, defaultValue?: FieldsSelection<artifact_package_groups, R>[]) => Observable<FieldsSelection<artifact_package_groups, R>[]>}),
    
/** An array relationship */
artifact_packages: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>})&({get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>}),
    
/** An aggregate relationship */
artifact_packages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_packages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_packages_order_by[] | null),
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>})&(artifact_packages_aggregateObservableChain & {get: <R extends artifact_packages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages_aggregate, R>) => Observable<FieldsSelection<artifact_packages_aggregate, R>>}),
    
/** fetch data from the table: "artifact_packages" using primary key columns */
artifact_packages_by_pk: ((args: {id: Scalars['uuid']}) => artifact_packagesObservableChain & {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: (FieldsSelection<artifact_packages, R> | undefined)) => Observable<(FieldsSelection<artifact_packages, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_packages" */
artifact_packages_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_packages_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_packages_bool_exp | null)}) => {get: <R extends artifact_packagesRequest>(request: R, defaultValue?: FieldsSelection<artifact_packages, R>[]) => Observable<FieldsSelection<artifact_packages, R>[]>}),
    
/** fetch data from the table: "artifact_parcels" */
artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>})&({get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch aggregated fields from the table: "artifact_parcels" */
artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (artifact_parcels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (artifact_parcels_order_by[] | null),
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => artifact_parcels_aggregateObservableChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Observable<FieldsSelection<artifact_parcels_aggregate, R>>})&(artifact_parcels_aggregateObservableChain & {get: <R extends artifact_parcels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels_aggregate, R>) => Observable<FieldsSelection<artifact_parcels_aggregate, R>>}),
    
/** fetch data from the table: "artifact_parcels" using primary key columns */
artifact_parcels_by_pk: ((args: {id: Scalars['uuid']}) => artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: (FieldsSelection<artifact_parcels, R> | undefined)) => Observable<(FieldsSelection<artifact_parcels, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "artifact_parcels" */
artifact_parcels_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (artifact_parcels_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (artifact_parcels_bool_exp | null)}) => {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>[]) => Observable<FieldsSelection<artifact_parcels, R>[]>}),
    
/** fetch data from the table: "categories" */
categories: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>})&({get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>}),
    
/** fetch aggregated fields from the table: "categories" */
categories_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (categories_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (categories_order_by[] | null),
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => categories_aggregateObservableChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Observable<FieldsSelection<categories_aggregate, R>>})&(categories_aggregateObservableChain & {get: <R extends categories_aggregateRequest>(request: R, defaultValue?: FieldsSelection<categories_aggregate, R>) => Observable<FieldsSelection<categories_aggregate, R>>}),
    
/** fetch data from the table: "categories" using primary key columns */
categories_by_pk: ((args: {name: Scalars['String']}) => categoriesObservableChain & {get: <R extends categoriesRequest>(request: R, defaultValue?: (FieldsSelection<categories, R> | undefined)) => Observable<(FieldsSelection<categories, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "categories" */
categories_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (categories_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (categories_bool_exp | null)}) => {get: <R extends categoriesRequest>(request: R, defaultValue?: FieldsSelection<categories, R>[]) => Observable<FieldsSelection<categories, R>[]>}),
    
/** An array relationship */
consent_approval_rejection_reasons: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>})&({get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** An aggregate relationship */
consent_approval_rejection_reasons_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_approval_rejection_reasons_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_approval_rejection_reasons_order_by[] | null),
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>})&(consent_approval_rejection_reasons_aggregateObservableChain & {get: <R extends consent_approval_rejection_reasons_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons_aggregate, R>) => Observable<FieldsSelection<consent_approval_rejection_reasons_aggregate, R>>}),
    
/** fetch data from the table: "consent_approval_rejection_reasons" using primary key columns */
consent_approval_rejection_reasons_by_pk: ((args: {id: Scalars['Int']}) => consent_approval_rejection_reasonsObservableChain & {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: (FieldsSelection<consent_approval_rejection_reasons, R> | undefined)) => Observable<(FieldsSelection<consent_approval_rejection_reasons, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_approval_rejection_reasons" */
consent_approval_rejection_reasons_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_approval_rejection_reasons_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_approval_rejection_reasons_bool_exp | null)}) => {get: <R extends consent_approval_rejection_reasonsRequest>(request: R, defaultValue?: FieldsSelection<consent_approval_rejection_reasons, R>[]) => Observable<FieldsSelection<consent_approval_rejection_reasons, R>[]>}),
    
/** fetch data from the table: "consent_patient" */
consent_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>})&({get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_patient" */
consent_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_patient_order_by[] | null),
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>})&(consent_patient_aggregateObservableChain & {get: <R extends consent_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_patient_aggregate, R>) => Observable<FieldsSelection<consent_patient_aggregate, R>>}),
    
/** fetch data from the table: "consent_patient" using primary key columns */
consent_patient_by_pk: ((args: {consent_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => consent_patientObservableChain & {get: <R extends consent_patientRequest>(request: R, defaultValue?: (FieldsSelection<consent_patient, R> | undefined)) => Observable<(FieldsSelection<consent_patient, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_patient" */
consent_patient_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_patient_bool_exp | null)}) => {get: <R extends consent_patientRequest>(request: R, defaultValue?: FieldsSelection<consent_patient, R>[]) => Observable<FieldsSelection<consent_patient, R>[]>}),
    
/** fetch data from the table: "consent_status" */
consent_status: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>})&({get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_status" */
consent_status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_status_order_by[] | null),
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => consent_status_aggregateObservableChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Observable<FieldsSelection<consent_status_aggregate, R>>})&(consent_status_aggregateObservableChain & {get: <R extends consent_status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_status_aggregate, R>) => Observable<FieldsSelection<consent_status_aggregate, R>>}),
    
/** fetch data from the table: "consent_status" using primary key columns */
consent_status_by_pk: ((args: {name: Scalars['String']}) => consent_statusObservableChain & {get: <R extends consent_statusRequest>(request: R, defaultValue?: (FieldsSelection<consent_status, R> | undefined)) => Observable<(FieldsSelection<consent_status, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_status" */
consent_status_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_status_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_status_bool_exp | null)}) => {get: <R extends consent_statusRequest>(request: R, defaultValue?: FieldsSelection<consent_status, R>[]) => Observable<FieldsSelection<consent_status, R>[]>}),
    
/** fetch data from the table: "consent_template_to_template" */
consent_template_to_template: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** fetch aggregated fields from the table: "consent_template_to_template" */
consent_template_to_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "consent_template_to_template" */
consent_template_to_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_template_to_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "consent_templates" using primary key columns */
consent_templates_by_pk: ((args: {id: Scalars['bigint']}) => consent_templatesObservableChain & {get: <R extends consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<consent_templates, R> | undefined)) => Observable<(FieldsSelection<consent_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consent_templates" */
consent_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consent_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    
/** fetch data from the table: "consents" using primary key columns */
consents_by_pk: ((args: {id: Scalars['bigint']}) => consentsObservableChain & {get: <R extends consentsRequest>(request: R, defaultValue?: (FieldsSelection<consents, R> | undefined)) => Observable<(FieldsSelection<consents, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "consents" */
consents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (consents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** fetch data from the table: "context_group_context" */
context_group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>})&({get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "context_group_context" */
context_group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (context_group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (context_group_context_order_by[] | null),
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>})&(context_group_context_aggregateObservableChain & {get: <R extends context_group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<context_group_context_aggregate, R>) => Observable<FieldsSelection<context_group_context_aggregate, R>>}),
    
/** fetch data from the table: "context_group_context" using primary key columns */
context_group_context_by_pk: ((args: {context_id: Scalars['uuid'],customer_id: Scalars['uuid'],group_context_id: Scalars['uuid']}) => context_group_contextObservableChain & {get: <R extends context_group_contextRequest>(request: R, defaultValue?: (FieldsSelection<context_group_context, R> | undefined)) => Observable<(FieldsSelection<context_group_context, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "context_group_context" */
context_group_context_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (context_group_context_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (context_group_context_bool_exp | null)}) => {get: <R extends context_group_contextRequest>(request: R, defaultValue?: FieldsSelection<context_group_context, R>[]) => Observable<FieldsSelection<context_group_context, R>[]>}),
    
/** fetch data from the table: "contexts" */
contexts: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>})&({get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>}),
    
/** fetch aggregated fields from the table: "contexts" */
contexts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (contexts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (contexts_order_by[] | null),
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => contexts_aggregateObservableChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Observable<FieldsSelection<contexts_aggregate, R>>})&(contexts_aggregateObservableChain & {get: <R extends contexts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<contexts_aggregate, R>) => Observable<FieldsSelection<contexts_aggregate, R>>}),
    
/** fetch data from the table: "contexts" using primary key columns */
contexts_by_pk: ((args: {customer_id: Scalars['String'],name: Scalars['String']}) => contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "contexts" */
contexts_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (contexts_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (contexts_bool_exp | null)}) => {get: <R extends contextsRequest>(request: R, defaultValue?: FieldsSelection<contexts, R>[]) => Observable<FieldsSelection<contexts, R>[]>}),
    
/** fetch data from the table: "custom_db_nodes" */
custom_db_nodes: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>})&({get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch aggregated fields from the table: "custom_db_nodes" */
custom_db_nodes_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (custom_db_nodes_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (custom_db_nodes_order_by[] | null),
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => custom_db_nodes_aggregateObservableChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Observable<FieldsSelection<custom_db_nodes_aggregate, R>>})&(custom_db_nodes_aggregateObservableChain & {get: <R extends custom_db_nodes_aggregateRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes_aggregate, R>) => Observable<FieldsSelection<custom_db_nodes_aggregate, R>>}),
    
/** fetch data from the table: "custom_db_nodes" using primary key columns */
custom_db_nodes_by_pk: ((args: {id: Scalars['bigint']}) => custom_db_nodesObservableChain & {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: (FieldsSelection<custom_db_nodes, R> | undefined)) => Observable<(FieldsSelection<custom_db_nodes, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "custom_db_nodes" */
custom_db_nodes_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (custom_db_nodes_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (custom_db_nodes_bool_exp | null)}) => {get: <R extends custom_db_nodesRequest>(request: R, defaultValue?: FieldsSelection<custom_db_nodes, R>[]) => Observable<FieldsSelection<custom_db_nodes, R>[]>}),
    
/** fetch data from the table: "directory_customers" */
directory_customers: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>})&({get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_customers" */
directory_customers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_customers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_customers_order_by[] | null),
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => directory_customers_aggregateObservableChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Observable<FieldsSelection<directory_customers_aggregate, R>>})&(directory_customers_aggregateObservableChain & {get: <R extends directory_customers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_customers_aggregate, R>) => Observable<FieldsSelection<directory_customers_aggregate, R>>}),
    
/** fetch data from the table: "directory_customers" using primary key columns */
directory_customers_by_pk: ((args: {id: Scalars['uuid']}) => directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_customers" */
directory_customers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (directory_customers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_customers_bool_exp | null)}) => {get: <R extends directory_customersRequest>(request: R, defaultValue?: FieldsSelection<directory_customers, R>[]) => Observable<FieldsSelection<directory_customers, R>[]>}),
    
/** fetch data from the table: "directory_user_name" */
directory_user_name: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>})&({get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_name" */
directory_user_name_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_name_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (directory_user_name_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => directory_user_name_aggregateObservableChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Observable<FieldsSelection<directory_user_name_aggregate, R>>})&(directory_user_name_aggregateObservableChain & {get: <R extends directory_user_name_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name_aggregate, R>) => Observable<FieldsSelection<directory_user_name_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_name" using primary key columns */
directory_user_name_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_nameObservableChain & {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_name, R> | undefined)) => Observable<(FieldsSelection<directory_user_name, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_user_name" */
directory_user_name_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (directory_user_name_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_user_name_bool_exp | null)}) => {get: <R extends directory_user_nameRequest>(request: R, defaultValue?: FieldsSelection<directory_user_name, R>[]) => Observable<FieldsSelection<directory_user_name, R>[]>}),
    
/** fetch data from the table: "document_patient" */
document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>})&({get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "document_patient" */
document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_patient_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_patient_order_by[] | null),
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>})&(document_patient_aggregateObservableChain & {get: <R extends document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_patient_aggregate, R>) => Observable<FieldsSelection<document_patient_aggregate, R>>}),
    
/** fetch data from the table: "document_patient" using primary key columns */
document_patient_by_pk: ((args: {document_id: Scalars['bigint'],patient_id: Scalars['uuid']}) => document_patientObservableChain & {get: <R extends document_patientRequest>(request: R, defaultValue?: (FieldsSelection<document_patient, R> | undefined)) => Observable<(FieldsSelection<document_patient, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "document_patient" */
document_patient_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (document_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (document_patient_bool_exp | null)}) => {get: <R extends document_patientRequest>(request: R, defaultValue?: FieldsSelection<document_patient, R>[]) => Observable<FieldsSelection<document_patient, R>[]>}),
    
/** An array relationship */
document_sms: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>})&({get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>}),
    
/** An aggregate relationship */
document_sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (document_sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (document_sms_order_by[] | null),
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>})&(document_sms_aggregateObservableChain & {get: <R extends document_sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<document_sms_aggregate, R>) => Observable<FieldsSelection<document_sms_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "document_sms" */
document_sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (document_sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (document_sms_bool_exp | null)}) => {get: <R extends document_smsRequest>(request: R, defaultValue?: FieldsSelection<document_sms, R>[]) => Observable<FieldsSelection<document_sms, R>[]>}),
    
/** An array relationship */
documents: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>})&({get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>}),
    
/** An aggregate relationship */
documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_order_by[] | null),
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>})&(documents_aggregateObservableChain & {get: <R extends documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_aggregate, R>) => Observable<FieldsSelection<documents_aggregate, R>>}),
    
/** fetch data from the table: "documents" using primary key columns */
documents_by_pk: ((args: {id: Scalars['bigint']}) => documentsObservableChain & {get: <R extends documentsRequest>(request: R, defaultValue?: (FieldsSelection<documents, R> | undefined)) => Observable<(FieldsSelection<documents, R> | undefined)>}),
    
/** fetch data from the table: "documents_overview" */
documents_overview: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>})&({get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch aggregated fields from the table: "documents_overview" */
documents_overview_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>})&(documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "documents_overview" */
documents_overview_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (documents_overview_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>}),
    
/** fetch data from the table in a streaming manner: "documents" */
documents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (documents_bool_exp | null)}) => {get: <R extends documentsRequest>(request: R, defaultValue?: FieldsSelection<documents, R>[]) => Observable<FieldsSelection<documents, R>[]>}),
    
/** fetch data from the table: "event_artifact_package" */
event_artifact_package: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>})&({get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>}),
    
/** fetch aggregated fields from the table: "event_artifact_package" */
event_artifact_package_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (event_artifact_package_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (event_artifact_package_order_by[] | null),
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>})&(event_artifact_package_aggregateObservableChain & {get: <R extends event_artifact_package_aggregateRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package_aggregate, R>) => Observable<FieldsSelection<event_artifact_package_aggregate, R>>}),
    
/** fetch data from the table: "event_artifact_package" using primary key columns */
event_artifact_package_by_pk: ((args: {artifact_package_id: Scalars['uuid'],event_id: Scalars['uuid']}) => event_artifact_packageObservableChain & {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: (FieldsSelection<event_artifact_package, R> | undefined)) => Observable<(FieldsSelection<event_artifact_package, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "event_artifact_package" */
event_artifact_package_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (event_artifact_package_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (event_artifact_package_bool_exp | null)}) => {get: <R extends event_artifact_packageRequest>(request: R, defaultValue?: FieldsSelection<event_artifact_package, R>[]) => Observable<FieldsSelection<event_artifact_package, R>[]>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** fetch data from the table: "favorite_templates_order" using primary key columns */
favorite_templates_order_by_pk: ((args: {customer_id: Scalars['uuid'],template_id: Scalars['bigint'],user_id: Scalars['uuid']}) => favorite_templates_orderObservableChain & {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: (FieldsSelection<favorite_templates_order, R> | undefined)) => Observable<(FieldsSelection<favorite_templates_order, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "favorite_templates_order" */
favorite_templates_order_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (favorite_templates_order_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>}),
    
/** fetch data from the table: "favorites" using primary key columns */
favorites_by_pk: ((args: {customer_id: Scalars['uuid'],entity_id: Scalars['uuid'],table_name: table_names_enum,user_id: Scalars['uuid']}) => favoritesObservableChain & {get: <R extends favoritesRequest>(request: R, defaultValue?: (FieldsSelection<favorites, R> | undefined)) => Observable<(FieldsSelection<favorites, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "favorites" */
favorites_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (favorites_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>}),
    
/** fetch data from the table: "filter_names" */
filter_names: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>})&({get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>}),
    
/** fetch aggregated fields from the table: "filter_names" */
filter_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (filter_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (filter_names_order_by[] | null),
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => filter_names_aggregateObservableChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Observable<FieldsSelection<filter_names_aggregate, R>>})&(filter_names_aggregateObservableChain & {get: <R extends filter_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<filter_names_aggregate, R>) => Observable<FieldsSelection<filter_names_aggregate, R>>}),
    
/** fetch data from the table: "filter_names" using primary key columns */
filter_names_by_pk: ((args: {name: Scalars['String']}) => filter_namesObservableChain & {get: <R extends filter_namesRequest>(request: R, defaultValue?: (FieldsSelection<filter_names, R> | undefined)) => Observable<(FieldsSelection<filter_names, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "filter_names" */
filter_names_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (filter_names_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (filter_names_bool_exp | null)}) => {get: <R extends filter_namesRequest>(request: R, defaultValue?: FieldsSelection<filter_names, R>[]) => Observable<FieldsSelection<filter_names, R>[]>}),
    
/** An array relationship */
genesis_consent_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>})&({get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>})&(genesis_consent_permissions_aggregateObservableChain & {get: <R extends genesis_consent_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_consent_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_permissions" using primary key columns */
genesis_consent_permissions_by_pk: ((args: {consent_id: Scalars['bigint'],customer_id: Scalars['uuid']}) => genesis_consent_permissionsObservableChain & {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_permissions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_consent_permissions" */
genesis_consent_permissions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_consent_permissions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_consent_permissions_bool_exp | null)}) => {get: <R extends genesis_consent_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_permissions, R>[]) => Observable<FieldsSelection<genesis_consent_permissions, R>[]>}),
    
/** An array relationship */
genesis_consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>})&({get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>})&(genesis_consent_templates_aggregateObservableChain & {get: <R extends genesis_consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates_aggregate, R>) => Observable<FieldsSelection<genesis_consent_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_consent_templates" using primary key columns */
genesis_consent_templates_by_pk: ((args: {consent_template_id: Scalars['bigint'],genesis_set: Scalars['String']}) => genesis_consent_templatesObservableChain & {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_consent_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_consent_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_consent_templates" */
genesis_consent_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_consent_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_consent_templates_bool_exp | null)}) => {get: <R extends genesis_consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_consent_templates, R>[]) => Observable<FieldsSelection<genesis_consent_templates, R>[]>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** fetch data from the table: "genesis_denied_permissions" using primary key columns */
genesis_denied_permissions_by_pk: ((args: {customer_id: Scalars['uuid'],table_id: Scalars['uuid']}) => genesis_denied_permissionsObservableChain & {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: (FieldsSelection<genesis_denied_permissions, R> | undefined)) => Observable<(FieldsSelection<genesis_denied_permissions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_denied_permissions" */
genesis_denied_permissions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_denied_permissions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>}),
    
/** fetch data from the table: "genesis_templates" using primary key columns */
genesis_templates_by_pk: ((args: {genesis_set: Scalars['String'],template_id: Scalars['bigint']}) => genesis_templatesObservableChain & {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: (FieldsSelection<genesis_templates, R> | undefined)) => Observable<(FieldsSelection<genesis_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "genesis_templates" */
genesis_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (genesis_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>}),
    
/** fetch data from the table: "group_context" */
group_context: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>})&({get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>}),
    
/** fetch aggregated fields from the table: "group_context" */
group_context_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_order_by[] | null),
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => group_context_aggregateObservableChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Observable<FieldsSelection<group_context_aggregate, R>>})&(group_context_aggregateObservableChain & {get: <R extends group_context_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_aggregate, R>) => Observable<FieldsSelection<group_context_aggregate, R>>}),
    
/** fetch data from the table: "group_context" using primary key columns */
group_context_by_pk: ((args: {id: Scalars['uuid']}) => group_contextObservableChain & {get: <R extends group_contextRequest>(request: R, defaultValue?: (FieldsSelection<group_context, R> | undefined)) => Observable<(FieldsSelection<group_context, R> | undefined)>}),
    
/** An array relationship */
group_context_filters: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>})&({get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>}),
    
/** An aggregate relationship */
group_context_filters_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (group_context_filters_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (group_context_filters_order_by[] | null),
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>})&(group_context_filters_aggregateObservableChain & {get: <R extends group_context_filters_aggregateRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters_aggregate, R>) => Observable<FieldsSelection<group_context_filters_aggregate, R>>}),
    
/** fetch data from the table: "group_context_filters" using primary key columns */
group_context_filters_by_pk: ((args: {customer_id: Scalars['uuid'],filter_name: filter_names_enum,group_context_id: Scalars['uuid']}) => group_context_filtersObservableChain & {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: (FieldsSelection<group_context_filters, R> | undefined)) => Observable<(FieldsSelection<group_context_filters, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "group_context_filters" */
group_context_filters_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (group_context_filters_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (group_context_filters_bool_exp | null)}) => {get: <R extends group_context_filtersRequest>(request: R, defaultValue?: FieldsSelection<group_context_filters, R>[]) => Observable<FieldsSelection<group_context_filters, R>[]>}),
    
/** fetch data from the table in a streaming manner: "group_context" */
group_context_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (group_context_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (group_context_bool_exp | null)}) => {get: <R extends group_contextRequest>(request: R, defaultValue?: FieldsSelection<group_context, R>[]) => Observable<FieldsSelection<group_context, R>[]>}),
    
/** fetch data from the table: "groups" */
groups: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>})&({get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>}),
    
/** fetch aggregated fields from the table: "groups" */
groups_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (groups_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (groups_order_by[] | null),
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => groups_aggregateObservableChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Observable<FieldsSelection<groups_aggregate, R>>})&(groups_aggregateObservableChain & {get: <R extends groups_aggregateRequest>(request: R, defaultValue?: FieldsSelection<groups_aggregate, R>) => Observable<FieldsSelection<groups_aggregate, R>>}),
    
/** fetch data from the table: "groups" using primary key columns */
groups_by_pk: ((args: {name: Scalars['String']}) => groupsObservableChain & {get: <R extends groupsRequest>(request: R, defaultValue?: (FieldsSelection<groups, R> | undefined)) => Observable<(FieldsSelection<groups, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "groups" */
groups_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (groups_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (groups_bool_exp | null)}) => {get: <R extends groupsRequest>(request: R, defaultValue?: FieldsSelection<groups, R>[]) => Observable<FieldsSelection<groups, R>[]>}),
    
/** fetch data from the table: "initiators" */
initiators: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>})&({get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>}),
    
/** fetch aggregated fields from the table: "initiators" */
initiators_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (initiators_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (initiators_order_by[] | null),
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => initiators_aggregateObservableChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Observable<FieldsSelection<initiators_aggregate, R>>})&(initiators_aggregateObservableChain & {get: <R extends initiators_aggregateRequest>(request: R, defaultValue?: FieldsSelection<initiators_aggregate, R>) => Observable<FieldsSelection<initiators_aggregate, R>>}),
    
/** fetch data from the table: "initiators" using primary key columns */
initiators_by_pk: ((args: {name: Scalars['String']}) => initiatorsObservableChain & {get: <R extends initiatorsRequest>(request: R, defaultValue?: (FieldsSelection<initiators, R> | undefined)) => Observable<(FieldsSelection<initiators, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "initiators" */
initiators_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (initiators_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (initiators_bool_exp | null)}) => {get: <R extends initiatorsRequest>(request: R, defaultValue?: FieldsSelection<initiators, R>[]) => Observable<FieldsSelection<initiators, R>[]>}),
    
/** fetch data from the table: "migrations" */
migrations: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>})&({get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>}),
    
/** fetch aggregated fields from the table: "migrations" */
migrations_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (migrations_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (migrations_order_by[] | null),
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => migrations_aggregateObservableChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Observable<FieldsSelection<migrations_aggregate, R>>})&(migrations_aggregateObservableChain & {get: <R extends migrations_aggregateRequest>(request: R, defaultValue?: FieldsSelection<migrations_aggregate, R>) => Observable<FieldsSelection<migrations_aggregate, R>>}),
    
/** fetch data from the table: "migrations" using primary key columns */
migrations_by_pk: ((args: {id: Scalars['bigint']}) => migrationsObservableChain & {get: <R extends migrationsRequest>(request: R, defaultValue?: (FieldsSelection<migrations, R> | undefined)) => Observable<(FieldsSelection<migrations, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "migrations" */
migrations_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (migrations_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (migrations_bool_exp | null)}) => {get: <R extends migrationsRequest>(request: R, defaultValue?: FieldsSelection<migrations, R>[]) => Observable<FieldsSelection<migrations, R>[]>}),
    
/** fetch data from the table: "organization_qnr_widget" */
organization_qnr_widget: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>})&({get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** fetch aggregated fields from the table: "organization_qnr_widget" */
organization_qnr_widget_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (organization_qnr_widget_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (organization_qnr_widget_order_by[] | null),
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>})&(organization_qnr_widget_aggregateObservableChain & {get: <R extends organization_qnr_widget_aggregateRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget_aggregate, R>) => Observable<FieldsSelection<organization_qnr_widget_aggregate, R>>}),
    
/** fetch data from the table: "organization_qnr_widget" using primary key columns */
organization_qnr_widget_by_pk: ((args: {id: Scalars['uuid']}) => organization_qnr_widgetObservableChain & {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: (FieldsSelection<organization_qnr_widget, R> | undefined)) => Observable<(FieldsSelection<organization_qnr_widget, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "organization_qnr_widget" */
organization_qnr_widget_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (organization_qnr_widget_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (organization_qnr_widget_bool_exp | null)}) => {get: <R extends organization_qnr_widgetRequest>(request: R, defaultValue?: FieldsSelection<organization_qnr_widget, R>[]) => Observable<FieldsSelection<organization_qnr_widget, R>[]>}),
    
/** An array relationship */
projects: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>})&({get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>}),
    
/** An aggregate relationship */
projects_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (projects_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (projects_order_by[] | null),
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>})&(projects_aggregateObservableChain & {get: <R extends projects_aggregateRequest>(request: R, defaultValue?: FieldsSelection<projects_aggregate, R>) => Observable<FieldsSelection<projects_aggregate, R>>}),
    
/** fetch data from the table: "projects" using primary key columns */
projects_by_pk: ((args: {customer_id: Scalars['uuid'],journal_project_id: Scalars['String'],shortcut_id: Scalars['String']}) => projectsObservableChain & {get: <R extends projectsRequest>(request: R, defaultValue?: (FieldsSelection<projects, R> | undefined)) => Observable<(FieldsSelection<projects, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "projects" */
projects_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (projects_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (projects_bool_exp | null)}) => {get: <R extends projectsRequest>(request: R, defaultValue?: FieldsSelection<projects, R>[]) => Observable<FieldsSelection<projects, R>[]>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides" using primary key columns */
qnr_template_genesis_overrides_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => qnr_template_genesis_overridesObservableChain & {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides, R> | undefined)>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>})&({get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch aggregated fields from the table: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_log_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => qnr_template_genesis_overrides_log_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>})&(qnr_template_genesis_overrides_log_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_log_aggregate, R>>}),
    
/** fetch data from the table: "qnr_template_genesis_overrides_log" using primary key columns */
qnr_template_genesis_overrides_log_by_pk: ((args: {id: Scalars['Int']}) => qnr_template_genesis_overrides_logObservableChain & {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: (FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)) => Observable<(FieldsSelection<qnr_template_genesis_overrides_log, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides_log" */
qnr_template_genesis_overrides_log_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (qnr_template_genesis_overrides_log_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_log_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overrides_logRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_log, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides_log, R>[]>}),
    
/** fetch data from the table in a streaming manner: "qnr_template_genesis_overrides" */
qnr_template_genesis_overrides_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (qnr_template_genesis_overrides_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>}),
    
/** fetch data from the table: "queries" using primary key columns */
queries_by_pk: ((args: {id: Scalars['bigint']}) => queriesObservableChain & {get: <R extends queriesRequest>(request: R, defaultValue?: (FieldsSelection<queries, R> | undefined)) => Observable<(FieldsSelection<queries, R> | undefined)>}),
    
/** fetch data from the table: "queries_cache" */
queries_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>})&({get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_cache" */
queries_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_cache_order_by[] | null),
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => queries_cache_aggregateObservableChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Observable<FieldsSelection<queries_cache_aggregate, R>>})&(queries_cache_aggregateObservableChain & {get: <R extends queries_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_cache_aggregate, R>) => Observable<FieldsSelection<queries_cache_aggregate, R>>}),
    
/** fetch data from the table: "queries_cache" using primary key columns */
queries_cache_by_pk: ((args: {query_id: Scalars['uuid']}) => queries_cacheObservableChain & {get: <R extends queries_cacheRequest>(request: R, defaultValue?: (FieldsSelection<queries_cache, R> | undefined)) => Observable<(FieldsSelection<queries_cache, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_cache" */
queries_cache_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_cache_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_cache_bool_exp | null)}) => {get: <R extends queries_cacheRequest>(request: R, defaultValue?: FieldsSelection<queries_cache, R>[]) => Observable<FieldsSelection<queries_cache, R>[]>}),
    
/** An array relationship */
queries_error: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>})&({get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>}),
    
/** An aggregate relationship */
queries_error_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_error_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_error_order_by[] | null),
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>})&(queries_error_aggregateObservableChain & {get: <R extends queries_error_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_error_aggregate, R>) => Observable<FieldsSelection<queries_error_aggregate, R>>}),
    
/** fetch data from the table: "queries_error" using primary key columns */
queries_error_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_errorObservableChain & {get: <R extends queries_errorRequest>(request: R, defaultValue?: (FieldsSelection<queries_error, R> | undefined)) => Observable<(FieldsSelection<queries_error, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_error" */
queries_error_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_error_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_error_bool_exp | null)}) => {get: <R extends queries_errorRequest>(request: R, defaultValue?: FieldsSelection<queries_error, R>[]) => Observable<FieldsSelection<queries_error, R>[]>}),
    
/** An array relationship */
queries_log: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>})&({get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>}),
    
/** An aggregate relationship */
queries_log_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_log_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_log_order_by[] | null),
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>})&(queries_log_aggregateObservableChain & {get: <R extends queries_log_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_log_aggregate, R>) => Observable<FieldsSelection<queries_log_aggregate, R>>}),
    
/** fetch data from the table: "queries_log" using primary key columns */
queries_log_by_pk: ((args: {ai_id: Scalars['Int']}) => queries_logObservableChain & {get: <R extends queries_logRequest>(request: R, defaultValue?: (FieldsSelection<queries_log, R> | undefined)) => Observable<(FieldsSelection<queries_log, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "queries_log" */
queries_log_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_log_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_log_bool_exp | null)}) => {get: <R extends queries_logRequest>(request: R, defaultValue?: FieldsSelection<queries_log, R>[]) => Observable<FieldsSelection<queries_log, R>[]>}),
    
/** fetch data from the table in a streaming manner: "queries" */
queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** fetch data from the table: "queries_templates" */
queries_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>})&({get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch aggregated fields from the table: "queries_templates" */
queries_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_templates_order_by[] | null),
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => queries_templates_aggregateObservableChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Observable<FieldsSelection<queries_templates_aggregate, R>>})&(queries_templates_aggregateObservableChain & {get: <R extends queries_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_templates_aggregate, R>) => Observable<FieldsSelection<queries_templates_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "queries_templates" */
queries_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (queries_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (queries_templates_bool_exp | null)}) => {get: <R extends queries_templatesRequest>(request: R, defaultValue?: FieldsSelection<queries_templates, R>[]) => Observable<FieldsSelection<queries_templates, R>[]>}),
    
/** fetch data from the table: "question_composite_question" */
question_composite_question: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>})&({get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch aggregated fields from the table: "question_composite_question" */
question_composite_question_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_composite_question_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_composite_question_order_by[] | null),
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>})&(question_composite_question_aggregateObservableChain & {get: <R extends question_composite_question_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question_aggregate, R>) => Observable<FieldsSelection<question_composite_question_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "question_composite_question" */
question_composite_question_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (question_composite_question_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (question_composite_question_bool_exp | null)}) => {get: <R extends question_composite_questionRequest>(request: R, defaultValue?: FieldsSelection<question_composite_question, R>[]) => Observable<FieldsSelection<question_composite_question, R>[]>}),
    
/** fetch data from the table: "question_template" */
question_template: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>}),
    
/** fetch aggregated fields from the table: "question_template" */
question_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "question_template" */
question_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (question_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>}),
    
/** fetch data from the table: "questions" */
questions: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>})&({get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>}),
    
/** fetch aggregated fields from the table: "questions" */
questions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (questions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (questions_order_by[] | null),
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => questions_aggregateObservableChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Observable<FieldsSelection<questions_aggregate, R>>})&(questions_aggregateObservableChain & {get: <R extends questions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<questions_aggregate, R>) => Observable<FieldsSelection<questions_aggregate, R>>}),
    
/** fetch data from the table: "questions" using primary key columns */
questions_by_pk: ((args: {id: Scalars['bigint']}) => questionsObservableChain & {get: <R extends questionsRequest>(request: R, defaultValue?: (FieldsSelection<questions, R> | undefined)) => Observable<(FieldsSelection<questions, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "questions" */
questions_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (questions_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (questions_bool_exp | null)}) => {get: <R extends questionsRequest>(request: R, defaultValue?: FieldsSelection<questions, R>[]) => Observable<FieldsSelection<questions, R>[]>}),
    
/** execute function "search_document_patient" which returns "documents_overview" */
search_document_patient: ((args: {
/** input parameters for function "search_document_patient" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => {get: <R extends documents_overviewRequest>(request: R, defaultValue?: FieldsSelection<documents_overview, R>[]) => Observable<FieldsSelection<documents_overview, R>[]>}),
    
/** execute function "search_document_patient" and query aggregates on result of table type "documents_overview" */
search_document_patient_aggregate: ((args: {
/** input parameters for function "search_document_patient_aggregate" */
args: search_document_patient_args,
/** distinct select on columns */
distinct_on?: (documents_overview_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (documents_overview_order_by[] | null),
/** filter the rows returned */
where?: (documents_overview_bool_exp | null)}) => documents_overview_aggregateObservableChain & {get: <R extends documents_overview_aggregateRequest>(request: R, defaultValue?: FieldsSelection<documents_overview_aggregate, R>) => Observable<FieldsSelection<documents_overview_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" */
security_levels: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>})&({get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>}),
    
/** fetch aggregated fields from the table: "security_levels" */
security_levels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (security_levels_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (security_levels_order_by[] | null),
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => security_levels_aggregateObservableChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Observable<FieldsSelection<security_levels_aggregate, R>>})&(security_levels_aggregateObservableChain & {get: <R extends security_levels_aggregateRequest>(request: R, defaultValue?: FieldsSelection<security_levels_aggregate, R>) => Observable<FieldsSelection<security_levels_aggregate, R>>}),
    
/** fetch data from the table: "security_levels" using primary key columns */
security_levels_by_pk: ((args: {name: Scalars['String']}) => security_levelsObservableChain & {get: <R extends security_levelsRequest>(request: R, defaultValue?: (FieldsSelection<security_levels, R> | undefined)) => Observable<(FieldsSelection<security_levels, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "security_levels" */
security_levels_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (security_levels_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (security_levels_bool_exp | null)}) => {get: <R extends security_levelsRequest>(request: R, defaultValue?: FieldsSelection<security_levels, R>[]) => Observable<FieldsSelection<security_levels, R>[]>}),
    
/** fetch data from the table: "settings" */
settings: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>})&({get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>}),
    
/** fetch aggregated fields from the table: "settings" */
settings_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (settings_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (settings_order_by[] | null),
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => settings_aggregateObservableChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Observable<FieldsSelection<settings_aggregate, R>>})&(settings_aggregateObservableChain & {get: <R extends settings_aggregateRequest>(request: R, defaultValue?: FieldsSelection<settings_aggregate, R>) => Observable<FieldsSelection<settings_aggregate, R>>}),
    
/** fetch data from the table: "settings" using primary key columns */
settings_by_pk: ((args: {id: Scalars['bigint']}) => settingsObservableChain & {get: <R extends settingsRequest>(request: R, defaultValue?: (FieldsSelection<settings, R> | undefined)) => Observable<(FieldsSelection<settings, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "settings" */
settings_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (settings_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (settings_bool_exp | null)}) => {get: <R extends settingsRequest>(request: R, defaultValue?: FieldsSelection<settings, R>[]) => Observable<FieldsSelection<settings, R>[]>}),
    
/** fetch data from the table: "shortcuts" */
shortcuts: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>})&({get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>}),
    
/** fetch aggregated fields from the table: "shortcuts" */
shortcuts_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (shortcuts_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (shortcuts_order_by[] | null),
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => shortcuts_aggregateObservableChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Observable<FieldsSelection<shortcuts_aggregate, R>>})&(shortcuts_aggregateObservableChain & {get: <R extends shortcuts_aggregateRequest>(request: R, defaultValue?: FieldsSelection<shortcuts_aggregate, R>) => Observable<FieldsSelection<shortcuts_aggregate, R>>}),
    
/** fetch data from the table: "shortcuts" using primary key columns */
shortcuts_by_pk: ((args: {id: Scalars['String']}) => shortcutsObservableChain & {get: <R extends shortcutsRequest>(request: R, defaultValue?: (FieldsSelection<shortcuts, R> | undefined)) => Observable<(FieldsSelection<shortcuts, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "shortcuts" */
shortcuts_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (shortcuts_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (shortcuts_bool_exp | null)}) => {get: <R extends shortcutsRequest>(request: R, defaultValue?: FieldsSelection<shortcuts, R>[]) => Observable<FieldsSelection<shortcuts, R>[]>}),
    
/** An array relationship */
sms: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>})&({get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>}),
    
/** An aggregate relationship */
sms_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_order_by[] | null),
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>})&(sms_aggregateObservableChain & {get: <R extends sms_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_aggregate, R>) => Observable<FieldsSelection<sms_aggregate, R>>}),
    
/** fetch data from the table: "sms" using primary key columns */
sms_by_pk: ((args: {id: Scalars['bigint']}) => smsObservableChain & {get: <R extends smsRequest>(request: R, defaultValue?: (FieldsSelection<sms, R> | undefined)) => Observable<(FieldsSelection<sms, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms" */
sms_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_bool_exp | null)}) => {get: <R extends smsRequest>(request: R, defaultValue?: FieldsSelection<sms, R>[]) => Observable<FieldsSelection<sms, R>[]>}),
    
/** fetch data from the table: "sms_template_template" */
sms_template_template: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>}),
    
/** fetch aggregated fields from the table: "sms_template_template" */
sms_template_template_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** fetch data from the table: "sms_template_template" using primary key columns */
sms_template_template_by_pk: ((args: {sms_template_id: Scalars['bigint'],template_id: Scalars['bigint']}) => sms_template_templateObservableChain & {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: (FieldsSelection<sms_template_template, R> | undefined)) => Observable<(FieldsSelection<sms_template_template, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms_template_template" */
sms_template_template_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_template_template_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>}),
    
/** An array relationship */
sms_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>})&({get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>}),
    
/** An aggregate relationship */
sms_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_templates_order_by[] | null),
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>})&(sms_templates_aggregateObservableChain & {get: <R extends sms_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_templates_aggregate, R>) => Observable<FieldsSelection<sms_templates_aggregate, R>>}),
    
/** fetch data from the table: "sms_templates" using primary key columns */
sms_templates_by_pk: ((args: {id: Scalars['bigint']}) => sms_templatesObservableChain & {get: <R extends sms_templatesRequest>(request: R, defaultValue?: (FieldsSelection<sms_templates, R> | undefined)) => Observable<(FieldsSelection<sms_templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "sms_templates" */
sms_templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (sms_templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (sms_templates_bool_exp | null)}) => {get: <R extends sms_templatesRequest>(request: R, defaultValue?: FieldsSelection<sms_templates, R>[]) => Observable<FieldsSelection<sms_templates, R>[]>}),
    
/** fetch data from the table: "status" */
status: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>})&({get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>}),
    
/** fetch aggregated fields from the table: "status" */
status_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (status_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (status_order_by[] | null),
/** filter the rows returned */
where?: (status_bool_exp | null)}) => status_aggregateObservableChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Observable<FieldsSelection<status_aggregate, R>>})&(status_aggregateObservableChain & {get: <R extends status_aggregateRequest>(request: R, defaultValue?: FieldsSelection<status_aggregate, R>) => Observable<FieldsSelection<status_aggregate, R>>}),
    
/** fetch data from the table: "status" using primary key columns */
status_by_pk: ((args: {name: Scalars['String']}) => statusObservableChain & {get: <R extends statusRequest>(request: R, defaultValue?: (FieldsSelection<status, R> | undefined)) => Observable<(FieldsSelection<status, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "status" */
status_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (status_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (status_bool_exp | null)}) => {get: <R extends statusRequest>(request: R, defaultValue?: FieldsSelection<status, R>[]) => Observable<FieldsSelection<status, R>[]>}),
    
/** fetch data from the table: "table_names" */
table_names: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>})&({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>}),
    
/** fetch aggregated fields from the table: "table_names" */
table_names_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_names_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (table_names_order_by[] | null),
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => table_names_aggregateObservableChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Observable<FieldsSelection<table_names_aggregate, R>>})&(table_names_aggregateObservableChain & {get: <R extends table_names_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_names_aggregate, R>) => Observable<FieldsSelection<table_names_aggregate, R>>}),
    
/** fetch data from the table: "table_names" using primary key columns */
table_names_by_pk: ((args: {name: Scalars['String']}) => table_namesObservableChain & {get: <R extends table_namesRequest>(request: R, defaultValue?: (FieldsSelection<table_names, R> | undefined)) => Observable<(FieldsSelection<table_names, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "table_names" */
table_names_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (table_names_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (table_names_bool_exp | null)}) => {get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>}),
    
/** fetch data from the table: "template_artifact_parcel" */
template_artifact_parcel: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch aggregated fields from the table: "template_artifact_parcel" */
template_artifact_parcel_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** fetch data from the table: "template_artifact_parcel" using primary key columns */
template_artifact_parcel_by_pk: ((args: {artifact_parcel_id: Scalars['uuid'],template_id: Scalars['bigint']}) => template_artifact_parcelObservableChain & {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_artifact_parcel" */
template_artifact_parcel_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_artifact_parcel_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** fetch data from the table: "template_cache" */
template_cache: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>})&({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_cache_access" */
template_cache_access: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache_access" */
template_cache_access_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>}),
    
/** fetch data from the table: "template_cache_access" using primary key columns */
template_cache_access_by_pk: ((args: {customer_id: Scalars['uuid'],template_uuid: Scalars['uuid']}) => template_cache_accessObservableChain & {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access, R> | undefined)) => Observable<(FieldsSelection<template_cache_access, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_cache_access" */
template_cache_access_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_cache_access_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>}),
    
/** fetch aggregated fields from the table: "template_cache" */
template_cache_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => template_cache_aggregateObservableChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Observable<FieldsSelection<template_cache_aggregate, R>>})&(template_cache_aggregateObservableChain & {get: <R extends template_cache_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_aggregate, R>) => Observable<FieldsSelection<template_cache_aggregate, R>>}),
    
/** fetch data from the table: "template_cache" using primary key columns */
template_cache_by_pk: ((args: {template_uuid: Scalars['uuid']}) => template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_cache" */
template_cache_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_cache_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_cache_bool_exp | null)}) => {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>}),
    
/** fetch data from the table: "template_flags" */
template_flags: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>})&({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>}),
    
/** fetch aggregated fields from the table: "template_flags" */
template_flags_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_flags_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_flags_order_by[] | null),
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => template_flags_aggregateObservableChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Observable<FieldsSelection<template_flags_aggregate, R>>})&(template_flags_aggregateObservableChain & {get: <R extends template_flags_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_flags_aggregate, R>) => Observable<FieldsSelection<template_flags_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "template_flags" */
template_flags_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_flags_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_flags_bool_exp | null)}) => {get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** fetch data from the table: "template_journal_roles" using primary key columns */
template_journal_roles_by_pk: ((args: {role: Scalars['String'],template_uuid: Scalars['uuid']}) => template_journal_rolesObservableChain & {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_journal_roles" */
template_journal_roles_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_journal_roles_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** fetch data from the table: "template_offer_types" using primary key columns */
template_offer_types_by_pk: ((args: {offer_type: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offer_typesObservableChain & {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types, R> | undefined)) => Observable<(FieldsSelection<template_offer_types, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_offer_types" */
template_offer_types_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_offer_types_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>}),
    
/** fetch data from the table: "template_offers" using primary key columns */
template_offers_by_pk: ((args: {offer: Scalars['String'],template_uuid: Scalars['uuid']}) => template_offersObservableChain & {get: <R extends template_offersRequest>(request: R, defaultValue?: (FieldsSelection<template_offers, R> | undefined)) => Observable<(FieldsSelection<template_offers, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "template_offers" */
template_offers_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (template_offers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>}),
    
/** An array relationship */
templates: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})&({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>}),
    
/** An aggregate relationship */
templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (templates_order_by[] | null),
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>})&(templates_aggregateObservableChain & {get: <R extends templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<templates_aggregate, R>) => Observable<FieldsSelection<templates_aggregate, R>>}),
    
/** fetch data from the table: "templates" using primary key columns */
templates_by_pk: ((args: {id: Scalars['bigint']}) => templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "templates" */
templates_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (templates_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (templates_bool_exp | null)}) => {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>}),
    
/** fetch data from the table: "types" */
types: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>})&({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>}),
    
/** fetch aggregated fields from the table: "types" */
types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (types_order_by[] | null),
/** filter the rows returned */
where?: (types_bool_exp | null)}) => types_aggregateObservableChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Observable<FieldsSelection<types_aggregate, R>>})&(types_aggregateObservableChain & {get: <R extends types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<types_aggregate, R>) => Observable<FieldsSelection<types_aggregate, R>>}),
    
/** fetch data from the table: "types" using primary key columns */
types_by_pk: ((args: {name: Scalars['String']}) => typesObservableChain & {get: <R extends typesRequest>(request: R, defaultValue?: (FieldsSelection<types, R> | undefined)) => Observable<(FieldsSelection<types, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "types" */
types_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (types_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (types_bool_exp | null)}) => {get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>}),
    
/** fetch data from the table: "unseen_documents" */
unseen_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>})&({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_documents" */
unseen_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_documents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_documents_order_by[] | null),
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => unseen_documents_aggregateObservableChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Observable<FieldsSelection<unseen_documents_aggregate, R>>})&(unseen_documents_aggregateObservableChain & {get: <R extends unseen_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents_aggregate, R>) => Observable<FieldsSelection<unseen_documents_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "unseen_documents" */
unseen_documents_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (unseen_documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (unseen_documents_bool_exp | null)}) => {get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>}),
    
/** fetch data from the table: "unseen_queries" */
unseen_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>})&({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>}),
    
/** fetch aggregated fields from the table: "unseen_queries" */
unseen_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (unseen_queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (unseen_queries_order_by[] | null),
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => unseen_queries_aggregateObservableChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Observable<FieldsSelection<unseen_queries_aggregate, R>>})&(unseen_queries_aggregateObservableChain & {get: <R extends unseen_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries_aggregate, R>) => Observable<FieldsSelection<unseen_queries_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "unseen_queries" */
unseen_queries_stream: ((args: {
/** maximum number of rows returned in a single batch */
batch_size: Scalars['Int'],
/** cursor to stream the results returned by the query */
cursor: (unseen_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (unseen_queries_bool_exp | null)}) => {get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>})
}


/** columns and relationships of "table_names" */
export interface table_namesPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Promise<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregatePromiseChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Promise<FieldsSelection<favorites_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "table_names" */
export interface table_namesObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
favorites: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => {get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>})&({get: <R extends favoritesRequest>(request: R, defaultValue?: FieldsSelection<favorites, R>[]) => Observable<FieldsSelection<favorites, R>[]>}),
    
/** An aggregate relationship */
favorites_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorites_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorites_order_by[] | null),
/** filter the rows returned */
where?: (favorites_bool_exp | null)}) => favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>})&(favorites_aggregateObservableChain & {get: <R extends favorites_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorites_aggregate, R>) => Observable<FieldsSelection<favorites_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "table_names" */
export interface table_names_aggregatePromiseChain{
    aggregate: (table_names_aggregate_fieldsPromiseChain & {get: <R extends table_names_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<table_names_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>})
}


/** aggregated selection of "table_names" */
export interface table_names_aggregateObservableChain{
    aggregate: (table_names_aggregate_fieldsObservableChain & {get: <R extends table_names_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<table_names_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>})
}


/** aggregate fields of "table_names" */
export interface table_names_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (table_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (table_names_max_fieldsPromiseChain & {get: <R extends table_names_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_max_fields, R> | undefined)) => Promise<(FieldsSelection<table_names_max_fields, R> | undefined)>}),
    min: (table_names_min_fieldsPromiseChain & {get: <R extends table_names_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_min_fields, R> | undefined)) => Promise<(FieldsSelection<table_names_min_fields, R> | undefined)>})
}


/** aggregate fields of "table_names" */
export interface table_names_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (table_names_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (table_names_max_fieldsObservableChain & {get: <R extends table_names_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_max_fields, R> | undefined)) => Observable<(FieldsSelection<table_names_max_fields, R> | undefined)>}),
    min: (table_names_min_fieldsObservableChain & {get: <R extends table_names_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_names_min_fields, R> | undefined)) => Observable<(FieldsSelection<table_names_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface table_names_max_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface table_names_max_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface table_names_min_fieldsPromiseChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface table_names_min_fieldsObservableChain{
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "table_names" */
export interface table_names_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Promise<FieldsSelection<table_names, R>[]>})
}


/** response of any mutation on the table "table_names" */
export interface table_names_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends table_namesRequest>(request: R, defaultValue?: FieldsSelection<table_names, R>[]) => Observable<FieldsSelection<table_names, R>[]>})
}


/** columns and relationships of "template_artifact_parcel" */
export interface template_artifact_parcelPromiseChain{
    
/** An object relationship */
artifact_parcel: (artifact_parcelsPromiseChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>) => Promise<FieldsSelection<artifact_parcels, R>>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>})
}


/** columns and relationships of "template_artifact_parcel" */
export interface template_artifact_parcelObservableChain{
    
/** An object relationship */
artifact_parcel: (artifact_parcelsObservableChain & {get: <R extends artifact_parcelsRequest>(request: R, defaultValue?: FieldsSelection<artifact_parcels, R>) => Observable<FieldsSelection<artifact_parcels, R>>}),
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>})
}


/** aggregated selection of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregatePromiseChain{
    aggregate: (template_artifact_parcel_aggregate_fieldsPromiseChain & {get: <R extends template_artifact_parcel_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})
}


/** aggregated selection of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregateObservableChain{
    aggregate: (template_artifact_parcel_aggregate_fieldsObservableChain & {get: <R extends template_artifact_parcel_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})
}


/** aggregate fields of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate_fieldsPromiseChain{
    avg: (template_artifact_parcel_avg_fieldsPromiseChain & {get: <R extends template_artifact_parcel_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_avg_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (template_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_artifact_parcel_max_fieldsPromiseChain & {get: <R extends template_artifact_parcel_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_max_fields, R> | undefined)>}),
    min: (template_artifact_parcel_min_fieldsPromiseChain & {get: <R extends template_artifact_parcel_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_min_fields, R> | undefined)>}),
    stddev: (template_artifact_parcel_stddev_fieldsPromiseChain & {get: <R extends template_artifact_parcel_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_stddev_fields, R> | undefined)>}),
    stddev_pop: (template_artifact_parcel_stddev_pop_fieldsPromiseChain & {get: <R extends template_artifact_parcel_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (template_artifact_parcel_stddev_samp_fieldsPromiseChain & {get: <R extends template_artifact_parcel_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_stddev_samp_fields, R> | undefined)>}),
    sum: (template_artifact_parcel_sum_fieldsPromiseChain & {get: <R extends template_artifact_parcel_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_sum_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_sum_fields, R> | undefined)>}),
    var_pop: (template_artifact_parcel_var_pop_fieldsPromiseChain & {get: <R extends template_artifact_parcel_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_var_pop_fields, R> | undefined)>}),
    var_samp: (template_artifact_parcel_var_samp_fieldsPromiseChain & {get: <R extends template_artifact_parcel_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_var_samp_fields, R> | undefined)>}),
    variance: (template_artifact_parcel_variance_fieldsPromiseChain & {get: <R extends template_artifact_parcel_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_variance_fields, R> | undefined)) => Promise<(FieldsSelection<template_artifact_parcel_variance_fields, R> | undefined)>})
}


/** aggregate fields of "template_artifact_parcel" */
export interface template_artifact_parcel_aggregate_fieldsObservableChain{
    avg: (template_artifact_parcel_avg_fieldsObservableChain & {get: <R extends template_artifact_parcel_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_avg_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (template_artifact_parcel_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_artifact_parcel_max_fieldsObservableChain & {get: <R extends template_artifact_parcel_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_max_fields, R> | undefined)>}),
    min: (template_artifact_parcel_min_fieldsObservableChain & {get: <R extends template_artifact_parcel_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_min_fields, R> | undefined)>}),
    stddev: (template_artifact_parcel_stddev_fieldsObservableChain & {get: <R extends template_artifact_parcel_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_stddev_fields, R> | undefined)>}),
    stddev_pop: (template_artifact_parcel_stddev_pop_fieldsObservableChain & {get: <R extends template_artifact_parcel_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (template_artifact_parcel_stddev_samp_fieldsObservableChain & {get: <R extends template_artifact_parcel_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_stddev_samp_fields, R> | undefined)>}),
    sum: (template_artifact_parcel_sum_fieldsObservableChain & {get: <R extends template_artifact_parcel_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_sum_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_sum_fields, R> | undefined)>}),
    var_pop: (template_artifact_parcel_var_pop_fieldsObservableChain & {get: <R extends template_artifact_parcel_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_var_pop_fields, R> | undefined)>}),
    var_samp: (template_artifact_parcel_var_samp_fieldsObservableChain & {get: <R extends template_artifact_parcel_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_var_samp_fields, R> | undefined)>}),
    variance: (template_artifact_parcel_variance_fieldsObservableChain & {get: <R extends template_artifact_parcel_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_artifact_parcel_variance_fields, R> | undefined)) => Observable<(FieldsSelection<template_artifact_parcel_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface template_artifact_parcel_avg_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface template_artifact_parcel_avg_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface template_artifact_parcel_max_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface template_artifact_parcel_max_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface template_artifact_parcel_min_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface template_artifact_parcel_min_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "template_artifact_parcel" */
export interface template_artifact_parcel_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})
}


/** response of any mutation on the table "template_artifact_parcel" */
export interface template_artifact_parcel_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})
}


/** aggregate stddev on columns */
export interface template_artifact_parcel_stddev_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface template_artifact_parcel_stddev_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface template_artifact_parcel_stddev_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface template_artifact_parcel_stddev_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface template_artifact_parcel_stddev_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface template_artifact_parcel_stddev_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface template_artifact_parcel_sum_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface template_artifact_parcel_sum_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface template_artifact_parcel_var_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface template_artifact_parcel_var_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface template_artifact_parcel_var_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface template_artifact_parcel_var_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface template_artifact_parcel_variance_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface template_artifact_parcel_variance_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "template_cache" */
export interface template_cachePromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    data: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    
/** An array relationship */
template_cache_accesses: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>}),
    
/** An aggregate relationship */
template_cache_accesses_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregatePromiseChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Promise<FieldsSelection<template_cache_access_aggregate, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>})
}


/** columns and relationships of "template_cache" */
export interface template_cacheObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    data: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    
/** An array relationship */
template_cache_accesses: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => {get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>})&({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>}),
    
/** An aggregate relationship */
template_cache_accesses_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_cache_access_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_cache_access_order_by[] | null),
/** filter the rows returned */
where?: (template_cache_access_bool_exp | null)}) => template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>})&(template_cache_access_aggregateObservableChain & {get: <R extends template_cache_access_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access_aggregate, R>) => Observable<FieldsSelection<template_cache_access_aggregate, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>})
}


/** columns and relationships of "template_cache_access" */
export interface template_cache_accessPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
template_cache: (template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>) => Promise<FieldsSelection<template_cache, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "template_cache_access" */
export interface template_cache_accessObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
template_cache: (template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>) => Observable<FieldsSelection<template_cache, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "template_cache_access" */
export interface template_cache_access_aggregatePromiseChain{
    aggregate: (template_cache_access_aggregate_fieldsPromiseChain & {get: <R extends template_cache_access_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>})
}


/** aggregated selection of "template_cache_access" */
export interface template_cache_access_aggregateObservableChain{
    aggregate: (template_cache_access_aggregate_fieldsObservableChain & {get: <R extends template_cache_access_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>})
}


/** aggregate fields of "template_cache_access" */
export interface template_cache_access_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (template_cache_access_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_cache_access_max_fieldsPromiseChain & {get: <R extends template_cache_access_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_max_fields, R> | undefined)>}),
    min: (template_cache_access_min_fieldsPromiseChain & {get: <R extends template_cache_access_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_access_min_fields, R> | undefined)>})
}


/** aggregate fields of "template_cache_access" */
export interface template_cache_access_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (template_cache_access_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_cache_access_max_fieldsObservableChain & {get: <R extends template_cache_access_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_max_fields, R> | undefined)>}),
    min: (template_cache_access_min_fieldsObservableChain & {get: <R extends template_cache_access_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_access_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_access_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface template_cache_access_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface template_cache_access_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_cache_access_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_cache_access_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "template_cache_access" */
export interface template_cache_access_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Promise<FieldsSelection<template_cache_access, R>[]>})
}


/** response of any mutation on the table "template_cache_access" */
export interface template_cache_access_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_cache_accessRequest>(request: R, defaultValue?: FieldsSelection<template_cache_access, R>[]) => Observable<FieldsSelection<template_cache_access, R>[]>})
}


/** aggregated selection of "template_cache" */
export interface template_cache_aggregatePromiseChain{
    aggregate: (template_cache_aggregate_fieldsPromiseChain & {get: <R extends template_cache_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>})
}


/** aggregated selection of "template_cache" */
export interface template_cache_aggregateObservableChain{
    aggregate: (template_cache_aggregate_fieldsObservableChain & {get: <R extends template_cache_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>})
}


/** aggregate fields of "template_cache" */
export interface template_cache_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (template_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_cache_max_fieldsPromiseChain & {get: <R extends template_cache_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_max_fields, R> | undefined)>}),
    min: (template_cache_min_fieldsPromiseChain & {get: <R extends template_cache_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_cache_min_fields, R> | undefined)>})
}


/** aggregate fields of "template_cache" */
export interface template_cache_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (template_cache_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_cache_max_fieldsObservableChain & {get: <R extends template_cache_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_max_fields, R> | undefined)>}),
    min: (template_cache_min_fieldsObservableChain & {get: <R extends template_cache_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_cache_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_cache_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface template_cache_max_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate max on columns */
export interface template_cache_max_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface template_cache_min_fieldsPromiseChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>})
}


/** aggregate min on columns */
export interface template_cache_min_fieldsObservableChain{
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>})
}


/** response of any mutation on the table "template_cache" */
export interface template_cache_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Promise<FieldsSelection<template_cache, R>[]>})
}


/** response of any mutation on the table "template_cache" */
export interface template_cache_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_cacheRequest>(request: R, defaultValue?: FieldsSelection<template_cache, R>[]) => Observable<FieldsSelection<template_cache, R>[]>})
}


/** columns and relationships of "template_flags" */
export interface template_flagsPromiseChain{
    ask_for_phone_nr: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    collapse_all: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    continuous: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    generate_on_start: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    genesis: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    import_pdf: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    reg_new_activity: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    rejectable: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    shareable: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    soknadid_required: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
templates: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    user_context_me: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>})
}


/** columns and relationships of "template_flags" */
export interface template_flagsObservableChain{
    ask_for_phone_nr: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    collapse_all: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    continuous: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    generate_on_start: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    genesis: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    import_pdf: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    reg_new_activity: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    rejectable: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    shareable: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    soknadid_required: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** An object relationship */
templates: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    user_context_me: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>})
}


/** aggregated selection of "template_flags" */
export interface template_flags_aggregatePromiseChain{
    aggregate: (template_flags_aggregate_fieldsPromiseChain & {get: <R extends template_flags_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>})
}


/** aggregated selection of "template_flags" */
export interface template_flags_aggregateObservableChain{
    aggregate: (template_flags_aggregate_fieldsObservableChain & {get: <R extends template_flags_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>})
}


/** aggregate fields of "template_flags" */
export interface template_flags_aggregate_fieldsPromiseChain{
    avg: (template_flags_avg_fieldsPromiseChain & {get: <R extends template_flags_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_avg_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (template_flags_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_flags_max_fieldsPromiseChain & {get: <R extends template_flags_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_max_fields, R> | undefined)>}),
    min: (template_flags_min_fieldsPromiseChain & {get: <R extends template_flags_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_min_fields, R> | undefined)>}),
    stddev: (template_flags_stddev_fieldsPromiseChain & {get: <R extends template_flags_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_stddev_fields, R> | undefined)>}),
    stddev_pop: (template_flags_stddev_pop_fieldsPromiseChain & {get: <R extends template_flags_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (template_flags_stddev_samp_fieldsPromiseChain & {get: <R extends template_flags_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_stddev_samp_fields, R> | undefined)>}),
    sum: (template_flags_sum_fieldsPromiseChain & {get: <R extends template_flags_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_sum_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_sum_fields, R> | undefined)>}),
    var_pop: (template_flags_var_pop_fieldsPromiseChain & {get: <R extends template_flags_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_var_pop_fields, R> | undefined)>}),
    var_samp: (template_flags_var_samp_fieldsPromiseChain & {get: <R extends template_flags_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_var_samp_fields, R> | undefined)>}),
    variance: (template_flags_variance_fieldsPromiseChain & {get: <R extends template_flags_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_variance_fields, R> | undefined)) => Promise<(FieldsSelection<template_flags_variance_fields, R> | undefined)>})
}


/** aggregate fields of "template_flags" */
export interface template_flags_aggregate_fieldsObservableChain{
    avg: (template_flags_avg_fieldsObservableChain & {get: <R extends template_flags_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_avg_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (template_flags_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_flags_max_fieldsObservableChain & {get: <R extends template_flags_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_max_fields, R> | undefined)>}),
    min: (template_flags_min_fieldsObservableChain & {get: <R extends template_flags_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_min_fields, R> | undefined)>}),
    stddev: (template_flags_stddev_fieldsObservableChain & {get: <R extends template_flags_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_stddev_fields, R> | undefined)>}),
    stddev_pop: (template_flags_stddev_pop_fieldsObservableChain & {get: <R extends template_flags_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (template_flags_stddev_samp_fieldsObservableChain & {get: <R extends template_flags_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_stddev_samp_fields, R> | undefined)>}),
    sum: (template_flags_sum_fieldsObservableChain & {get: <R extends template_flags_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_sum_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_sum_fields, R> | undefined)>}),
    var_pop: (template_flags_var_pop_fieldsObservableChain & {get: <R extends template_flags_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_var_pop_fields, R> | undefined)>}),
    var_samp: (template_flags_var_samp_fieldsObservableChain & {get: <R extends template_flags_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_var_samp_fields, R> | undefined)>}),
    variance: (template_flags_variance_fieldsObservableChain & {get: <R extends template_flags_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags_variance_fields, R> | undefined)) => Observable<(FieldsSelection<template_flags_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface template_flags_avg_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface template_flags_avg_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface template_flags_max_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface template_flags_max_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface template_flags_min_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface template_flags_min_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** response of any mutation on the table "template_flags" */
export interface template_flags_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Promise<FieldsSelection<template_flags, R>[]>})
}


/** response of any mutation on the table "template_flags" */
export interface template_flags_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_flagsRequest>(request: R, defaultValue?: FieldsSelection<template_flags, R>[]) => Observable<FieldsSelection<template_flags, R>[]>})
}


/** aggregate stddev on columns */
export interface template_flags_stddev_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface template_flags_stddev_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface template_flags_stddev_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface template_flags_stddev_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface template_flags_stddev_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface template_flags_stddev_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface template_flags_sum_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface template_flags_sum_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface template_flags_var_pop_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface template_flags_var_pop_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface template_flags_var_samp_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface template_flags_var_samp_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface template_flags_variance_fieldsPromiseChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface template_flags_variance_fieldsObservableChain{
    template_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** @deprecated - do not use this table! Was moved to templates.journal_roles! */
export interface template_journal_rolesPromiseChain{
    role: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Promise<(FieldsSelection<templates, R> | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** @deprecated - do not use this table! Was moved to templates.journal_roles! */
export interface template_journal_rolesObservableChain{
    role: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: (FieldsSelection<templates, R> | undefined)) => Observable<(FieldsSelection<templates, R> | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "template_journal_roles" */
export interface template_journal_roles_aggregatePromiseChain{
    aggregate: (template_journal_roles_aggregate_fieldsPromiseChain & {get: <R extends template_journal_roles_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>})
}


/** aggregated selection of "template_journal_roles" */
export interface template_journal_roles_aggregateObservableChain{
    aggregate: (template_journal_roles_aggregate_fieldsObservableChain & {get: <R extends template_journal_roles_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>})
}


/** aggregate fields of "template_journal_roles" */
export interface template_journal_roles_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (template_journal_roles_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_journal_roles_max_fieldsPromiseChain & {get: <R extends template_journal_roles_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_max_fields, R> | undefined)>}),
    min: (template_journal_roles_min_fieldsPromiseChain & {get: <R extends template_journal_roles_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_journal_roles_min_fields, R> | undefined)>})
}


/** aggregate fields of "template_journal_roles" */
export interface template_journal_roles_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (template_journal_roles_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_journal_roles_max_fieldsObservableChain & {get: <R extends template_journal_roles_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_max_fields, R> | undefined)>}),
    min: (template_journal_roles_min_fieldsObservableChain & {get: <R extends template_journal_roles_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_journal_roles_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_journal_roles_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface template_journal_roles_max_fieldsPromiseChain{
    role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface template_journal_roles_max_fieldsObservableChain{
    role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_journal_roles_min_fieldsPromiseChain{
    role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_journal_roles_min_fieldsObservableChain{
    role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "template_journal_roles" */
export interface template_journal_roles_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>})
}


/** response of any mutation on the table "template_journal_roles" */
export interface template_journal_roles_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>})
}


/** @deprecated - Do not use this table! Was moved to templates.offer_types'JSONB! */
export interface template_offer_typesPromiseChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** @deprecated - Do not use this table! Was moved to templates.offer_types'JSONB! */
export interface template_offer_typesObservableChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "template_offer_types" */
export interface template_offer_types_aggregatePromiseChain{
    aggregate: (template_offer_types_aggregate_fieldsPromiseChain & {get: <R extends template_offer_types_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>})
}


/** aggregated selection of "template_offer_types" */
export interface template_offer_types_aggregateObservableChain{
    aggregate: (template_offer_types_aggregate_fieldsObservableChain & {get: <R extends template_offer_types_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>})
}


/** aggregate fields of "template_offer_types" */
export interface template_offer_types_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (template_offer_types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_offer_types_max_fieldsPromiseChain & {get: <R extends template_offer_types_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_max_fields, R> | undefined)>}),
    min: (template_offer_types_min_fieldsPromiseChain & {get: <R extends template_offer_types_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_offer_types_min_fields, R> | undefined)>})
}


/** aggregate fields of "template_offer_types" */
export interface template_offer_types_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (template_offer_types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_offer_types_max_fieldsObservableChain & {get: <R extends template_offer_types_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_max_fields, R> | undefined)>}),
    min: (template_offer_types_min_fieldsObservableChain & {get: <R extends template_offer_types_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offer_types_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_offer_types_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface template_offer_types_max_fieldsPromiseChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface template_offer_types_max_fieldsObservableChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_offer_types_min_fieldsPromiseChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_offer_types_min_fieldsObservableChain{
    offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "template_offer_types" */
export interface template_offer_types_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>})
}


/** response of any mutation on the table "template_offer_types" */
export interface template_offer_types_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>})
}


/** @deprecated - do not use this table! was moved into templates.offers'JSONB field */
export interface template_offersPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    
/** An object relationship */
template: (templatesPromiseChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Promise<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** @deprecated - do not use this table! was moved into templates.offers'JSONB field */
export interface template_offersObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    
/** An object relationship */
template: (templatesObservableChain & {get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>) => Observable<FieldsSelection<templates, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "template_offers" */
export interface template_offers_aggregatePromiseChain{
    aggregate: (template_offers_aggregate_fieldsPromiseChain & {get: <R extends template_offers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<template_offers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>})
}


/** aggregated selection of "template_offers" */
export interface template_offers_aggregateObservableChain{
    aggregate: (template_offers_aggregate_fieldsObservableChain & {get: <R extends template_offers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<template_offers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>})
}


/** aggregate fields of "template_offers" */
export interface template_offers_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (template_offers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (template_offers_max_fieldsPromiseChain & {get: <R extends template_offers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_max_fields, R> | undefined)) => Promise<(FieldsSelection<template_offers_max_fields, R> | undefined)>}),
    min: (template_offers_min_fieldsPromiseChain & {get: <R extends template_offers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_min_fields, R> | undefined)) => Promise<(FieldsSelection<template_offers_min_fields, R> | undefined)>})
}


/** aggregate fields of "template_offers" */
export interface template_offers_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (template_offers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (template_offers_max_fieldsObservableChain & {get: <R extends template_offers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_max_fields, R> | undefined)) => Observable<(FieldsSelection<template_offers_max_fields, R> | undefined)>}),
    min: (template_offers_min_fieldsObservableChain & {get: <R extends template_offers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<template_offers_min_fields, R> | undefined)) => Observable<(FieldsSelection<template_offers_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface template_offers_max_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface template_offers_max_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_offers_min_fieldsPromiseChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface template_offers_min_fieldsObservableChain{
    offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "template_offers" */
export interface template_offers_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>})
}


/** response of any mutation on the table "template_offers" */
export interface template_offers_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>})
}


/** columns and relationships of "templates" */
export interface templatesPromiseChain{
    accessible: ({get: (request?: boolean|number, defaultValue?: (accessible_enum | undefined)) => Promise<(accessible_enum | undefined)>}),
    
/** An object relationship */
accessibleByAccessible: (accessiblePromiseChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Promise<(FieldsSelection<accessible, R> | undefined)>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    attributes: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Promise<Scalars['jsonb']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_template_to_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Promise<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An aggregate relationship */
consent_template_to_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregatePromiseChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Promise<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
context_by_name: (contextsPromiseChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Promise<(FieldsSelection<contexts, R> | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Promise<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregatePromiseChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Promise<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** An object relationship */
flags: (template_flagsPromiseChain & {get: <R extends template_flagsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags, R> | undefined)) => Promise<(FieldsSelection<template_flags, R> | undefined)>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Promise<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregatePromiseChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Promise<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Promise<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregatePromiseChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Promise<FieldsSelection<genesis_templates_aggregate, R>>}),
    hide: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Promise<Scalars['bigint']>}),
    journal_roles: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    offer_types: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    offers: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Promise<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregatePromiseChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Promise<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Promise<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>})&(queries_aggregatePromiseChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Promise<FieldsSelection<queries_aggregate, R>>}),
    
/** An array relationship */
question_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Promise<FieldsSelection<question_template, R>[]>}),
    
/** An aggregate relationship */
question_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregatePromiseChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Promise<FieldsSelection<question_template_aggregate, R>>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    settings_ui: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Promise<(Scalars['jsonb'] | undefined)>}),
    
/** An array relationship */
sms_template_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Promise<FieldsSelection<sms_template_template, R>[]>}),
    
/** An aggregate relationship */
sms_template_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregatePromiseChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Promise<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** An array relationship */
template_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Promise<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
template_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregatePromiseChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Promise<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** An object relationship */
template_cache: (template_cachePromiseChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Promise<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Promise<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregatePromiseChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Promise<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Promise<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregatePromiseChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Promise<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Promise<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregatePromiseChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Promise<FieldsSelection<template_offers_aggregate, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Promise<Scalars['timestamptz']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})
}


/** columns and relationships of "templates" */
export interface templatesObservableChain{
    accessible: ({get: (request?: boolean|number, defaultValue?: (accessible_enum | undefined)) => Observable<(accessible_enum | undefined)>}),
    
/** An object relationship */
accessibleByAccessible: (accessibleObservableChain & {get: <R extends accessibleRequest>(request: R, defaultValue?: (FieldsSelection<accessible, R> | undefined)) => Observable<(FieldsSelection<accessible, R> | undefined)>}),
    archived: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    attributes: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>})&({get: (request?: boolean|number, defaultValue?: Scalars['jsonb']) => Observable<Scalars['jsonb']>}),
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_template_to_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => {get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>})&({get: <R extends consent_template_to_templateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template, R>[]) => Observable<FieldsSelection<consent_template_to_template, R>[]>}),
    
/** An aggregate relationship */
consent_template_to_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_template_to_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_template_to_template_order_by[] | null),
/** filter the rows returned */
where?: (consent_template_to_template_bool_exp | null)}) => consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>})&(consent_template_to_template_aggregateObservableChain & {get: <R extends consent_template_to_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_template_to_template_aggregate, R>) => Observable<FieldsSelection<consent_template_to_template_aggregate, R>>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An object relationship */
context_by_name: (contextsObservableChain & {get: <R extends contextsRequest>(request: R, defaultValue?: (FieldsSelection<contexts, R> | undefined)) => Observable<(FieldsSelection<contexts, R> | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directory_customers: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    
/** An array relationship */
favorite_templates_order: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => {get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>})&({get: <R extends favorite_templates_orderRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order, R>[]) => Observable<FieldsSelection<favorite_templates_order, R>[]>}),
    
/** An aggregate relationship */
favorite_templates_order_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (favorite_templates_order_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (favorite_templates_order_order_by[] | null),
/** filter the rows returned */
where?: (favorite_templates_order_bool_exp | null)}) => favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>})&(favorite_templates_order_aggregateObservableChain & {get: <R extends favorite_templates_order_aggregateRequest>(request: R, defaultValue?: FieldsSelection<favorite_templates_order_aggregate, R>) => Observable<FieldsSelection<favorite_templates_order_aggregate, R>>}),
    
/** An object relationship */
flags: (template_flagsObservableChain & {get: <R extends template_flagsRequest>(request: R, defaultValue?: (FieldsSelection<template_flags, R> | undefined)) => Observable<(FieldsSelection<template_flags, R> | undefined)>}),
    
/** An array relationship */
genesis_denied_permissions: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => {get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>})&({get: <R extends genesis_denied_permissionsRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions, R>[]) => Observable<FieldsSelection<genesis_denied_permissions, R>[]>}),
    
/** An aggregate relationship */
genesis_denied_permissions_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_denied_permissions_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_denied_permissions_order_by[] | null),
/** filter the rows returned */
where?: (genesis_denied_permissions_bool_exp | null)}) => genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>})&(genesis_denied_permissions_aggregateObservableChain & {get: <R extends genesis_denied_permissions_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_denied_permissions_aggregate, R>) => Observable<FieldsSelection<genesis_denied_permissions_aggregate, R>>}),
    
/** An array relationship */
genesis_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => {get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>})&({get: <R extends genesis_templatesRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates, R>[]) => Observable<FieldsSelection<genesis_templates, R>[]>}),
    
/** An aggregate relationship */
genesis_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (genesis_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (genesis_templates_order_by[] | null),
/** filter the rows returned */
where?: (genesis_templates_bool_exp | null)}) => genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>})&(genesis_templates_aggregateObservableChain & {get: <R extends genesis_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<genesis_templates_aggregate, R>) => Observable<FieldsSelection<genesis_templates_aggregate, R>>}),
    hide: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['bigint']) => Observable<Scalars['bigint']>}),
    journal_roles: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    offer_types: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    offers: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    
/** An array relationship */
qnr_template_genesis_overrides: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => {get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>})&({get: <R extends qnr_template_genesis_overridesRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides, R>[]) => Observable<FieldsSelection<qnr_template_genesis_overrides, R>[]>}),
    
/** An aggregate relationship */
qnr_template_genesis_overrides_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (qnr_template_genesis_overrides_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (qnr_template_genesis_overrides_order_by[] | null),
/** filter the rows returned */
where?: (qnr_template_genesis_overrides_bool_exp | null)}) => qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>})&(qnr_template_genesis_overrides_aggregateObservableChain & {get: <R extends qnr_template_genesis_overrides_aggregateRequest>(request: R, defaultValue?: FieldsSelection<qnr_template_genesis_overrides_aggregate, R>) => Observable<FieldsSelection<qnr_template_genesis_overrides_aggregate, R>>}),
    
/** An array relationship */
queries: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => {get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>})&({get: <R extends queriesRequest>(request: R, defaultValue?: FieldsSelection<queries, R>[]) => Observable<FieldsSelection<queries, R>[]>}),
    
/** An aggregate relationship */
queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (queries_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (queries_order_by[] | null),
/** filter the rows returned */
where?: (queries_bool_exp | null)}) => queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>})&(queries_aggregateObservableChain & {get: <R extends queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<queries_aggregate, R>) => Observable<FieldsSelection<queries_aggregate, R>>}),
    
/** An array relationship */
question_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => {get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>})&({get: <R extends question_templateRequest>(request: R, defaultValue?: FieldsSelection<question_template, R>[]) => Observable<FieldsSelection<question_template, R>[]>}),
    
/** An aggregate relationship */
question_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (question_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (question_template_order_by[] | null),
/** filter the rows returned */
where?: (question_template_bool_exp | null)}) => question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>})&(question_template_aggregateObservableChain & {get: <R extends question_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<question_template_aggregate, R>) => Observable<FieldsSelection<question_template_aggregate, R>>}),
    region: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    settings_ui: ((args?: {
/** JSON select path */
path?: (Scalars['String'] | null)}) => {get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>})&({get: (request?: boolean|number, defaultValue?: (Scalars['jsonb'] | undefined)) => Observable<(Scalars['jsonb'] | undefined)>}),
    
/** An array relationship */
sms_template_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => {get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>})&({get: <R extends sms_template_templateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template, R>[]) => Observable<FieldsSelection<sms_template_template, R>[]>}),
    
/** An aggregate relationship */
sms_template_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (sms_template_template_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (sms_template_template_order_by[] | null),
/** filter the rows returned */
where?: (sms_template_template_bool_exp | null)}) => sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>})&(sms_template_template_aggregateObservableChain & {get: <R extends sms_template_template_aggregateRequest>(request: R, defaultValue?: FieldsSelection<sms_template_template_aggregate, R>) => Observable<FieldsSelection<sms_template_template_aggregate, R>>}),
    
/** An array relationship */
template_artifact_parcels: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => {get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>})&({get: <R extends template_artifact_parcelRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel, R>[]) => Observable<FieldsSelection<template_artifact_parcel, R>[]>}),
    
/** An aggregate relationship */
template_artifact_parcels_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_artifact_parcel_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_artifact_parcel_order_by[] | null),
/** filter the rows returned */
where?: (template_artifact_parcel_bool_exp | null)}) => template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>})&(template_artifact_parcel_aggregateObservableChain & {get: <R extends template_artifact_parcel_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_artifact_parcel_aggregate, R>) => Observable<FieldsSelection<template_artifact_parcel_aggregate, R>>}),
    
/** An object relationship */
template_cache: (template_cacheObservableChain & {get: <R extends template_cacheRequest>(request: R, defaultValue?: (FieldsSelection<template_cache, R> | undefined)) => Observable<(FieldsSelection<template_cache, R> | undefined)>}),
    
/** An array relationship */
template_journal_roles: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => {get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>})&({get: <R extends template_journal_rolesRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles, R>[]) => Observable<FieldsSelection<template_journal_roles, R>[]>}),
    
/** An aggregate relationship */
template_journal_roles_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_journal_roles_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_journal_roles_order_by[] | null),
/** filter the rows returned */
where?: (template_journal_roles_bool_exp | null)}) => template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>})&(template_journal_roles_aggregateObservableChain & {get: <R extends template_journal_roles_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_journal_roles_aggregate, R>) => Observable<FieldsSelection<template_journal_roles_aggregate, R>>}),
    
/** An array relationship */
template_offer_types: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => {get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>})&({get: <R extends template_offer_typesRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types, R>[]) => Observable<FieldsSelection<template_offer_types, R>[]>}),
    
/** An aggregate relationship */
template_offer_types_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offer_types_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offer_types_order_by[] | null),
/** filter the rows returned */
where?: (template_offer_types_bool_exp | null)}) => template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>})&(template_offer_types_aggregateObservableChain & {get: <R extends template_offer_types_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offer_types_aggregate, R>) => Observable<FieldsSelection<template_offer_types_aggregate, R>>}),
    
/** An array relationship */
template_offers: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => {get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>})&({get: <R extends template_offersRequest>(request: R, defaultValue?: FieldsSelection<template_offers, R>[]) => Observable<FieldsSelection<template_offers, R>[]>}),
    
/** An aggregate relationship */
template_offers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (template_offers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (template_offers_order_by[] | null),
/** filter the rows returned */
where?: (template_offers_bool_exp | null)}) => template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>})&(template_offers_aggregateObservableChain & {get: <R extends template_offers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<template_offers_aggregate, R>) => Observable<FieldsSelection<template_offers_aggregate, R>>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamptz']) => Observable<Scalars['timestamptz']>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})
}


/** aggregated selection of "templates" */
export interface templates_aggregatePromiseChain{
    aggregate: (templates_aggregate_fieldsPromiseChain & {get: <R extends templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})
}


/** aggregated selection of "templates" */
export interface templates_aggregateObservableChain{
    aggregate: (templates_aggregate_fieldsObservableChain & {get: <R extends templates_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<templates_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})
}


/** aggregate fields of "templates" */
export interface templates_aggregate_fieldsPromiseChain{
    avg: (templates_avg_fieldsPromiseChain & {get: <R extends templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_avg_fields, R> | undefined)) => Promise<(FieldsSelection<templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (templates_max_fieldsPromiseChain & {get: <R extends templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_max_fields, R> | undefined)) => Promise<(FieldsSelection<templates_max_fields, R> | undefined)>}),
    min: (templates_min_fieldsPromiseChain & {get: <R extends templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_min_fields, R> | undefined)) => Promise<(FieldsSelection<templates_min_fields, R> | undefined)>}),
    stddev: (templates_stddev_fieldsPromiseChain & {get: <R extends templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (templates_stddev_pop_fieldsPromiseChain & {get: <R extends templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (templates_stddev_samp_fieldsPromiseChain & {get: <R extends templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<templates_stddev_samp_fields, R> | undefined)>}),
    sum: (templates_sum_fieldsPromiseChain & {get: <R extends templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_sum_fields, R> | undefined)) => Promise<(FieldsSelection<templates_sum_fields, R> | undefined)>}),
    var_pop: (templates_var_pop_fieldsPromiseChain & {get: <R extends templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<templates_var_pop_fields, R> | undefined)>}),
    var_samp: (templates_var_samp_fieldsPromiseChain & {get: <R extends templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<templates_var_samp_fields, R> | undefined)>}),
    variance: (templates_variance_fieldsPromiseChain & {get: <R extends templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_variance_fields, R> | undefined)) => Promise<(FieldsSelection<templates_variance_fields, R> | undefined)>})
}


/** aggregate fields of "templates" */
export interface templates_aggregate_fieldsObservableChain{
    avg: (templates_avg_fieldsObservableChain & {get: <R extends templates_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_avg_fields, R> | undefined)) => Observable<(FieldsSelection<templates_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (templates_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (templates_max_fieldsObservableChain & {get: <R extends templates_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_max_fields, R> | undefined)) => Observable<(FieldsSelection<templates_max_fields, R> | undefined)>}),
    min: (templates_min_fieldsObservableChain & {get: <R extends templates_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_min_fields, R> | undefined)) => Observable<(FieldsSelection<templates_min_fields, R> | undefined)>}),
    stddev: (templates_stddev_fieldsObservableChain & {get: <R extends templates_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<templates_stddev_fields, R> | undefined)>}),
    stddev_pop: (templates_stddev_pop_fieldsObservableChain & {get: <R extends templates_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<templates_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (templates_stddev_samp_fieldsObservableChain & {get: <R extends templates_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<templates_stddev_samp_fields, R> | undefined)>}),
    sum: (templates_sum_fieldsObservableChain & {get: <R extends templates_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_sum_fields, R> | undefined)) => Observable<(FieldsSelection<templates_sum_fields, R> | undefined)>}),
    var_pop: (templates_var_pop_fieldsObservableChain & {get: <R extends templates_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<templates_var_pop_fields, R> | undefined)>}),
    var_samp: (templates_var_samp_fieldsObservableChain & {get: <R extends templates_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<templates_var_samp_fields, R> | undefined)>}),
    variance: (templates_variance_fieldsObservableChain & {get: <R extends templates_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<templates_variance_fields, R> | undefined)) => Observable<(FieldsSelection<templates_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface templates_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface templates_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface templates_max_fieldsPromiseChain{
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate max on columns */
export interface templates_max_fieldsObservableChain{
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface templates_min_fieldsPromiseChain{
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate min on columns */
export interface templates_min_fieldsObservableChain{
    changed_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    context: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    region: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    template_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** @deprecated - use `templates.journal_roles`JSONB instead */
therapist_role: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** response of any mutation on the table "templates" */
export interface templates_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Promise<FieldsSelection<templates, R>[]>})
}


/** response of any mutation on the table "templates" */
export interface templates_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends templatesRequest>(request: R, defaultValue?: FieldsSelection<templates, R>[]) => Observable<FieldsSelection<templates, R>[]>})
}


/** aggregate stddev on columns */
export interface templates_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface templates_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface templates_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface templates_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface templates_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface templates_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface templates_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface templates_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface templates_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface templates_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface templates_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface templates_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface templates_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface templates_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offers'JSONB instead!); In occupational rehabilitation (Attforing) Tiltak is employment initiative. In health same meaning has tilbud. Offer is closer to health terminology but means same thing */
offer: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    
/** @deprecated - (use templates.offer_types'JSONB instead!); offer_type is TiltakType in health is TilbudType. In occupational rehabilitation (Attforing) TiltakType is employment initiative. */
offer_type: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    plan_category: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>}),
    valid_days: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "types" */
export interface typesPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Promise<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregatePromiseChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Promise<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Promise<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>})&(consents_aggregatePromiseChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Promise<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "types" */
export interface typesObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
consent_templates: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => {get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>})&({get: <R extends consent_templatesRequest>(request: R, defaultValue?: FieldsSelection<consent_templates, R>[]) => Observable<FieldsSelection<consent_templates, R>[]>}),
    
/** An aggregate relationship */
consent_templates_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consent_templates_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consent_templates_order_by[] | null),
/** filter the rows returned */
where?: (consent_templates_bool_exp | null)}) => consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>})&(consent_templates_aggregateObservableChain & {get: <R extends consent_templates_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consent_templates_aggregate, R>) => Observable<FieldsSelection<consent_templates_aggregate, R>>}),
    
/** An array relationship */
consents: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => {get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>})&({get: <R extends consentsRequest>(request: R, defaultValue?: FieldsSelection<consents, R>[]) => Observable<FieldsSelection<consents, R>[]>}),
    
/** An aggregate relationship */
consents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (consents_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (consents_order_by[] | null),
/** filter the rows returned */
where?: (consents_bool_exp | null)}) => consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>})&(consents_aggregateObservableChain & {get: <R extends consents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<consents_aggregate, R>) => Observable<FieldsSelection<consents_aggregate, R>>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "types" */
export interface types_aggregatePromiseChain{
    aggregate: (types_aggregate_fieldsPromiseChain & {get: <R extends types_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<types_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>})
}


/** aggregated selection of "types" */
export interface types_aggregateObservableChain{
    aggregate: (types_aggregate_fieldsObservableChain & {get: <R extends types_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<types_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>})
}


/** aggregate fields of "types" */
export interface types_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (types_max_fieldsPromiseChain & {get: <R extends types_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_max_fields, R> | undefined)) => Promise<(FieldsSelection<types_max_fields, R> | undefined)>}),
    min: (types_min_fieldsPromiseChain & {get: <R extends types_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_min_fields, R> | undefined)) => Promise<(FieldsSelection<types_min_fields, R> | undefined)>})
}


/** aggregate fields of "types" */
export interface types_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (types_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (types_max_fieldsObservableChain & {get: <R extends types_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_max_fields, R> | undefined)) => Observable<(FieldsSelection<types_max_fields, R> | undefined)>}),
    min: (types_min_fieldsObservableChain & {get: <R extends types_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<types_min_fields, R> | undefined)) => Observable<(FieldsSelection<types_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface types_max_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface types_max_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface types_min_fieldsPromiseChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface types_min_fieldsObservableChain{
    comment: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "types" */
export interface types_mutation_responsePromiseChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Promise<FieldsSelection<types, R>[]>})
}


/** response of any mutation on the table "types" */
export interface types_mutation_responseObservableChain{
    
/** number of rows affected by the mutation */
affected_rows: ({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    
/** data from the rows affected by the mutation */
returning: ({get: <R extends typesRequest>(request: R, defaultValue?: FieldsSelection<types, R>[]) => Observable<FieldsSelection<types, R>[]>})
}


/** columns and relationships of "unseen_documents" */
export interface unseen_documentsPromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "unseen_documents" */
export interface unseen_documentsObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregated selection of "unseen_documents" */
export interface unseen_documents_aggregatePromiseChain{
    aggregate: (unseen_documents_aggregate_fieldsPromiseChain & {get: <R extends unseen_documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Promise<FieldsSelection<unseen_documents, R>[]>})
}


/** aggregated selection of "unseen_documents" */
export interface unseen_documents_aggregateObservableChain{
    aggregate: (unseen_documents_aggregate_fieldsObservableChain & {get: <R extends unseen_documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends unseen_documentsRequest>(request: R, defaultValue?: FieldsSelection<unseen_documents, R>[]) => Observable<FieldsSelection<unseen_documents, R>[]>})
}


/** aggregate fields of "unseen_documents" */
export interface unseen_documents_aggregate_fieldsPromiseChain{
    avg: (unseen_documents_avg_fieldsPromiseChain & {get: <R extends unseen_documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_avg_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (unseen_documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (unseen_documents_max_fieldsPromiseChain & {get: <R extends unseen_documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_max_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_max_fields, R> | undefined)>}),
    min: (unseen_documents_min_fieldsPromiseChain & {get: <R extends unseen_documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_min_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_min_fields, R> | undefined)>}),
    stddev: (unseen_documents_stddev_fieldsPromiseChain & {get: <R extends unseen_documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (unseen_documents_stddev_pop_fieldsPromiseChain & {get: <R extends unseen_documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (unseen_documents_stddev_samp_fieldsPromiseChain & {get: <R extends unseen_documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_stddev_samp_fields, R> | undefined)>}),
    sum: (unseen_documents_sum_fieldsPromiseChain & {get: <R extends unseen_documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_sum_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_sum_fields, R> | undefined)>}),
    var_pop: (unseen_documents_var_pop_fieldsPromiseChain & {get: <R extends unseen_documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_var_pop_fields, R> | undefined)>}),
    var_samp: (unseen_documents_var_samp_fieldsPromiseChain & {get: <R extends unseen_documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_var_samp_fields, R> | undefined)>}),
    variance: (unseen_documents_variance_fieldsPromiseChain & {get: <R extends unseen_documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_variance_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_documents_variance_fields, R> | undefined)>})
}


/** aggregate fields of "unseen_documents" */
export interface unseen_documents_aggregate_fieldsObservableChain{
    avg: (unseen_documents_avg_fieldsObservableChain & {get: <R extends unseen_documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_avg_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (unseen_documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (unseen_documents_max_fieldsObservableChain & {get: <R extends unseen_documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_max_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_max_fields, R> | undefined)>}),
    min: (unseen_documents_min_fieldsObservableChain & {get: <R extends unseen_documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_min_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_min_fields, R> | undefined)>}),
    stddev: (unseen_documents_stddev_fieldsObservableChain & {get: <R extends unseen_documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (unseen_documents_stddev_pop_fieldsObservableChain & {get: <R extends unseen_documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (unseen_documents_stddev_samp_fieldsObservableChain & {get: <R extends unseen_documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_stddev_samp_fields, R> | undefined)>}),
    sum: (unseen_documents_sum_fieldsObservableChain & {get: <R extends unseen_documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_sum_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_sum_fields, R> | undefined)>}),
    var_pop: (unseen_documents_var_pop_fieldsObservableChain & {get: <R extends unseen_documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_var_pop_fields, R> | undefined)>}),
    var_samp: (unseen_documents_var_samp_fieldsObservableChain & {get: <R extends unseen_documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_var_samp_fields, R> | undefined)>}),
    variance: (unseen_documents_variance_fieldsObservableChain & {get: <R extends unseen_documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_documents_variance_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_documents_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface unseen_documents_avg_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface unseen_documents_avg_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface unseen_documents_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface unseen_documents_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface unseen_documents_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface unseen_documents_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev on columns */
export interface unseen_documents_stddev_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface unseen_documents_stddev_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface unseen_documents_stddev_pop_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface unseen_documents_stddev_pop_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface unseen_documents_stddev_samp_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface unseen_documents_stddev_samp_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface unseen_documents_sum_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface unseen_documents_sum_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface unseen_documents_var_pop_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface unseen_documents_var_pop_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface unseen_documents_var_samp_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface unseen_documents_var_samp_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface unseen_documents_variance_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface unseen_documents_variance_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "unseen_queries" */
export interface unseen_queriesPromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** columns and relationships of "unseen_queries" */
export interface unseen_queriesObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregated selection of "unseen_queries" */
export interface unseen_queries_aggregatePromiseChain{
    aggregate: (unseen_queries_aggregate_fieldsPromiseChain & {get: <R extends unseen_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Promise<FieldsSelection<unseen_queries, R>[]>})
}


/** aggregated selection of "unseen_queries" */
export interface unseen_queries_aggregateObservableChain{
    aggregate: (unseen_queries_aggregate_fieldsObservableChain & {get: <R extends unseen_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends unseen_queriesRequest>(request: R, defaultValue?: FieldsSelection<unseen_queries, R>[]) => Observable<FieldsSelection<unseen_queries, R>[]>})
}


/** aggregate fields of "unseen_queries" */
export interface unseen_queries_aggregate_fieldsPromiseChain{
    avg: (unseen_queries_avg_fieldsPromiseChain & {get: <R extends unseen_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_avg_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (unseen_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Promise<Scalars['Int']>}),
    max: (unseen_queries_max_fieldsPromiseChain & {get: <R extends unseen_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_max_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_max_fields, R> | undefined)>}),
    min: (unseen_queries_min_fieldsPromiseChain & {get: <R extends unseen_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_min_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_min_fields, R> | undefined)>}),
    stddev: (unseen_queries_stddev_fieldsPromiseChain & {get: <R extends unseen_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (unseen_queries_stddev_pop_fieldsPromiseChain & {get: <R extends unseen_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (unseen_queries_stddev_samp_fieldsPromiseChain & {get: <R extends unseen_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (unseen_queries_sum_fieldsPromiseChain & {get: <R extends unseen_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_sum_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_sum_fields, R> | undefined)>}),
    var_pop: (unseen_queries_var_pop_fieldsPromiseChain & {get: <R extends unseen_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (unseen_queries_var_samp_fieldsPromiseChain & {get: <R extends unseen_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_var_samp_fields, R> | undefined)>}),
    variance: (unseen_queries_variance_fieldsPromiseChain & {get: <R extends unseen_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_variance_fields, R> | undefined)) => Promise<(FieldsSelection<unseen_queries_variance_fields, R> | undefined)>})
}


/** aggregate fields of "unseen_queries" */
export interface unseen_queries_aggregate_fieldsObservableChain{
    avg: (unseen_queries_avg_fieldsObservableChain & {get: <R extends unseen_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_avg_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (unseen_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}) => {get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>})&({get: (request?: boolean|number, defaultValue?: Scalars['Int']) => Observable<Scalars['Int']>}),
    max: (unseen_queries_max_fieldsObservableChain & {get: <R extends unseen_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_max_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_max_fields, R> | undefined)>}),
    min: (unseen_queries_min_fieldsObservableChain & {get: <R extends unseen_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_min_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_min_fields, R> | undefined)>}),
    stddev: (unseen_queries_stddev_fieldsObservableChain & {get: <R extends unseen_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (unseen_queries_stddev_pop_fieldsObservableChain & {get: <R extends unseen_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (unseen_queries_stddev_samp_fieldsObservableChain & {get: <R extends unseen_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (unseen_queries_sum_fieldsObservableChain & {get: <R extends unseen_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_sum_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_sum_fields, R> | undefined)>}),
    var_pop: (unseen_queries_var_pop_fieldsObservableChain & {get: <R extends unseen_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (unseen_queries_var_samp_fieldsObservableChain & {get: <R extends unseen_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_var_samp_fields, R> | undefined)>}),
    variance: (unseen_queries_variance_fieldsObservableChain & {get: <R extends unseen_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<unseen_queries_variance_fields, R> | undefined)) => Observable<(FieldsSelection<unseen_queries_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface unseen_queries_avg_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface unseen_queries_avg_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface unseen_queries_max_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate max on columns */
export interface unseen_queries_max_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface unseen_queries_min_fieldsPromiseChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate min on columns */
export interface unseen_queries_min_fieldsObservableChain{
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate stddev on columns */
export interface unseen_queries_stddev_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface unseen_queries_stddev_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface unseen_queries_stddev_pop_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface unseen_queries_stddev_pop_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface unseen_queries_stddev_samp_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface unseen_queries_stddev_samp_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface unseen_queries_sum_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface unseen_queries_sum_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface unseen_queries_var_pop_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface unseen_queries_var_pop_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface unseen_queries_var_samp_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface unseen_queries_var_samp_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface unseen_queries_variance_fieldsPromiseChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface unseen_queries_variance_fieldsObservableChain{
    total: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}
